PluginProbe
Search Exclude / 2.6.2
Search Exclude v2.6.2
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 2.6.2, at search-exclude.php

74 lines 2.1 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.2
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: 6.9
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.2' );
27 define( 'QLSE_PLUGIN_FILE', __FILE__ );
28 define( 'QLSE_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR );
29 define( 'QLSE_DOMAIN', 'qlse' );
30 define( 'QLSE_PREFIX', QLSE_DOMAIN );
31 define( 'QLSE_WORDPRESS_URL', 'https://wordpress.org/plugins/search-exclude/' );
32 define( 'QLSE_REVIEW_URL', 'https://wordpress.org/support/plugin/search-exclude/reviews/?filter=5#new-post' );
33 define( 'QLSE_GROUP_URL', 'https://www.facebook.com/groups/quadlayers' );
34 define( 'QLSE_DEVELOPER', false );
35 /**
36 * Load composer autoload
37 */
38 require_once __DIR__ . '/vendor/autoload_packages.php';
39 /**
40 * Load compatibility
41 */
42 require_once __DIR__ . '/compatibility/old.php';
43 /**
44 * Load vendor_packages packages
45 */
46 require_once __DIR__ . '/vendor_packages/wp-i18n-map.php';
47 require_once __DIR__ . '/vendor_packages/wp-dashboard-widget-news.php';
48 require_once __DIR__ . '/vendor_packages/wp-plugin-table-links.php';
49 require_once __DIR__ . '/vendor_packages/wp-plugin-install-tab.php';
50 require_once __DIR__ . '/vendor_packages/wp-notice-plugin-promote.php';
51 require_once __DIR__ . '/vendor_packages/wp-plugin-feedback.php';
52 /**
53 * Load plugin classes
54 */
55 require_once __DIR__ . '/lib/class-plugin.php';
56 /**
57 * On plugin activation
58 */
59 register_activation_hook(
60 __FILE__,
61 function () {
62 do_action( 'qlse_activation' );
63 }
64 );
65 /**
66 * On plugin deactivation
67 */
68 register_deactivation_hook(
69 __FILE__,
70 function () {
71 do_action( 'qlse_deactivation' );
72 }
73 );
74