Yoast\WP\SEO\Bulk_Editor\Application\Updates

Meta_Writer_Interface::write_score │ public │ Yoast 1.0

Writes a per-field score for a post.

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

Хуков нет.

Возвращает

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

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

$Meta_Writer_Interface = new Meta_Writer_Interface();
$Meta_Writer_Interface->write_score( $post_id, $key, $score ): void;
$post_id(int) (обязательный)
The ID of the post.
$key(строка) (обязательный)
The score meta key (without prefix) to write.
$score(int) (обязательный)
The 0-100 score to write.

Код Meta_Writer_Interface::write_score() Yoast 28.7

public function write_score( int $post_id, string $key, int $score ): void;