# adminimize/1.11.3/inc-setup/admin-footer.php

Adminimize, version 1.11.3. 37 lines.

- Page: https://pluginprobe.com/plugins/adminimize/1.11.3/code/inc-setup/admin-footer.php
- Raw: https://pluginprobe.com/plugins/adminimize/1.11.3/raw/inc-setup/admin-footer.php
- Modified: 2017-11-16T15:47:16+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.11.3/code/inc-setup/admin-footer.php#L10-L20`.

```php
<?php
/**
 * @package    Adminimize
 * @subpackage Add Hint in Admin Footer
 * @author     Frank Bültge
 */

if ( ! function_exists( 'add_action' ) ) {
	echo "Hi there!  I'm just a part of plugin, not much I can do when called directly.";
	exit;
}

if ( ! is_admin() ) {
	return;
}

// If is AJAX Call.
if ( defined('DOING_AJAX') && DOING_AJAX ) {
	return;
}

// on init of WordPress
add_action( 'admin_init', '_mw_adminimize_init_admin_footer' );
function _mw_adminimize_init_admin_footer() {

	if ( (int) _mw_adminimize_get_option_value( '_mw_adminimize_advice' ) === 1 ) {
		add_action( 'in_admin_footer', '_mw_adminimize_add_admin_footer' );
	}
}

/**
 * Print hint in wp-footer
 */
function _mw_adminimize_add_admin_footer() {

	echo _mw_adminimize_get_option_value( '_mw_adminimize_advice_txt' ) . '<br />';
}
```
