Yoast\WP\SEO\Bulk_Editor\Application\Updates

Meta_Writer_Interface::write_description │ public │ Yoast 1.0

Writes the description for a post.

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

Хуков нет.

Возвращает

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

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

$Meta_Writer_Interface = new Meta_Writer_Interface();
$Meta_Writer_Interface->write_description( $type, $post_id, $description ): void;
$type(Update_Type) (обязательный)
The appearance the description belongs to.
$post_id(int) (обязательный)
The ID of the post.
$description(строка) (обязательный)
The description to write.

Код Meta_Writer_Interface::write_description() Yoast 28.9

public function write_description( Update_Type $type, int $post_id, string $description ): void;