function ai1ec_clean_up_site()
{
    // Delete event categories taxonomy
    ai1ec_remove_taxonomy('events_categories');
    // Delete event tags taxonomy
    ai1ec_remove_taxonomy('events_tags');
    // Delete custom user roles and capabilities
    ai1ec_remove_custom_user_roles_capabilities();
    // Delete custom user meta
    ai1ec_remove_custom_user_meta();
    ai1ec_uninstall_crons();
    ai1ec_uninstall_options();
    ai1ec_clean_up_tables();
}
Beispiel #2
0
function ai1ec_clean_up_site()
{
    // Delete event categories taxonomy
    ai1ec_remove_taxonomy('events_categories');
    // Delete event tags taxonomy
    ai1ec_remove_taxonomy('events_tags');
    ai1ec_uninstall_crons();
    ai1ec_uninstall_options();
    ai1ec_clean_up_tables();
}