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