wpseo_dynamic_permalinks_enabled хук-фильтр . Yoast 1.0
Filters the value of the dynamic_permalinks option.
Использование
add_filter( 'wpseo_dynamic_permalinks_enabled', 'filter_function_name_1234' ); function filter_function_name_1234( $value ){ // filter... return $value; }
- $value(true/false)
- The value of the dynamic_permalinks option.
Где вызывается хук
wpseo_dynamic_permalinks_enabled
yoast/src/helpers/indexable-helper.php 151
return (bool) \apply_filters( 'wpseo_dynamic_permalinks_enabled', $this->options_helper->get( 'dynamic_permalinks', false ) );