PHP Class VIP_Suspend_Cache_Invalidation, vip-mu-plugins-public

Show file Open project: Automattic/vip-mu-plugins-public

Public Methods

Method Description
__construct ( ) That's what used to work on WPCOM
cron_action ( $tt_id, $taxonomy ) WP Cron even for purging object cache in batches
edit_term_action ( $term_id, $tt_id, $taxonomy ) Restores cache invalidation, after the slow term relationship cache invalidation has been skipped
edited_term_taxonomy_action ( $tt_id, $taxonomy ) Used to suspend cache invalidation, if a term is being edited

Method Details

__construct() public method

That's what used to work on WPCOM
public __construct ( )

cron_action() public method

WP Cron even for purging object cache in batches
public cron_action ( $tt_id, $taxonomy )

edit_term_action() public method

Restores cache invalidation, after the slow term relationship cache invalidation has been skipped
public edit_term_action ( $term_id, $tt_id, $taxonomy )

edited_term_taxonomy_action() public method

Used to suspend cache invalidation, if a term is being edited
public edited_term_taxonomy_action ( $tt_id, $taxonomy )