wp-background-processing.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | use WBCR\Factory_Processing_759; |
| 4 | |
| 5 | /** |
| 6 | * WP-Background Processing |
| 7 | * |
| 8 | * @package WP-Background-Processing |
| 9 | */ |
| 10 | |
| 11 | /* |
| 12 | Plugin Name: WP Background Processing |
| 13 | Plugin URI: https://github.com/A5hleyRich/wp-background-processing |
| 14 | Description: Asynchronous requests and background processing in WordPress. |
| 15 | Version: 1.0 |
| 16 | Text Domain: robin-image-optimizer |
| 17 | GitHub Plugin URI: https://github.com/A5hleyRich/wp-background-processing |
| 18 | GitHub Branch: master |
| 19 | */ |
| 20 | |
| 21 | if ( ! class_exists( 'WP_Async_Request' ) ) { |
| 22 | require_once plugin_dir_path( __FILE__ ) . 'classes/wp-async-request.php'; |
| 23 | } |
| 24 | if ( ! class_exists( 'WP_Background_Process' ) ) { |
| 25 | require_once plugin_dir_path( __FILE__ ) . 'classes/wp-background-process.php'; |
| 26 | } |
| 27 |