Skip to content

Instantly share code, notes, and snippets.

@jbma
Created December 14, 2015 09:33
Show Gist options
  • Save jbma/a62a125f5ace4573dea3 to your computer and use it in GitHub Desktop.
Save jbma/a62a125f5ace4573dea3 to your computer and use it in GitHub Desktop.
<?php
remove_action( 'user_register', 'rocket_clean_domain' );
remove_action( 'profile_update', 'rocket_clean_domain' );
remove_action( 'deleted_user', 'rocket_clean_domain' );
remove_action( 'wp_update_nav_menu', 'rocket_clean_domain' );
remove_action( 'update_option_theme_mods_' . get_option( 'stylesheet' ), 'rocket_clean_domain' );
remove_action( 'update_option_sidebars_widgets', 'rocket_clean_domain' );
remove_action( 'update_option_category_base', 'rocket_clean_domain' );
remove_action( 'update_option_tag_base' , 'rocket_clean_domain' );
remove_action( 'permalink_structure_changed', 'rocket_clean_domain' );
remove_action( 'create_term', 'rocket_clean_domain' );
remove_action( 'edited_terms', 'rocket_clean_domain' );
remove_action( 'delete_term', 'rocket_clean_domain' );
remove_action( 'add_link', 'rocket_clean_domain' );// When a link is added
remove_action( 'edit_link', 'rocket_clean_domain' );// When a link is updated
remove_action( 'delete_link', 'rocket_clean_domain' );// When a link is deleted
remove_action( 'customize_save', 'rocket_clean_domain' );// When customizer is saved
remove_action( 'avada_clear_dynamic_css_cache', 'rocket_clean_domain' ); // When Avada theme purge its own cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment