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

Filter: Adds the possibility to add extra editor specific replacement variables.

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

add_filter( 'wpseo_editor_specific_replace_vars', 'wp_kama_wpseo_editor_specific_replace_vars_filter' );

/**
 * Function for `wpseo_editor_specific_replace_vars` filter-hook.
 * 
 * @param array $replacement_variables Array of editor specific replace vars.
 *
 * @return array
 */
function wp_kama_wpseo_editor_specific_replace_vars_filter( $replacement_variables ){

	// filter...
	return $replacement_variables;
}
$replacement_variables(массив)
Array of editor specific replace vars.

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

WPSEO_Admin_Editor_Specific_Replace_Vars::get()
wpseo_editor_specific_replace_vars
yoast/admin/class-admin-editor-specific-replace-vars.php 64-67
$replacement_variables = apply_filters(
	'wpseo_editor_specific_replace_vars',
	$this->replacement_variables
);

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

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