action_scheduler_check_pastdue_actions

action_scheduler_check_pastdue_actions

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('action_scheduler_check_pastdue_actions') is found 1 times:

  • /packages/action-scheduler/classes/ActionScheduler_AdminView.php line 123
    	 */
    	public function maybe_check_pastdue_actions() {
    
    		# Filter to prevent checking actions (ex: inappropriate user).
    		if ( ! apply_filters( 'action_scheduler_check_pastdue_actions', current_user_can( 'manage_options' ) ) ) {
    			return;
    		}
    
    		# Get last check transient.
    		$last_check = get_transient( 'action_scheduler_last_pastdue_actions_check' );