Function Reference: geodir_custom_gmaps_admin_css

Summary

This function has not been documented yet.

Source File

geodir_custom_gmaps_admin_css() is located in geodir_custom_google_maps/geodir_custom_gmaps_functions.php [Line: 2]

Source Code

function geodir_custom_gmaps_admin_css(){
	global $pagenow;
	
	if ($pagenow == 'admin.php' && $_REQUEST['page'] == 'geodirectory' && isset($_REQUEST['tab']) && $_REQUEST['tab'] == 'custom_gmaps_manager') {
		// Style
		wp_register_style('geodir-custom-gmaps-plugin-style', plugins_url('',__FILE__).'/css/geodir-custom-gmaps-manager.css');
		wp_enqueue_style('geodir-custom-gmaps-plugin-style');

        //add color picker scripts
        wp_enqueue_style( 'wp-color-picker' );
        wp_enqueue_script( 'wp-color-picker');
	}
}