Adminimize icon
Utilities

Adminimize hooks reference

  • By WP Media
  • v1.11.14
  • Updated

Adminimize 1.11.14 has 6 actions and 7 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Adminimize fires an action
add_action( 'mw_adminimize_minimenu_after_last_tr', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Adminimize is about to use
add_filter( 'adminimize_mu_force_options_per_site', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • adminimize.php line 141
    /**
     * Allow different adminimize options per site on multisite.
     */
    apply_filters( 'adminimize_mu_force_options_per_site', false );
  • adminimize.php line 188
    /**
     * Use this filter to add or remove a role in Adminimize options.
     */
    apply_filters( 'adminimize_user_roles_filter', $user_roles );
  • adminimize.php line 231
    /**
     * Use this filter to add or remove a role-name in Adminimize options.
     */
    apply_filters( 'adminimize_user_roles_names_filter', $user_roles_names );
  • inc-options/minimenu.php line 148
    /**
     * After last row minimenu
     */
    do_action( 'mw_adminimize_minimenu_after_last_tr' );
  • inc-options/minimenu.php line 36
    /**
     * Before first row minimenu
     */
    do_action( 'mw_adminimize_minimenu_before_first_tr' );
  • adminimize.php line 1722
    /**
     * Filter the adminimize options.
     */
    apply_filters( 'mw_adminimize_options_before_update', $adminimizeoptions, $user_roles, $_POST );
  • inc-options/admin_bar_frontend.php line 74
    apply_filters( 'adminimize_admin_bar_frontend_items', _mw_adminimize_get_option_value( 'mw_adminimize_admin_bar_frontend_nodes' ) );
  • inc-options/admin_bar.php line 75
    apply_filters( 'adminimize_admin_bar_items', _mw_adminimize_get_option_value( 'mw_adminimize_admin_bar_nodes' ) );
  • inc-setup/helping_hands.php line 244
    apply_filters( 'adminimize_nopage_access_message', $message );
  • inc-setup/helping_hands.php line 102
    do_action( 'adminimize.log', $description, $data );
  • adminimize_page.php line 223
    do_action( 'mw_adminimize_after_settings_form' );
  • adminimize_page.php line 168
    do_action( 'mw_adminimize_before_settings_form' );
  • adminimize_page.php line 218
    do_action( 'mw_adminimize_settings_form' );

Generated from Adminimize's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: