-
Notifications
You must be signed in to change notification settings - Fork 31
Filter Hooks
adminimize_nopage_access_message
Use this filter hook to change the default message on no access to a page from the back end.
default: string
'Cheatin’ uh? Sorry, you are not allowed to access this site.'
adminimize_admin_bar_frontend_items
Use the hook to enhance the admin bar items in front-end, there was missed in the list.
adminimize_admin_bar_items
Use the hook to enhance the admin bar items in back-end, there was missed in the list.
adminimize_mu_force_options_per_site
Use this filter to force Adminimize options per site on multisite
adminimize_user_roles_filter
Use this filter to add or remove a role in Adminimize options
adminimize_user_roles_names_filter
Use this filter to add or remove a role name in Adminimize options
-
apply_filters( 'mw_adminimize_options_before_update', $adminimizeoptions, $user_roles, $_POST )
- since Version 1.11.6
- param array
$adminimizeoptions
the original options. - param array
$user_roles
Array of the user roles. - param array
$_POST
Post data.
Make the options filterable, so we can modify what is saved before it's sent to the database.
-
mw_adminimize_minimenu_before_first_tr
andmw_adminimize_minimenu_after_last_tr
Add the possibility to add element before the first and after the last row of the 'Minimenu' on the settings page.