partial-settings-tab-video.php 774 Bytes
Newer Older
imac's avatar
imac committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<?php
/**
 * @package WPSEO\Admin\Views
 */

if ( ! defined( 'WPSEO_VERSION' ) ) {
	header( 'Status: 403 Forbidden' );
	header( 'HTTP/1.1 403 Forbidden' );
	exit();
}

if ( ! empty( $tab_video_url ) ) :

	$id = uniqid( 'video-tab-' );

	?>
	<div class="wpseo-tab-video-container">
		<button type="button" class="wpseo-tab-video-container__handle" aria-controls="<?php echo $id ?>" aria-expanded="false">
			<span class="dashicons-before dashicons-editor-help"><?php _e( 'Help center', 'wordpress-seo' ) ?></span>
			<span class="dashicons dashicons-arrow-down toggle__arrow"></span>
		</button>
		<div id="<?php echo $id ?>" class="wpseo-tab-video-slideout hidden">
			<?php include dirname( __FILE__ ) . '/partial-help-center-video.php'; ?>
		</div>
	</div>
	<?php

endif;