Lines:
1 to 33 of 33
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\Views\General * * @uses Yoast_Form $yform Form object. */ $title_separator_help = new WPSEO_Admin_Help_Panel( 'search-appearance-title-separator', __( 'Learn more about the title separator setting', 'wordpress-seo' ), __( 'Choose the symbol to use as your title separator. This will display, for instance, between your post title and site name. Symbols are shown in the size they\'ll appear in the search results.', 'wordpress-seo' ), 'has-wrapper' ); ?> <div class="tab-block"> <h2 class="help-button-inline"> <?php // phpcs:ignore WordPress.Security.EscapeOutput -- get_button_html() output is properly escaped. echo esc_html__( 'Title Separator', 'wordpress-seo' ) . $title_separator_help->get_button_html(); ?> </h2> <?php // phpcs:ignore WordPress.Security.EscapeOutput -- get_panel_html() output is properly escaped. echo $title_separator_help->get_panel_html(); $legend = __( 'Title separator symbol', 'wordpress-seo' ); $legend_attr = [ 'class' => 'radiogroup screen-reader-text' ]; $yform->radio( 'separator', WPSEO_Option_Titles::get_instance()->get_separator_options_for_display(), $legend, $legend_attr ); ?> </div>