PluginProbe
Image Optimizer – Compress Images and Convert to WebP or AVIF / 1.7.7
Image Optimizer – Compress Images and Convert to WebP or AVIF v1.7.7
1.7.7 1.7.6 1.7.5 1.7.4 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 All 33 releases
image-optimization / vendor / woocommerce / action-scheduler / classes / actions / ActionScheduler_NullAction.php

ActionScheduler_NullAction.php in Image Optimizer – Compress Images and Convert to WebP or AVIF 1.7.7, at vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_NullAction.php

26 lines 601 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Class ActionScheduler_NullAction
5 */
6 class ActionScheduler_NullAction extends ActionScheduler_Action {
7
8 /**
9 * Construct.
10 *
11 * @param string $hook Action hook.
12 * @param mixed[] $args Action arguments.
13 * @param null|ActionScheduler_Schedule $schedule Action schedule.
14 */
15 public function __construct( $hook = '', array $args = array(), ?ActionScheduler_Schedule $schedule = null ) {
16 $this->set_schedule( new ActionScheduler_NullSchedule() );
17 }
18
19 /**
20 * Execute action.
21 */
22 public function execute() {
23 // don't execute.
24 }
25 }
26