Yoast\WP\SEO\Generated
Cached_Container::getWPSEOReplaceVarsService()
Gets the public 'WPSEO_Replace_Vars' shared service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\WPSEO_Replace_Vars
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getWPSEOReplaceVarsService();
Код Cached_Container::getWPSEOReplaceVarsService() Cached Container::getWPSEOReplaceVarsService Yoast 22.4
protected function getWPSEOReplaceVarsService() { return $this->services['WPSEO_Replace_Vars'] = \Yoast\WP\SEO\WordPress\Wrapper::get_replace_vars(); }