Yoast\WP\SEO\Initializers
Disable_Core_Sitemaps::__construct()
Sitemaps_Enabled_Conditional constructor.
Метод класса: Disable_Core_Sitemaps{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Disable_Core_Sitemaps = new Disable_Core_Sitemaps(); $Disable_Core_Sitemaps->__construct( $options, $redirect );
- $options(Options_Helper) (обязательный)
- The options helper.
- $redirect(Redirect_Helper) (обязательный)
- The redirect helper.
Код Disable_Core_Sitemaps::__construct() Disable Core Sitemaps:: construct Yoast 24.0
public function __construct( Options_Helper $options, Redirect_Helper $redirect ) { $this->options = $options; $this->redirect = $redirect; }