WPSEO_Replace_Vars::get_replacement_variables()
Creates a merged associative array of both the basic and advanced help texts.
Метод класса: WPSEO_Replace_Vars{}
Хуков нет.
Возвращает
Массив
. Array with the replacement variables.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_replacement_variables();
Код WPSEO_Replace_Vars::get_replacement_variables() WPSEO Replace Vars::get replacement variables Yoast 24.9
private function get_replacement_variables() { $help_texts = array_merge( self::$help_texts['basic'], self::$help_texts['advanced'] ); return array_filter( array_keys( $help_texts ), [ $this, 'is_not_prefixed' ] ); }