# adminimize/1.9.1/inc-options/settings_notice.php

Adminimize, version 1.9.1. 39 lines.

- Page: https://pluginprobe.com/plugins/adminimize/1.9.1/code/inc-options/settings_notice.php
- Raw: https://pluginprobe.com/plugins/adminimize/1.9.1/raw/inc-options/settings_notice.php
- Modified: 2016-01-25T14:59:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/adminimize/1.9.1/code/inc-options/settings_notice.php#L10-L20`.

```php
<?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' );

function _mw_adminimize_add_settings_error() {

	$settings_hint_message = '<span style="font-size: 35px; float: left; margin: 10px 3px 0 0;">&#x261D;</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' );
}

```
