Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- */
- function remove_purge_hooks() {
- // WP core action hooks rocket_clean_domain() gets hooked into.
- $clean_domain_hooks = array(
- // // When user changes the theme
- // 'switch_theme',
- // When a user is added
- 'user_register',
- // When a user is updated
- 'profile_update',
- // When a user is deleted
- 'deleted_user',
- // // When a custom menu is updated
- // 'wp_update_nav_menu',
- // // When any theme modifications are updated
- // 'update_option_theme_mods_' . get_option( 'stylesheet' ),
- // // When you change the order of widgets
- // 'update_option_sidebars_widgets',
- // // When category permalink prefix is update
- // 'update_option_category_base',
- // // When tag permalink prefix is update
- // 'update_option_tag_base',
- // // When permalink structure is update
- // 'permalink_structure_changed',
- // // When a term is created
- // 'create_term',
- // // When a term is updated
- // 'edited_terms',
- // // When a term is deleted
- // 'delete_term',
- // // When a link (post type) is added
- // 'add_link',
- // // When a link (post type) is updated
- // 'edit_link',
- // // When a link (post type) is deleted
- // 'delete_link',
- // // When resulty are saved in the Customizer
- // 'customize_save',
- // // When Avada theme purges its own cache
- // 'avada_clear_dynamic_css_cache',
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement