WP_Scripts::do_head_items()publicWP 2.8.0

Processes items and dependencies for the head group.

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

Хуков нет.

Возвращает

Строку[]. Handles of items that have been processed.

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

global $wp_scripts;
$wp_scripts->do_head_items();

Заметки

Список изменений

С версии 2.8.0 Введена.

Код WP_Scripts::do_head_items() WP 6.4.3

public function do_head_items() {
	$this->do_items( false, 0 );
	return $this->done;
}