-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Labels
priority: lowIssues that can waitIssues that can waittype: enhancementImprovements that slightly enhance existing functionality and are fast to implementImprovements that slightly enhance existing functionality and are fast to implement
Milestone
Description
ACF Pro allows us to create an Options page, but when this page is updated the Rocket cache isn't cleared. It can be done with a simple function (my workaround is below) but would be good to see this in the plugin.
add_action('acf/save_post', 'clear_cache_on_options_save');
function clear_cache_on_options_save($post_id) {
if ($post_id == 'options') {
rocket_clean_domain();
}
}
henricakesson and z0mbat
Metadata
Metadata
Assignees
Labels
priority: lowIssues that can waitIssues that can waittype: enhancementImprovements that slightly enhance existing functionality and are fast to implementImprovements that slightly enhance existing functionality and are fast to implement