-
Notifications
You must be signed in to change notification settings - Fork 14
/
rest-api-endpoints.php
34 lines (30 loc) · 1.16 KB
/
rest-api-endpoints.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
<?php
/**
* Plugin Name: REST API ENDPOINTS
* Plugin URI: https://github.com/imranhsayed/rest-api-endpoints
* Description: This plugin provides you different endpoints using WordPress REST API
* Version: 1.0.0
* Author: Imran Sayed
* Author URI: https://codeytek.com
* License: GPL2
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: rest-api-endpoints
* Domain Path: /languages
*
* @package WordPress Contributors
*/
// Define Constants.
define( 'RPE_URI', plugins_url( 'rest-api-endpoints' ) );
define( 'RPE_TEMPLATE_PATH', plugin_dir_path( __FILE__ ) . 'templates/' );
define( 'RPE_PLUGIN_PATH', __FILE__ );
// File Includes
include_once 'inc/custom-functions.php';
include_once 'inc/class-rae-customizer.php';
include_once 'inc/class-rae-register-text-widget.php';
include_once 'apis/class-rae-register-header-footer-api.php';
include_once 'apis/class-rae-register-auth-api.php';
include_once 'apis/class-rae-register-posts-api.php';
include_once 'apis/class-rae-test.php';
include_once 'apis/class-rae-register-get-posts-api.php';
include_once 'apis/class-rae-register-get-post-api.php';
include_once 'apis/class-rae-register-parse-blocks.php';