Yoast\WP\SEO\Bulk_Editor\Domain\Updates
Post_Update::has_focus_keyphrase
Whether this update carries a focus keyphrase. An empty string is a value: it clears the focus keyphrase.
Метод класса: Post_Update{}
Хуков нет.
Возвращает
bool. Whether this update carries a focus keyphrase.
Использование
$Post_Update = new Post_Update(); $Post_Update->has_focus_keyphrase(): bool;
Код Post_Update::has_focus_keyphrase() Post Update::has focus keyphrase Yoast 28.9
public function has_focus_keyphrase(): bool {
return $this->focus_keyphrase !== null;
}