PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
mojo-marketplace-wp-plugin
/
inc
<?php /** * Only run on mojo pages */ if ( ! is_admin() || ! isset( $_GET['page'] ) || false === stripos( filter_input( INPUT_GET, 'page' ), 'mojo-' ) ) { return; } /** * Class EIG_Admin_Page_Notifications_Blocker */ class EIG_Admin_Page_Notifications_Blocker { /** * EIG_Admin_Page_Notifications_Blocker constructor. */ function __construct() { add_action( 'admin_print_styles', array( $this, 'remove_notifications_on_mojo_pages' ) ); } /** * Target notices using highly-specific CSS selectors to avoid collisions. */ function remove_notifications_on_mojo_pages() { if ( ! isset( $_GET['page'] ) || false === stripos( filter_input( INPUT_GET, 'page' ), 'mojo-' ) ) { return; } ?> <style type="text/css" data-bluehost-hide-notifications="1"> #wpbody-content > div.error, #wpbody-content > div.notice, #wpbody-content > .update-nag { display: none !important; } </style> <?php } } new EIG_Admin_Page_Notifications_Blocker();
[-] base.php
[edit]
[-] styles.php
[edit]
[-] track-last-login.php
[edit]
[-] tests.php
[edit]
[-] menu.php
[edit]
[-] branding.php
[edit]
[+]
..
[-] checkout.php
[edit]
[-] updates.php
[edit]
[-] coming-soon.php
[edit]
[-] cli-init.php
[edit]
[-] user-experience-tracking.php
[edit]
[-] jetpack.php
[edit]
[-] notifications.php
[edit]
[-] plugin-search.php
[edit]
[-] themes-widget.php
[edit]
[-] performance.php
[edit]
[-] plugin-php-compat-check.php
[edit]
[-] admin-page-notifications-blocker.php
[edit]
[-] shortcode-generator.php
[edit]
[+]
cli
[-] partners.php
[edit]
[-] staging.php
[edit]
[-] mojo-themes.php
[edit]