WPSEO_Replace_Vars::strip_prefix()
Strip the prefix from a replacement variable name.
Метод класса: WPSEO_Replace_Vars{}
Хуков нет.
Возвращает
Строку
. The replacement variable name without the prefix.
Использование
// private - только в коде основоного (родительского) класса $result = $this->strip_prefix( $replacement_variable );
- $replacement_variable(строка) (обязательный)
- The replacement variable.
Код WPSEO_Replace_Vars::strip_prefix() WPSEO Replace Vars::strip prefix Yoast 24.9
private function strip_prefix( $replacement_variable ) { return substr( $replacement_variable, 3 ); }