AJAX
3 years ago
Date_Range
3 years ago
Interval
3 years ago
Menu_Bar_Stats
3 years ago
Migrations
3 years ago
Models
3 years ago
Queries
3 years ago
Statistics
3 years ago
Tables
3 years ago
Utils
3 years ago
Campaign_Builder.php
3 years ago
Capability_Manager.php
3 years ago
Chart.php
3 years ago
Chart_Geo.php
3 years ago
Chart_SVG.php
3 years ago
Dashboard_Options.php
3 years ago
Dashboard_Widget.php
3 years ago
Email_Reports.php
3 years ago
Filters.php
3 years ago
Geo_Database.php
3 years ago
Geo_Database_Download_Job.php
3 years ago
Health_Check.php
3 years ago
Illuminate_Builder.php
3 years ago
Independent_Analytics.php
3 years ago
Known_Referrers.php
3 years ago
PDF.php
3 years ago
Query.php
3 years ago
Quick_Stats.php
3 years ago
REST_API.php
3 years ago
Real_Time.php
3 years ago
Reset_Database.php
3 years ago
Resource_Identifier.php
3 years ago
Settings.php
3 years ago
Sort_Configuration.php
3 years ago
Track_Resource_Changes.php
3 years ago
View.php
3 years ago
View_Counter.php
3 years ago
WP_Option_Cache_Bust.php
3 years ago
WooCommerce_Order.php
3 years ago
Geo_Database_Download_Job.php
26 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWP_SCOPED\IAWP; |
| 4 | |
| 5 | use IAWP_SCOPED\IAWP\Utils\WP_Async_Request; |
| 6 | class Geo_Database_Download_Job extends WP_Async_Request |
| 7 | { |
| 8 | /** |
| 9 | * @var string |
| 10 | */ |
| 11 | protected $action = 'iawp_geo_database_download_job'; |
| 12 | /** |
| 13 | * Handle |
| 14 | * |
| 15 | * Override this method to perform any actions required |
| 16 | * during the async request. |
| 17 | * |
| 18 | * @return void |
| 19 | */ |
| 20 | protected function handle() : void |
| 21 | { |
| 22 | $geo_database = new Geo_Database(); |
| 23 | $geo_database->download(); |
| 24 | } |
| 25 | } |
| 26 |