WPSEO_Metabox_Section_React::display_content() public Yoast 1.0
Outputs the section content.
{} Это метод класса: WPSEO_Metabox_Section_React{}
Хуков нет.
Возвращает
null
. Null. Ничего.
Использование
$WPSEO_Metabox_Section_React = new WPSEO_Metabox_Section_React(); $WPSEO_Metabox_Section_React->display_content();
Код WPSEO_Metabox_Section_React::display_content() WPSEO Metabox Section React::display content Yoast 16.1.1
public function display_content() {
add_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_forms' ] );
add_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_a11y' ] );
printf(
'<div role="tabpanel" id="wpseo-meta-section-%1$s" aria-labelledby="wpseo-meta-tab-%1$s" tabindex="0" class="wpseo-meta-section">',
esc_attr( $this->name )
);
echo wp_kses_post( $this->content );
echo '<div id="wpseo-metabox-root" class="wpseo-metabox-root"></div>';
echo wp_kses_post( $this->html_after );
echo '</div>';
remove_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_forms' ] );
remove_filter( 'wp_kses_allowed_html', [ 'WPSEO_Utils', 'extend_kses_post_with_a11y' ] );
}