PluginProbe
WPFront Notification Bar / 3.4
WPFront Notification Bar v3.4
trunk 1.0 1.0.1 1.1 1.2 1.2.1 1.3 1.4 1.4.1 1.4.2 1.5.2 1.6 1.7 1.7.1 1.8 1.8.1 1.9.0 1.9.1 1.9.2 2.0.0 2.1.0 2.2.0 2.3.0 3.0.0 3.1.0 All 34 releases
wpfront-notification-bar / wpfront-notification-bar.php

wpfront-notification-bar.php in WPFront Notification Bar 3.4, at wpfront-notification-bar.php

51 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Plugin Name: WPFront Notification Bar
4 * Plugin URI: http://wpfront.com/notification-bar-pro/
5 * Description: Easily lets you create a bar on top or bottom to display a notification.
6 * Version: 3.4
7 * Requires at least: 5.0
8 * Requires PHP: 7.0
9 * Author: Syam Mohan
10 * Author URI: http://wpfront.com
11 * License: GPL v3
12 * Text Domain: wpfront-notification-bar
13 */
14
15 /*
16 WPFront Notification Bar Plugin
17 Copyright (C) 2013, WPFront.com
18 Website: wpfront.com
19 Contact: syam@wpfront.com
20
21 WPFront Notification Bar Plugin is distributed under the GNU General Public License, Version 3,
22 June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
23 St, Fifth Floor, Boston, MA 02110, USA
24
25 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
26 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
27 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
29 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
30 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
31 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
32 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
34 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 */
36
37 if (!defined('ABSPATH')) exit();
38
39 if (class_exists('\WPFront\Notification_Bar\WPFront_Notification_Bar') || class_exists('WPFront_Notification_Bar')) {
40 return;
41 }
42
43 use WPFront\Notification_Bar\WPFront_Notification_Bar;
44
45 require_once("classes/class-wpfront-notification-bar.php");
46
47 if (!function_exists('add_action')) {
48 return;
49 }
50
51 WPFront_Notification_Bar::Instance()->init(plugin_basename(__FILE__));