Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Recipe_Post_Utilities::assets_vendor_select2()


Source Source

File: src/core/automator-post-types/uo-recipe/class-recipe-post-utilities.php

	private function assets_vendor_select2() {
		// Add select2
		wp_enqueue_style(
			'uap-select2',
			Utilities::automator_get_vendor_asset( 'select2/css/select2.min.css' ),
			array(),
			Utilities::automator_get_version()
		);

		wp_enqueue_script(
			'uap-select2',
			Utilities::automator_get_vendor_asset( 'select2/js/select2.min.js' ),
			array(
				'jquery',
			),
			Utilities::automator_get_version(),
			true
		);
	}