wpseo_content_meta_section_content хук-фильтрYoast 1.0

Filter: wpseo_content_meta_section_content Allow filtering the metabox content before outputting.

Использование

add_filter( 'wpseo_content_meta_section_content', 'wp_kama_wpseo_content_meta_section_filter' );

/**
 * Function for `wpseo_content_meta_section_content` filter-hook.
 * 
 * @param string $post_content The metabox content string.
 *
 * @return string
 */
function wp_kama_wpseo_content_meta_section_filter( $post_content ){

	// filter...
	return $post_content;
}
$post_content(строка)
The metabox content string.

Где вызывается хук

WPSEO_Metabox::render_hidden_fields()
wpseo_content_meta_section_content
yoast/admin/metabox/class-metabox.php 382
echo apply_filters( 'wpseo_content_meta_section_content', '' );

Где используется хук в Yoast SEO

yoast/admin/class-primary-term-admin.php 19
add_filter( 'wpseo_content_meta_section_content', [ $this, 'add_input_fields' ] );