Yoast\WP\SEO\Bulk_Editor\Domain\Updates
Post_Score_Update::__construct
The constructor.
Метод класса: Post_Score_Update{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Post_Score_Update = new Post_Score_Update(); $Post_Score_Update->__construct( $post_id, ?int $seo_title_score, ?int $meta_description_score );
- $post_id(int) (обязательный)
- The ID of the post to update.
- ?int $seo_title_score(обязательный)
- .
- ?int $meta_description_score(обязательный)
- .
Код Post_Score_Update::__construct() Post Score Update:: construct Yoast 28.4
public function __construct( int $post_id, ?int $seo_title_score, ?int $meta_description_score ) {
$this->post_id = $post_id;
$this->seo_title_score = $seo_title_score;
$this->meta_description_score = $meta_description_score;
}