wpseo_enable_feature хук-фильтр . Yoast 1.0
Make the array of enabled features filterable, so features can be enabled at will.
Использование
add_filter( 'wpseo_enable_feature', 'filter_function_name_6023' ); function filter_function_name_6023( $enabled_features ){ // filter... return $enabled_features; }
- $enabled_features
- -
Где вызывается хук
wpseo_enable_feature
yoast/inc/class-wpseo-utils.php 1151
$enabled_features = apply_filters( 'wpseo_enable_feature', $enabled_features );