WPSEO_Option_Wpseo::get_verify_features_default_option_filter_hook()
Gets the filter hook name and callback for adjusting the default option value against the network-allowed features.
Метод класса: WPSEO_Option_Wpseo{}
Хуков нет.
Возвращает
Массив
. Array where the first item is the hook name, the second is the hook callback, and the third is the hook priority.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_verify_features_default_option_filter_hook();
Код WPSEO_Option_Wpseo::get_verify_features_default_option_filter_hook() WPSEO Option Wpseo::get verify features default option filter hook Yoast 24.9
protected function get_verify_features_default_option_filter_hook() { return [ "default_option_{$this->option_name}", [ $this, 'verify_features_against_network' ], 11, ]; }