AbandonedCartsJob.php
6 months ago
AbstractBatchedJob.php
6 months ago
AbstractJob.php
3 months ago
ActionScheduler.php
5 months ago
CleanupCartsJob.php
6 months ago
ImportJob.php
5 months ago
JobInterface.php
7 months ago
RecurringJobInterface.php
7 months ago
JobInterface.php
15 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Hostinger\Reach\Jobs; |
| 4 | |
| 5 | defined( 'ABSPATH' ) || exit; |
| 6 | |
| 7 | interface JobInterface { |
| 8 | public function get_name(): string; |
| 9 | public function get_process_item_hook(): string; |
| 10 | public function get_start_hook(): string; |
| 11 | public function can_schedule( array $args = array() ): bool; |
| 12 | public function schedule( array $args = array() ): void; |
| 13 | public function init(): void; |
| 14 | } |
| 15 |