-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed-reader.php
37 lines (31 loc) · 974 Bytes
/
feed-reader.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
<?php
/**
* Plugin Name: Feed Reader
* Description: A dead-simple feed reader.
* Plugin URI: https://jan.boddez.net/wordpress/feed-reader
* Author: Jan Boddez
* Author URI: https://jan.boddez.net/
* License: GNU General Public License v3
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: feed-reader
* Version: 0.3.1
*
* @author Jan Boddez <[email protected]>
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
* @package FeedReader
*/
namespace FeedReader;
// Prevent direct access.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Load dependencies.
if ( ! function_exists( '\\fetch_feeds' ) ) {
require_once ABSPATH . 'wp-includes/class-simplepie.php';
}
if ( ! class_exists( '\\WP_List_Table' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
}
require_once __DIR__ . '/build/vendor/scoper-autoload.php';
$reader = Reader::get_instance();
$reader->register();