| 1 |
<?php |
| 2 |
/** |
| 3 |
* Base class for WP Crontrol managed events (PHP and URL cron events). |
| 4 |
*/ |
| 5 |
|
| 6 |
namespace Crontrol\Event; |
| 7 |
|
| 8 |
/** |
| 9 |
* Abstract base class for WP Crontrol managed events. |
| 10 |
* |
| 11 |
* Provides common logic for PHP and URL cron events. |
| 12 |
*/ |
| 13 |
abstract class CrontrolEvent extends Event { |
| 14 |
#[\Override] |
| 15 |
final public function hook_name_editable(): bool { |
| 16 |
return false; |
| 17 |
} |
| 18 |
|
| 19 |
#[\Override] |
| 20 |
final public function pausable(): bool { |
| 21 |
return false; |
| 22 |
} |
| 23 |
} |
| 24 |
|