WP_Customize_Widgets::print_scripts()publicWP 3.9.0

Calls admin_print_scripts-widgets.php and admin_print_scripts hooks to allow custom scripts from plugins.

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

Возвращает

null. Ничего.

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

$WP_Customize_Widgets = new WP_Customize_Widgets();
$WP_Customize_Widgets->print_scripts();

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

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

Код WP_Customize_Widgets::print_scripts() WP 6.0.2

public function print_scripts() {
	/** This action is documented in wp-admin/admin-header.php */
	do_action( 'admin_print_scripts-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

	/** This action is documented in wp-admin/admin-header.php */
	do_action( 'admin_print_scripts' );
}