/**
 * Registers a plugin function to be run when the plugin is deactivated.
 */
function smart_deactivate()
{
    global $wpdb;
    $index_queries = generate_db_index_queries();
    process_db_indexes($index_queries['remove']);
    $wpdb->query("DROP TABLE {$wpdb->prefix}sm_advanced_search_temp");
}
Beispiel #2
0
/**
 * Registers a plugin function to be run when the plugin is deactivated.
 */
function smart_deactivate()
{
    $index_queries = generate_db_index_queries();
    process_db_indexes($index_queries['remove']);
}