Function Reference: geodir_custom_gmaps_tabs_array

Summary

This function has not been documented yet.

Filters

‘geodir_custom_gmaps_tabs’ [Line: 83]

Source File

geodir_custom_gmaps_tabs_array() is located in geodir_custom_google_maps/geodir_custom_gmaps_functions.php [Line: 67]

Source Code

function geodir_custom_gmaps_tabs_array($tabs) {
	$custom_gmaps_tabs = array();
	$custom_gmaps_tabs['label'] = __('Custom Google Maps', GEODIRCUSTOMGMAPS_TEXTDOMAIN);
	$custom_gmaps_tabs['subtabs'] = array(
										array(
											'subtab' => 'geodir_custom_gmaps_general_options',
											'label' => __( 'General', GEODIRCUSTOMGMAPS_TEXTDOMAIN),
											'form_action' => admin_url('admin-ajax.php?action=geodir_custom_gmaps_manager_ajax')
										),
										array(
											'subtab' => 'geodir_custom_gmaps_manage_styles',
											'label' => __( 'Manage Styles', GEODIRCUSTOMGMAPS_TEXTDOMAIN),
											'form_action' => admin_url('admin-ajax.php?action=geodir_custom_gmaps_manager_ajax')
										)
									);
	// hook for custom map tabs
	$custom_gmaps_tabs = apply_filters('geodir_custom_gmaps_tabs', $custom_gmaps_tabs);
	
	$tabs['custom_gmaps_manager'] = $custom_gmaps_tabs;
	return $tabs;
}