| Server IP : 77.39.210.126 / Your IP : 216.73.216.203 Web Server : Apache System : Linux v00l0v-vmpcnews.sphostserver.com 4.18.0-553.124.4.el8_10.x86_64 #1 SMP Fri May 15 04:14:14 EDT 2026 x86_64 User : artecasarepresti ( 1022) PHP Version : 7.4.33 Disable Function : dl,passthru,proc_open,proc_close,proc_terminate,shell_exec,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/artecasarepresti/www/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 custom errer messages for the error notes.
*/
function _mw_adminimize_add_settings_error() {
$settings_hint_message = '<span style="font-size: 35px; float: left; margin: 10px 3px 0 0;">☝</span>'
. esc_attr__(
'Please note: The Adminimize settings page ignores the Menu Options below and displays the menu with all entries.',
'adminimize'
)
. ' '
. esc_attr__(
'To view your changes to the menu you need to navigate away from the Adminimize settings page.',
'adminimize'
);
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' );
}