Function Reference: geodir_advance_search_filters_uninstall
Summary
This function has not been documented yet.
Source File
geodir_advance_search_filters_uninstall() is located in geodir_advance_search_filters/geodirectory_advance_search_function.php [Line: 733]
Source Code
function geodir_advance_search_filters_uninstall(){ if ( ! isset($_REQUEST['verify-delete-adon']) ) { $plugins = isset( $_REQUEST['checked'] ) ? (array) esc_attr($_REQUEST['checked']) : array(); //$_POST = from the plugin form; $_GET = from the FTP details screen. wp_enqueue_script('jquery'); require_once(ABSPATH . 'wp-admin/admin-header.php'); printf( 'query($wpdb->prepare("DROP TABLE ".GEODIR_ADVANCE_SEARCH_TABLE, array())); $default_options = geodir_autocompleter_options(); if(!empty($default_options)){ foreach($default_options as $value){ if(isset($value['id']) && $value['id'] != '') delete_option($value['id'], ''); } } delete_option('geodir_autocompleter_matches_label', ''); } }%s
' ,__( 'Warning!!' , GEODIRADVANCESEARCH_TEXTDOMAIN) ); printf( '%s
%s
%s %s.' , __('You are about to delete a Geodirectory Adon which has important option and custom data associated to it.' ,GEODIRADVANCESEARCH_TEXTDOMAIN) ,__('Deleting this and activating another version, will be treated as a new installation of plugin, so all the data will be lost.', GEODIRADVANCESEARCH_TEXTDOMAIN), __('If you have any problem in upgrading the plugin please contact Geodirectroy', GEODIRADVANCESEARCH_TEXTDOMAIN) , __('support' ,GEODIRADVANCESEARCH_TEXTDOMAIN) ) ; ?>