-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwp-es-feeder.php
More file actions
executable file
·28 lines (24 loc) · 862 Bytes
/
Copy pathwp-es-feeder.php
File metadata and controls
executable file
·28 lines (24 loc) · 862 Bytes
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
<?php
/**
* @link https://github.com/IIP-Design/wp-elasticsearch-feeder
* @since 1.0.0
* @package wp_es_feeder
* @wordpress-plugin
* Plugin Name: WP Elasticsearch Feeder
* Description: Creates REST api endpoints for each post type and indexes them into Elasticsearch.
* Version: 1.0.0
* Author: Max Orelus
* Author URI: http://github.com/MaxOrelus
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: wp-es-feeder
*/
// abort if not called via Wordpress
if ( !defined( 'WPINC' ) ) {
die;
}
// load elasticsearch REST api/elasticsearch feeder dependencies
require plugin_dir_path( __FILE__ ) . 'includes/class-wp-es-feeder.php';
// run elasticsearch feeder plugin
$feeder = new wp_es_feeder();
$feeder->run();