-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwp-api-articles.php
More file actions
22 lines (20 loc) · 804 Bytes
/
Copy pathwp-api-articles.php
File metadata and controls
22 lines (20 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/*
* Plugin Name: WP API Articles
* Description: Retrieves the latest articles from a specified WordPress API endpoint.
* Version: 2.5
* Plugin URI: https://github.com/stphnwlkr/WP-API-For-VIP
* Requires at least: 6.0
* Requires PHP: 8.0
* Author: Stephen Walker
*/
// Ensure the plugin is only executed within WordPress.
if (!defined('ABSPATH')) {
exit;
}
require plugin_dir_path(__FILE__) . 'shortcodes/api-articles.php';
require plugin_dir_path(__FILE__) . 'shortcodes/api-categories.php';
require plugin_dir_path(__FILE__) . 'shortcodes/api-get-custom-taxonomies.php';
require plugin_dir_path(__FILE__) . 'shortcodes/api-get-custom-terms.php';
require plugin_dir_path(__FILE__) . 'shortcodes/api-get-post-types.php';
require plugin_dir_path(__FILE__) . 'shortcodes/api-get-tags.php';