Function Reference: geodir_custom_gmaps_manager_ajax
Summary
This function has not been documented yet.
Source File
geodir_custom_gmaps_manager_ajax() is located in geodir_custom_google_maps/geodir_custom_gmaps_functions.php [Line: 149]
Source Code
function geodir_custom_gmaps_manager_ajax() { $subtab = geodir_custom_gmaps_current_subtab(); if (isset($_POST['custom_gmaps_update_nonce']) && isset($_POST['gd_map'])) { $msg = geodir_custom_gmaps_update_style(); $msg = urlencode_deep($msg); wp_redirect(admin_url().'admin.php?page=geodirectory&tab=custom_gmaps_manager&subtab=geodir_custom_gmaps_manage_styles&gd_map='.$_POST['gd_map'].'&success_msg='.$msg); exit; } if ($subtab=='geodir_custom_gmaps_general_options') { geodir_update_options(geodir_custom_gmaps_general_options()); $msg = __('Settings saved.', GEODIRCUSTOMGMAPS_TEXTDOMAIN); $msg = urlencode_deep($msg); wp_redirect(admin_url().'admin.php?page=geodirectory&tab=custom_gmaps_manager&subtab=geodir_custom_gmaps_general_options&success_msg='.$msg); exit; } }