ldc-sbv/pole-sbv-content/plugins/wordpress-seo/admin/views/partial-settings-tab-video.php
2017-11-10 11:45:43 +01:00

28 lines
779 B
PHP

<?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 WPSEO_PATH . 'admin/views/partial-help-center-video.php'; ?>
</div>
</div>
<?php
endif;