Yoast\WP\SEO\AI\Content_Planner\User_Interface

Content_Planner_Integration::enqueue_assets │ public │ Yoast 1.0

Localizes the content planner script data.

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

Хуков нет.

Возвращает

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

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

$Content_Planner_Integration = new Content_Planner_Integration();
$Content_Planner_Integration->enqueue_assets();

Код Content_Planner_Integration::enqueue_assets() Yoast 28.9

public function enqueue_assets() {
	$this->asset_manager->localize_script( 'block-editor', 'wpseoContentPlanner', $this->get_script_data() );
}