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