Inventory_Presser_Editor_Sidebar::sidebar_plugin_script_enqueue()

sidebar_plugin_script_enqueue


Description Description

Includes the JavaScript file when editing a vehicle in the dashboard.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-editor-sidebar.php

	function sidebar_plugin_script_enqueue()
	{
		//Are we editing a vehicle?
		global $post;
		if( INVP::POST_TYPE != $post->post_type )
		{
			return;
		}
		wp_enqueue_script( 'invp-plugin-sidebar' );
	}