Yoast\WP\SEO\Generated
Cached_Container::getAioseoCleanupActionService
Gets the public 'Yoast\WP\SEO\Actions\Importing\Aioseo\Aioseo_Cleanup_Action' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Actions\Importing\Aioseo\Aioseo_Cleanup_Action.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getAioseoCleanupActionService();
Код Cached_Container::getAioseoCleanupActionService() Cached Container::getAioseoCleanupActionService Yoast 27.7
protected function getAioseoCleanupActionService()
{
$this->services['Yoast\\WP\\SEO\\Actions\\Importing\\Aioseo\\Aioseo_Cleanup_Action'] = $instance = new \Yoast\WP\SEO\Actions\Importing\Aioseo\Aioseo_Cleanup_Action(($this->services['wpdb'] ?? $this->getWpdbService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())));
$instance->set_aioseo_helper(($this->services['Yoast\\WP\\SEO\\Helpers\\Aioseo_Helper'] ?? $this->getAioseoHelperService()));
return $instance;
}