PluginProbe
WPS Notice Center / trunk
WPS Notice Center vtrunk
trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.8.1 1.2.8.2
wps-notice-center / wps-notice-center.php

wps-notice-center.php in WPS Notice Center trunk, at wps-notice-center.php

38 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: WPS Notice Center
4 Description: WPS Notice Center permet de masquer l'ensemble des notices d'administration et les réunir dans une seul notice à déplier. Profitez pleinement de votre interface WordPress sans pollution visuel.
5 Donate Link: https://www.paypal.me/donateWPServeur
6 Version: 1.2.8.2
7 Author: WPServeur, NicolasKulka, wpformation, benoti
8 Author URI: https://wpserveur.net
9 Domain Path: languages
10 Tested up to: 7.1
11 Requires PHP: 7.0
12 Text Domain: wps-notice-center
13 License: GPLv2 or later
14 License URI: http://www.gnu.org/licenses/gpl-2.0.html
15 */
16
17 // don't load directly
18 if ( ! defined( 'ABSPATH' ) ) {
19 die( '-1' );
20 }
21
22 // Plugin constants
23 define( 'WPS_NOTICE_CENTER_VERSION', '1.2.8.2' );
24 define( 'WPS_NOTICE_CENTER_FOLDER', 'wps-notice-center' );
25 define( 'WPS_NOTICE_CENTER_BASENAME', plugin_basename( __FILE__ ) );
26
27 define( 'WPS_NOTICE_CENTER_URL', plugin_dir_url( __FILE__ ) );
28 define( 'WPS_NOTICE_CENTER_DIR', plugin_dir_path( __FILE__ ) );
29
30 require_once WPS_NOTICE_CENTER_DIR . 'autoload.php';
31
32 add_action( 'plugins_loaded', 'plugins_loaded_wps_notice_center' );
33 function plugins_loaded_wps_notice_center() {
34 \WPS\WPS_Notice_Center\Plugin::get_instance();
35 \WPS\WPS_Notice_Center\Pub::get_instance();
36
37 load_plugin_textdomain( 'wps-notice-center', false, basename( rtrim( dirname( __FILE__ ), '/' ) ) . '/languages' );
38 }