Yoast\WP\SEO\Editors\Domain\Seo
Description::__construct
The constructor.
Метод класса: Description{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Description = new Description(); $Description->__construct( $description_date, $description_template );
- $description_date(строка) (обязательный)
- The description date.
- $description_template(строка) (обязательный)
- The description template.
Код Description::__construct() Description:: construct Yoast 28.9
public function __construct( string $description_date, string $description_template ) {
$this->description_date = $description_date;
$this->description_template = $description_template;
}