| Server IP : 213.186.33.2 / Your IP : 216.73.216.39 Web Server : Apache System : Linux webm005.cluster102.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : symetry ( 21728) PHP Version : 8.2.31 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/symetry/www/ARCHIVES/web/wp-content/plugins/adminimize/inc-options/ |
Upload File : |
<?php
/**
* @package Adminimize
* @subpackage Notice for settings page
* @author Frank Bültge
*/
if ( ! function_exists( 'add_filter' ) ) {
echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
exit;
}
// always visible
add_action( 'load-settings_page_adminimize/adminimize', '_mw_adminimize_add_settings_error' );
//add_action( 'admin_notices', '_mw_adminimize_on_admin_init' );
function _mw_adminimize_add_settings_error() {
$settings_hint_message = '<span style="font-size: 35px; float: left; margin: 10px 3px 0 0;">☝</span>' . __( 'Please note: The Adminimize settings page ignores the Menu Options below and displays the menu with all entries.<br /><span style="font-weight: 300;">To view your changes to the menu you need to navigate away from the Adminimize settings page.</span>', FB_ADMINIMIZE_TEXTDOMAIN );
add_settings_error(
'_mw_settings_hint_message',
'_mw_settings_hint',
$settings_hint_message,
'updated'
);
}
function _mw_adminimize_get_admin_notices() {
settings_errors( '_mw_settings_hint_message' );
}