• Resolved WP Monkey

    (@scdesmond)


    The description for this plugin mentioned that Plugins are an available option to purge on update, but I’m not seeing that listed in the options. Unless that is in reference to Widgets?

    Can you set an automatic cache purge to be triggered when plugins are updated using this plugin?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kevin Pirnie

    (@kevp75)

    I do not state that the plugin can or does that anywhere in it’s description.

    However, I can consider adding it to a future version. If and once it is added, I will update the description to state that it does.

    Thanks.

    Plugin Author Kevin Pirnie

    (@kevp75)

    My apologies. It is stated.

    It is not configurable at this time, it is however, automatically done on the following actions (wordpress hooks): activated_plugin & deactivated_plugin

    This is a list of all hooks that are automatically purged on:

    return array(
                    'menu' => array( 'wp_update_nav_menu', 'wp_delete_nav_menu' ),
                    'post' => array( 'save_post', 'edit_post', 'trashed_post' ),
                    'page' => array( 'save_post', 'edit_post', 'trashed_post' ),
                    'cpt' => array( 'save_post', 'edit_post', 'trashed_post' ),
                    'tax' => array( 'saved_term', 'delete_term' ),
                    'cat' => array( 'saved_category', 'delete_category' ),
                    'widget' => array( 'wp_ajax_save-widget', 'wp_ajax_widgets-order', 'sidebar_admin_setup' ),
                    'customizer' => array( 'customize_save_after' ),
                    'gf' => array( 'gform_after_save_form', 'gform_post_form_trashed' ),
                    'acf' => array( 'acf/update_field_group', 'acf/trash_field_group' ),
                    'settings' => array( 'woocommerce_settings_saved', 'pre_set_transient_settings_errors' ), // no matter what, we'll purge on this
                    'plugin' => array( 'activated_plugin', 'deactivated_plugin' ), // no matter what, we'll purge on this
                    'updates' => array( 'upgrader_process_complete', '_core_updated_successfully' ), // no matter what, we'll purge on this
                );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do you purge on plugin update?’ is closed to new replies.