ACF_Assets::print_scripts()publicACF 5.9.0

Prints scripts in head.

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

Возвращает

null. Ничего.

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

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

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

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

Код ACF_Assets::print_scripts() ACF 6.0.4

public function print_scripts() {
	if ( wp_script_is( 'acf-input' ) ) {

		/**
		 * Fires during "admin_head" when ACF scripts are enqueued.
		 *
		 * @since   5.6.9
		 *
		 * @param   void
		 */
		do_action( 'acf/input/admin_head' );
		do_action( 'acf/input/admin_print_scripts' );
	}

	/**
	 * Fires during "admin_head" when ACF scripts are enqueued.
	 *
	 * @since   5.6.9
	 *
	 * @param   void
	 */
	do_action( 'acf/admin_head' );
	do_action( 'acf/admin_print_scripts' );
}