-
Notifications
You must be signed in to change notification settings - Fork 0
/
solo-search.php
41 lines (35 loc) · 1.39 KB
/
solo-search.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
<?php
/**
* Solo
*
* @package solo
* @author David Artiss
* @license GPL-2.0-or-later
*
* Plugin Name: Solo
* Plugin URI: https://wordpress.org/plugins/solo-search/
* Description: Instantly display a single search result
* Version: 1.1
* Requires at least: 4.6
* Requires PHP: 7.4
* Author: David Artiss
* Author URI: https://artiss.blog
* Text Domain: solo-search
* License: GPL v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License version 2, as published by the Free Software Foundation. You may NOT assume
* that you can use any other version of the GPL.
*
* 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.
*/
// Define global to hold the plugin base file name.
if ( ! defined( 'SOLO_SEARCH_PLUGIN_BASE' ) ) {
define( 'SOLO_SEARCH_PLUGIN_BASE', plugin_basename( __FILE__ ) );
}
// Include the shared functions.
require_once plugin_dir_path( __FILE__ ) . 'inc/shared.php';
require_once plugin_dir_path( __FILE__ ) . 'inc/settings.php';
require_once plugin_dir_path( __FILE__ ) . 'inc/modify-results.php';