-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclass-page-harvester.php
50 lines (36 loc) · 1.86 KB
/
class-page-harvester.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* Plugin Name: Page Harvester
* Plugin URI: https://primedumpster.com
* Description: Fully functional Page Harvester plugin for WordPress. This plugin allows you to create pages automatically based on search query.
* Version: 8.3
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: Asaduzzaman Abir
* Author URI: https://nervythemes.com
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: page-harvester
* Domain Path: /languages
*/
if (! class_exists ('Page_Harvester') ) {
Class Page_Harvester {
public function __construct(){
require_once( plugin_dir_path( __FILE__ ) . 'db.php' );
require_once( plugin_dir_path( __FILE__ ) . 'geo-page.php' );
require_once( plugin_dir_path( __FILE__ ) . 'blog.php' );
require_once( plugin_dir_path( __FILE__ ) . 'shortcodes.php' );
require_once( plugin_dir_path( __FILE__ ) . 'class-seo-widgets.php' );
// Require Assets
require_once( plugin_dir_path( __FILE__ ) . 'includes/assets.php' );
// Require APIs
require_once( plugin_dir_path( __FILE__ ) . 'includes/api/ads.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/api/geo.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/api/common.php' );
// Additional Functions
require_once( plugin_dir_path( __FILE__ ) . 'includes/email.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/export.php' );
}
}
$page_harvester = new Page_Harvester();
}