bd_before_scheduler

bd_before_scheduler

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: bulk-delete.6.11

do_action('bd_before_scheduler') is found 5 times:

  • /include/Core/Base/BaseScheduler.php line 110
    		 * @since 6.0.0
    		 *
    		 * @param string $label Cron Label.
    		 */
    		do_action( 'bd_before_scheduler', $this->module->get_cron_label() );
    
    		$items_deleted = $this->module->delete( $delete_options );
    
    		/**
    		 * Triggered after the scheduler is run.
    		 *
    
  • /include/Core/Metas/Modules/DeleteCommentMetaModule.php line 279

    Warning: Undefined array key 283 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 284 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    	 *
    	 * @param array $delete_options Delete options array.
    	 */
    	public function do_delete_comment_meta( $delete_options ) {
    		do_action( 'bd_before_scheduler', $this->messages['cron_label'] );
    		$count = $this->delete( $delete_options );
    		do_action( 'bd_after_scheduler', $this->messages['cron_label'], $count );
    	}
    }
    
    
    
  • /include/Deprecated/class-bd-scheduler-addon.php line 153
    	 *
    	 * @param array $delete_options
    	 */
    	public function do_delete( $delete_options ) {
    		do_action( 'bd_before_scheduler', $this->addon_name );
    		$count = $this->get_module()->delete( $delete_options );
    		do_action( 'bd_after_scheduler', $this->addon_name, $count );
    	}
    
    	/**
    	 * Get the cron hook.
    
  • /include/addons/base/class-bd-scheduler-addon.php line 152
    	 *
    	 * @param array $delete_options
    	 */
    	public function do_delete( $delete_options ) {
    		do_action( 'bd_before_scheduler', $this->addon_name );
    		$count = $this->get_module()->delete( $delete_options );
    		do_action( 'bd_after_scheduler', $this->addon_name, $count );
    	}
    
    	/**
    	 * Get the cron hook.
    
  • /include/misc/class-bulk-delete-jetpack-contact-form-messages.php line 483

    Warning: Undefined array key 487 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 488 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    	 *
    	 * @param array $delete_options Delete options array
    	 */
    	public static function do_delete_jetpack_messages_cron( $delete_options ) {
    		do_action( 'bd_before_scheduler', self::CRON_NAME );
    		$count = self::delete_jetpack_messages( $delete_options );
    		do_action( 'bd_after_scheduler', self::CRON_NAME, $count );
    	}
    }
    
    
    

See this hook used in plugins: