PluginProbe
Search Exclude / trunk
Search Exclude vtrunk
2.6.6 2.5.0 2.5.1 2.5.2 2.5.3 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.2.0 All 65 releases
search-exclude / search-exclude.php

search-exclude.php in Search Exclude trunk, at search-exclude.php

75 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Plugin Name: Search Exclude
5 * Plugin URI: https://wordpress.org/plugins/search-exclude
6 * Description: Hide any page or post from the WordPress search results by checking off the checkbox.
7 * Version: 2.6.6
8 * Text Domain: search-exclude
9 * Author: QuadLayers
10 * Author URI: https://quadlayers.com
11 * License: GPLv3
12 * Domain Path: /languages
13 * Request at least: 4.7
14 * Tested up to: 7.1
15 * Requires PHP: 5.6
16 */
17
18 if ( ! defined( 'ABSPATH' ) ) {
19 exit;
20 }
21
22 /**
23 * Definition globals variables
24 */
25 define( 'QLSE_PLUGIN_NAME', 'Search Exclude' );
26 define( 'QLSE_PLUGIN_VERSION', '2.6.6' );
27 define( 'QLSE_PLUGIN_FILE', __FILE__ );
28 define( 'QLSE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
29 define( 'QLSE_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR );
30 define( 'QLSE_DOMAIN', 'qlse' );
31 define( 'QLSE_PREFIX', QLSE_DOMAIN );
32 define( 'QLSE_WORDPRESS_URL', 'https://wordpress.org/plugins/search-exclude/' );
33 define( 'QLSE_REVIEW_URL', 'https://wordpress.org/support/plugin/search-exclude/reviews/?filter=5#new-post' );
34 define( 'QLSE_GROUP_URL', 'https://www.facebook.com/groups/quadlayers' );
35 define( 'QLSE_DEVELOPER', false );
36 /**
37 * Load composer autoload
38 */
39 require_once __DIR__ . '/vendor/autoload_packages.php';
40 /**
41 * Load compatibility
42 */
43 require_once __DIR__ . '/compatibility/old.php';
44 /**
45 * Load vendor_packages packages
46 */
47 require_once __DIR__ . '/vendor_packages/wp-i18n-map.php';
48 require_once __DIR__ . '/vendor_packages/wp-dashboard-widget-news.php';
49 require_once __DIR__ . '/vendor_packages/wp-plugin-table-links.php';
50 require_once __DIR__ . '/vendor_packages/wp-plugin-install-tab.php';
51 require_once __DIR__ . '/vendor_packages/wp-notice-plugin-promote.php';
52 require_once __DIR__ . '/vendor_packages/wp-plugin-feedback.php';
53 /**
54 * Load plugin classes
55 */
56 require_once __DIR__ . '/lib/class-plugin.php';
57 /**
58 * On plugin activation
59 */
60 register_activation_hook(
61 __FILE__,
62 function () {
63 do_action( 'qlse_activation' );
64 }
65 );
66 /**
67 * On plugin deactivation
68 */
69 register_deactivation_hook(
70 __FILE__,
71 function () {
72 do_action( 'qlse_deactivation' );
73 }
74 );
75