bp_nouveau_customizer_enqueue_scripts()

Enqueue needed JS for our customizer Settings & Controls


Source Source

File: bp-templates/bp-nouveau/includes/customizer.php

function bp_nouveau_customizer_enqueue_scripts() {
	$min = bp_core_get_minified_asset_suffix();

	wp_enqueue_script(
		'bp-nouveau-customizer',
		trailingslashit( bp_get_theme_compat_url() ) . "js/customizer{$min}.js",
		array( 'jquery', 'jquery-ui-sortable', 'customize-controls', 'iris', 'underscore', 'wp-util' ),
		bp_nouveau()->version,
		true
	);

	/**
	 * Fires after Nouveau enqueues its required javascript.
	 *
	 * @since 3.0.0
	 */
	do_action( 'bp_nouveau_customizer_enqueue_scripts' );
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.