-
Notifications
You must be signed in to change notification settings - Fork 2
/
media-search-enhanced.php
executable file
·46 lines (41 loc) · 1.44 KB
/
media-search-enhanced.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
38
39
40
41
42
43
44
45
46
<?php
/**
* Media Search Enhanced.
*
* Search through all fields in Media Library.
*
* @package Media_Search_Enhanced
* @author 1fixdotio <[email protected]>
* @license GPL-2.0+
* @link https://1fix.io/media-search-enhanced
* @copyright 2014-24 1Fix.io
*
* @wordpress-plugin
* Plugin Name: Media Search Enhanced
* Plugin URI: https://1fix.io/media-search-enhanced
* Description: Search through all fields in Media Library.
* Version: 0.9.0
* Author: 1fixdotio
* Author URI: https://1fix.io
* Text Domain: media-search-enhanced
* License: GPL-2.0+
* License URI: https://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages
* GitHub Plugin URI: https://github.com/1fixdotio/media-search-enhanced
* Requires at least: 3.5
* Tested up to: 6.4.3
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/*----------------------------------------------------------------------------*
* Public-Facing Functionality
*----------------------------------------------------------------------------*/
require_once( plugin_dir_path( __FILE__ ) . 'public/class-media-search-enhanced.php' );
/*
* Register hooks that are fired when the plugin is activated or deactivated.
* When the plugin is deleted, the uninstall.php file is loaded.
*
*/
add_action( 'plugins_loaded', array( 'Media_Search_Enhanced', 'get_instance' ) );