Yoast\WP\SEO\Task_List\Application\Tasks

Set_Search_Appearance_Templates::__construct │ public │ Yoast 1.0

Constructs the task.

Метод класса: Set_Search_Appearance_Templates{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Set_Search_Appearance_Templates = new Set_Search_Appearance_Templates();
$Set_Search_Appearance_Templates->__construct( $options_helper, $route_helper );
$options_helper(Options_Helper) (обязательный)
The options helper.
$route_helper(Route_Helper) (обязательный)
The route helper.

Код Set_Search_Appearance_Templates::__construct() Yoast 28.9

public function __construct(
	Options_Helper $options_helper,
	Route_Helper $route_helper
) {
	$this->options_helper = $options_helper;
	$this->route_helper   = $route_helper;
}