wp_stateless_batch_task_finished

wp_stateless_batch_task_finished

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

do_action('wp_stateless_batch_task_finished') is found 1 times:

  • /lib/classes/batch/class-batch-task-manager.php line 270
     
        parent::complete();
        $this->_delete_state();
    
        do_action('wp_stateless_batch_task_finished', $class, $state);
    
        $site = site_url();
        $subject = sprintf( __('WP-Stateless: Data Optimization Complete', ud_get_stateless_media()->domain) );
        $message = sprintf(
          __("WP-Stateless data has been optimized for %s.\n\nIf you have WP_STATELESS_SYNC_LOG or WP_DEBUG_LOG enabled, review those logs now to review any errors that may have occurred during the synchronization process.", ud_get_stateless_media()->domain), 
          $site
    

See this hook used in plugins: