wpseo_options хук-фильтр . Yoast 1.0
Filter: wpseo_options - Allow developers to change the option name to include.
Использование
add_filter( 'wpseo_options', 'filter_function_name_2493' ); function filter_function_name_2493( $option_names ){ // filter... return $option_names; }
- $option_names(массив)
- The option names to include in get_all and reset().
Где вызывается хук
wpseo_options
yoast/inc/options/class-wpseo-options.php 205
return apply_filters( 'wpseo_options', $option_names );