WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Yoast\WP\SEO\Integrations\Admin

Indexing_Tool_Integration::enqueue_scripts() public Yoast 1.0

Enqueues the required scripts.

{} Это метод класса: Indexing_Tool_Integration{}

Хуки из метода
Возвращает

null.

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

$Indexing_Tool_Integration = new Indexing_Tool_Integration();
$Indexing_Tool_Integration->enqueue_scripts();

Код Indexing_Tool_Integration::enqueue_scripts() Yoast 15.6.2

<?php
public function enqueue_scripts() {
	$this->asset_manager->enqueue_script( 'indexation' );
	$this->asset_manager->enqueue_style( 'admin-css' );
	$this->asset_manager->enqueue_style( 'monorepo' );

	$data = [
		'disabled'  => ! $this->indexable_helper->should_index_indexables(),
		'amount'    => $this->indexing_helper->get_filtered_unindexed_count(),
		'firstTime' => ( $this->indexing_helper->is_initial_indexing() === true ),
		'restApi'   => [
			'root'      => \esc_url_raw( \rest_url() ),
			'endpoints' => $this->get_endpoints(),
			'nonce'     => \wp_create_nonce( 'wp_rest' ),
		],
	];

	/**
	 * Filter: 'wpseo_indexing_data' Filter to adapt the data used in the indexing process.
	 *
	 * @param array $data The indexing data to adapt.
	 */
	$data = \apply_filters( 'wpseo_indexing_data', $data );

	$this->asset_manager->localize_script( 'indexation', 'yoastIndexingData', $data );
}