WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Самая быстрая Тема-конструктор для WordPress
функция не описана

WPSEO_Taxonomy::show_internet_explorer_notice() private Yoast 1.0

Renders the content for the internet explorer metabox.

{} Это метод класса: WPSEO_Taxonomy{}

Хуков нет.




// private - только в коде основоного (родительского) класса
$result = $this->show_internet_explorer_notice();

Код WPSEO_Taxonomy::show_internet_explorer_notice() Yoast 15.1.1

private function show_internet_explorer_notice() {
	$product_title = 'Yoast SEO';
	if ( file_exists( WPSEO_PATH . 'premium/' ) ) {
		$product_title .= ' Premium';

	// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $product_title is hardcoded.
	printf( '<div id="wpseo_meta" class="postbox yoast wpseo-taxonomy-metabox-postbox"><h2><span>%1$s</span></h2>', $product_title );
	echo '<div class="inside">';

	$content = sprintf(
		/* translators: 1: Link start tag to the Firefox website, 2: Link start tag to the Chrome website, 3: Link start tag to the Edge website, 4: Link closing tag. */
		esc_html__( 'The browser you are currently using is unfortunately rather dated. Since we strive to give you the best experience possible, we no longer support this browser. Instead, please use %1$sFirefox%4$s, %2$sChrome%4$s or %3$sMicrosoft Edge%4$s.', 'wordpress-seo' ),
		'<a href="https://www.mozilla.org/firefox/new/">',
		'<a href="https://www.google.com/chrome/">',
		'<a href="https://www.microsoft.com/windows/microsoft-edge">',
	echo new Alert_Presenter( $content );

	echo '</div></div>';