Yoast\WP\SEO\Services\Health_Check
Postname_Permalink_Check::__construct
Constructor.
Метод класса: Postname_Permalink_Check{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Postname_Permalink_Check = new Postname_Permalink_Check(); $Postname_Permalink_Check->__construct( $runner, $reports );
- $runner(Postname_Permalink_Runner) (обязательный)
- The object that implements the actual health check.
- $reports(Postname_Permalink_Reports) (обязательный)
- The object that generates WordPress-friendly results.
Код Postname_Permalink_Check::__construct() Postname Permalink Check:: construct Yoast 26.9
public function __construct( Postname_Permalink_Runner $runner, Postname_Permalink_Reports $reports ) {
$this->runner = $runner;
$this->reports = $reports;
$this->reports->set_test_identifier( $this->get_test_identifier() );
$this->set_runner( $this->runner );
}