| 1 | <?php |
||
| 8 | class WordAds_Cron { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Add the actions the cron tasks will use |
||
| 12 | * |
||
| 13 | * @since 4.5.0 |
||
| 14 | */ |
||
| 15 | function __construct() { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Registered scheduled events on activation |
||
| 21 | * |
||
| 22 | * @since 4.5.0 |
||
| 23 | */ |
||
| 24 | static function activate() { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Clear scheduled hooks on deactivation |
||
| 30 | * |
||
| 31 | * @since 4.5.0 |
||
| 32 | */ |
||
| 33 | static function deactivate() { |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Grab WordAds status from WP.com API |
||
| 39 | * |
||
| 40 | * @since 4.5.0 |
||
| 41 | */ |
||
| 42 | static function update_wordads_status() { |
||
| 45 | } |
||
| 46 | |||
| 49 |