| 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 |
} |