1 | <?php |
||
21 | class Give_Async_Process extends WP_Async_Request { |
||
22 | /** |
||
23 | * Prefix |
||
24 | * |
||
25 | * |
||
26 | * @var string |
||
27 | * @access protected |
||
28 | */ |
||
29 | protected $prefix = 'give'; |
||
30 | |||
31 | /** |
||
32 | * Dispatch updater. |
||
33 | * |
||
34 | * Updater will still run via cron job if this fails for any reason. |
||
35 | */ |
||
36 | public function dispatch() { |
||
40 | |||
41 | /** |
||
42 | * Handle |
||
43 | * |
||
44 | * Override this method to perform any actions required |
||
45 | * during the async request. |
||
46 | */ |
||
47 | protected function handle() { |
||
68 | } |
||
69 |