Yoast\WP\SEO\Presenters
Abstract_Indexable_Presenter::replace_vars()
Replace replacement variables in a string.
Метод класса: Abstract_Indexable_Presenter{}
Хуков нет.
Возвращает
Строку
. The string with replacement variables replaced.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->replace_vars( $replacevar_string );
- $replacevar_string(строка) (обязательный)
- The string with replacement variables.
Код Abstract_Indexable_Presenter::replace_vars() Abstract Indexable Presenter::replace vars Yoast 24.4
protected function replace_vars( $replacevar_string ) { return $this->replace_vars->replace( $replacevar_string, $this->presentation->source ); }