All-in-One Utilities 2.1.1 has 18 actions and 39 filters, read directly from its source code on Nov 19, 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.
// Run your own code when All-in-One Utilities fires an action
add_action( 'aiou_after_update_user_roles', function( $user_id, $roles ) {
// Your code runs here.
}, 10, 2 );
// Change a value All-in-One Utilities is about to use
add_filter( 'aiou_about_products', function( $products ) {
// Change $products here.
return $products;
}, 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
-
/** * Filters the plugins listed on the About screen. */ apply_filters( 'aiou_about_products', $products ); -
/** * Fires after a user's roles have been replaced. */ do_action( 'aiou_after_update_user_roles', $user_id, $user->roles ); -
/** * Fires before a user's roles are replaced. */ do_action( 'aiou_before_update_user_roles', $user_id, $roles ); -
/** * Filters the visitor IP address used by security features. */ apply_filters( 'aiou_client_ip', $ip ); -
/** * Filters the states Free adds for one country. */ apply_filters( 'aiou_country_states_bundled', $list, $cc ); -
/** * Filters which plugin a Dashboard widget belongs to ('free', 'pro', 'woo', * 'tools'), for its tint and badge. */ apply_filters( 'aiou_dashboard_widget_owner', $owner, (string) $id ); -
/** * Fires while the Dashboard screen's own widgets are being registered, so Pro, * the Woo Add-on, the Tools add-on, or any future module can register its own * via `add_meta_box()` -- exactly how a real WordPress dashboard widget is * added (see `wp_add_dashboard_widget()`), just without that function's * dashboard-specific extras (per-widget "Configure" links, etc.) this screen * has no need for. */ do_action( 'aiou_dashboard_widgets_setup', get_current_screen() ); -
/** * Fires after the cleanup list so Pro and the Woo Add-on can add their own * sections (e.g. Pro's database export/import) without a separate submenu * page. */ do_action( 'aiou_database_cleanup_sections' ); -
/** * Filters the post statuses eligible for duplicate matching. */ apply_filters( 'aiou_duplicate_posts_allowed_statuses', $statuses, $post_types ); -
/** * Short-circuits the duplicate count. Return an int to take over entirely * (used by Pro for its non-title comparison methods); return null (the * default) to run Free's own title-match count. */ apply_filters( 'aiou_duplicate_posts_count', null ); -
/** * Filters whether duplicate removal should permanently delete instead of * moving to Trash. */ apply_filters( 'aiou_duplicate_posts_force_delete', false ); -
/** * Short-circuits the duplicate pair list, the counterpart to the * `aiou_duplicate_posts_count` filter above -- see its docblock. */ apply_filters( 'aiou_duplicate_posts_pairs', null, $limit, $offset ); -
/** * Fires after a duplicate post has been removed (trashed or permanently * deleted). */ do_action( 'aiou_duplicate_posts_removed', $dupe_id, $org_id, $permanent, $old_permalink ); -
/** * Fires after the activity log so Pro can add its own sections (e.g. managed * 301 redirects) without a separate submenu page. */ do_action( 'aiou_duplicate_posts_sections' ); -
/** * Short-circuits pair re-validation for a non-title comparison method -- the * counterpart to `aiou_duplicate_posts_pairs` above. */ apply_filters( 'aiou_duplicate_posts_valid_pair', null, $dupe, $org ); -
/** * Filters the roles the current user may assign via the checklist. */ apply_filters( 'aiou_editable_user_roles', $roles ); -
/** * Filters a composed email right before it's handed to wp_mail(). */ apply_filters( 'aiou_email_content', $content, $this, $values, $context ); -
/** * Filters the branded header shown above every managed email's body (empty by * default; Pro's Email Branding fills it). Full-width: supply your own * padding. */ apply_filters( 'aiou_email_header_html', '', $subject ); -
/** * Filters the full HTML of an email built from a managed template. */ apply_filters( 'aiou_email_html', $html, $body, $subject ); -
/** * Fires after the log's "Delete selected" button, inside the selection form * (Pro adds "Retry selected"). */ do_action( 'aiou_email_log_bulk_actions' ); -
/** * Fires after a log row's own actions (Pro adds "Retry"). */ do_action( 'aiou_email_log_row_actions', $row ); -
/** * Filters the variable values for one email. Values a plugin's own email * already supplies should never be overridden -- add new tags only. */ apply_filters( 'aiou_email_placeholders', $values, $this->id(), $context ); -
/** * Filters the variables listed in an email's "Available variables" box. Add * entries as tag => [ 'description' => ..., 'owner' => ... ]; supply the * values themselves through `aiou_email_placeholders`. */ apply_filters( 'aiou_email_variables', $variables, $this ); -
/** * Filters which post types are eligible for the default featured image. */ apply_filters( 'aiou_featured_image_eligible_post_types', $eligible ); -
/** * Filters the fallback attachment id used for a given post. */ apply_filters( 'aiou_featured_image_fallback_id', $image_id, $object_id ); -
/** * Filters the fallback featured image HTML. */ apply_filters( 'aiou_featured_image_html', $html, $post_id, $image_id, $size, $attr ); -
/** * Fires after the Import/Export tab's sections (Pro adds Presets). */ do_action( 'aiou_import_export_cards' ); -
/** * Filters whether the Login Page background stylesheet is added. Pro's design * templates return false and apply the same color and image themselves. */ apply_filters( 'aiou_login_background_css', true ); -
/** * Fires when an address is locked out of logging in. */ do_action( 'aiou_login_lockout', $ip, $entry['user'], $entry['until'], $long ); -
/** * Filters which plugin a module's settings are attributed to. */ apply_filters( 'aiou_module_owner', $owner, $module ); -
/** * Fires after a post has been copied. */ do_action( 'aiou_post_duplicated', $copy_id, $post ); -
/** * Filters how long after install the review notice first appears. */ apply_filters( 'aiou_promo_notice_delay', self::NOTICE_DELAY ); -
/** * Filters the REST route prefixes that stay open to visitors who aren't logged * in while the REST API is restricted. */ apply_filters( 'aiou_public_rest_routes', array( '/wc/store/' ) ); -
/** * Filters the list of modules to boot. */ apply_filters( 'aiou_register_modules', $modules ); -
/** * Filters the wide promotion banners under the Settings and Tools screens' * content card. */ apply_filters( 'aiou_settings_bottom_banners', array(), $page ); -
/** * Filters the list of promotion cards shown in the Settings and Tools screens' * right-hand column. */ apply_filters( 'aiou_settings_promo_cards', array(), $page ); -
/** * Allows custom field types to be rendered. */ apply_filters( 'aiou_settings_render_field', false, $field, $value, $name, $id ); -
/** * Fires for unrecognized field types so extensions can render them. */ do_action( "aiou_settings_render_field_{$field->type}", $field, $value, $name, $id ); -
/** * Filters the dashicon shown in a settings section's title tile. */ apply_filters( 'aiou_settings_section_icon', $icon, $tab_id, $section_id ); -
/** * Filters the dashicon shown beside a settings tab in the Settings screen's * left column. */ apply_filters( 'aiou_settings_tab_icon', $icon, $tab_id ); -
/** * Filters whether All-in-One Utilities shows its review and upgrade prompts: * the admin notice, the sidebar cards and the footer line. */ apply_filters( 'aiou_show_promotions', true ); -
/** * Filters the address System Report support requests are sent to. */ apply_filters( 'aiou_support_email', self::SUPPORT_EMAIL ); -
/** * Fires after an administrator switches back to their own account. */ do_action( 'aiou_switched_back_user', $original->ID, $target_id ); -
/** * Fires after an administrator switches to another user. */ do_action( 'aiou_switched_to_user', $target->ID, $original->ID ); -
/** * Filters the System Report's lines, so Pro, the Woo Add-on, or other modules * can append their own diagnostic sections. */ apply_filters( 'aiou_system_report_lines', $lines ); -
/** * Fires to render one Tools tab's content. */ do_action( "aiou_tools_tab_{$current}" ); -
/** * Filters the Tools screen's tabs. Render a tab's content on the * `aiou_tools_tab_{id}` action. */ apply_filters( 'aiou_tools_tabs', $tabs ); -
/** * Fires on the Tools screen's General tab, for tools that aren't on a tab of * their own (e.g. the Woo Add-on's). */ do_action( 'aiou_tools_widgets' ); -
/** * Filters the full list of roles this module is aware of. */ apply_filters( 'aiou_user_roles', $wp_roles->role_names ); -
/** * Filters whether a username is held for someone else, e.g. by Pro's pending * username change requests. */ apply_filters( 'aiou_username_is_reserved', false, $username, $user ); -
/** * Fires after a username has been changed. */ do_action( 'aiou_username_updated', $user_id, $old_username, $new_username ); -
apply_filters( 'aiou_license_products', array() ); -
apply_filters( 'illegal_user_logins', array() );
Generated from All-in-One Utilities's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: