File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1111add_action ( 'after_rocket_clean_home ' , 'rocket_pl_clean_home ' , 10 , 2 );
1212add_action ( 'after_rocket_clean_file ' , 'rocket_pl_clean_post ' , 2 );
1313add_action ( 'pl_pre_url_button_cache_refresh ' , 'rocket_clean_files ' );
14- add_action ( 'wp_rocket_loaded ' , 'rocket_remove_partial_purge_hooks ' );
14+ add_action ( 'wp_rocket_loaded ' , 'rocket_pl_remove_partial_purge_hooks ' );
1515
1616/**
1717 * We clear the cache only on the post, homepage and listings when creating/updating/deleting posts.
@@ -61,7 +61,7 @@ function rocket_pl_clean_home( $root = false, $lang = false ) {
6161 *
6262 * @return void
6363 */
64- function rocket_remove_partial_purge_hooks () {
64+ function rocket_pl_remove_partial_purge_hooks () {
6565 // WP core action hooks rocket_clean_post() gets hooked into.
6666 $ clean_post_hooks = [
6767 // Disables the refreshing of partial cache when content is edited.
You can’t perform that action at this time.
0 commit comments