-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathmedia-explorer.php
More file actions
33 lines (26 loc) · 1.12 KB
/
media-explorer.php
File metadata and controls
33 lines (26 loc) · 1.12 KB
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
<?php
/*
Plugin Name: Media Explorer
Description: Extends the Media Manager to add support for external media services (currently Twitter, YouTube, and Instagram).
Version: 1.2
Requires at least: 6.4
Requires PHP: 7.4
Author: Code For The People Ltd, Automattic
Text Domain: mexp
Domain Path: /languages/
License: GPL v2 or later
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
defined( 'ABSPATH' ) or die();
foreach ( array( 'plugin', 'mexp', 'service', 'template', 'response' ) as $class )
require_once sprintf( '%s/class.%s.php', dirname( __FILE__ ), $class );
foreach ( glob( dirname( __FILE__ ) . '/services/*/service.php' ) as $service )
include $service;
Media_Explorer::init( __FILE__ );