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