Admin Optimizer 3.2.0 has 89 actions and 137 filters, read directly from its source code on Nov 18, 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 Admin Optimizer fires an action
add_action( 'adminoptim_form_builder_enqueue_settings_scripts', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Admin Optimizer is about to use
add_filter( 'adminoptim_form_builder_before_deliver_submission', function( $value, $form_id, $settings ) {
// Change $value here.
return $value;
}, 10, 3 );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 whether a validated submission may proceed to delivery. Pro hooks * this to atomically reserve a submission-limit slot (avoiding a * check-then-increment race) and returns a WP_Error when the limit was reached * — Free itself always allows delivery. */ apply_filters( 'adminoptim_form_builder_before_deliver_submission', true, $form_id, $settings ); -
/** * Fires at the end of the builder page's asset enqueue. Pro attaches preset * data/assets and inline-appends its JS onto this script handle here. */ do_action( 'adminoptim_form_builder_enqueue_settings_scripts' ); -
/** * Filters the normalized module options. */ apply_filters( 'adminoptim_uam_normalize_options', $normalized, $options ); -
/** * Fires after the core fields of a refresh replacement are written, before * cleanup. Pro attaches here to replace taxonomies/custom fields, delete * comments, and update the GUID — Free has no canonical implementation for * those steps on its own. */ do_action( 'adminoptim_content_refresher_replace', $refresh, $parent_id ); -
/** * Fires before a full cleanup run starts. Pro hooks this to clear any pending * remnant-job state from a previous run, since this run is about to recompute * it from scratch. */ do_action( 'adminoptim_db_cleaner_before_run', $this->options ); -
/** * Fires when the cleanup schedule is being torn down. Pro hooks this to * unschedule its own remnant-job action alongside it. */ do_action( 'adminoptim_db_cleaner_deactivate' ); -
/** * The query engine used for this cleanup run. Pro hooks this to supply its own * engine (deep cleaning, remnant-aware batching) — Free's default engine * below has no knowledge of that extension. */ apply_filters( 'adminoptim_db_cleaner_query_engine', new DB_Queries(), $this->options ); -
/** * Fires after the main cleanup schedule is (re)evaluated. Pro hooks this to * layer its own remnant-job (continuous cleaning) schedule on top, without * Free needing to know that capability exists. */ do_action( 'adminoptim_db_cleaner_schedule', $this->options ); -
/** * Filters form availability (open/closed/blocked). Pro hooks this to enforce * access control (login/role), a scheduled close date, and a submission-count * limit — Free itself always leaves a form open. */ apply_filters( 'adminoptim_form_builder_availability', $availability, $form_id, $settings, $include_limit ); -
/** * Lets an extension (Pro) add its own default settings keys (e.g. Custom CSS's * `custom_css`/`custom_css_enabled`), so a never-saved form and * wp_parse_args() fallbacks both see them without Free needing to know those * keys' names. */ apply_filters( 'adminoptim_form_builder_default_settings', $defaults ); -
/** * Filters the field capability map alongside * adminoptim_form_builder_field_types. */ apply_filters( 'adminoptim_form_builder_field_capabilities', $capabilities ); -
/** * Filters the field types offered by the form builder. Pro hooks this to add * 'rating' (Star Rating) — Free has no such type of its own. */ apply_filters( 'adminoptim_form_builder_field_types', $supported ); -
/** * Filters the attributes added to a form's file input. Pro hooks this to give * the browser the field's upload limits to check as soon as a file is chosen. * Values are escaped on output. */ apply_filters( 'adminoptim_form_builder_file_input_attributes', [], $field ); -
/** * Lets an extension (Pro) append its own CSS to a form's generated output, * after Free's Form Styling CSS and in the same <style> block. Pro is * responsible for respecting its own enabled flag and for any * sanitization/escaping its content needs (see Form Builder Pro's Custom CSS: * raw admin-authored CSS text, hardened against a </style> breakout before * reaching this filter). */ apply_filters( 'adminoptim_form_builder_output_css', '', $settings, $form_id, $is_preview ); -
/** * Filters the requested static overrides before they are matched and * validated. Free passes them through untouched, as literal strings; this is * the seam a later release can use to turn other kinds of values into plain * values. Whatever it returns still goes through the same eligibility, * sanitization and constraint checks below. */ apply_filters( 'adminoptim_form_builder_prepopulation_overrides', $overrides, $fields, absint( $form_id ) ); -
/** * Filters the resolved active-field tree used to skip required-field * validation for conditionally-hidden fields. Free returns $fields * unconditionally; Pro prunes it to fields whose own conditions (and every * ancestor Row's conditions) evaluate to true. */ apply_filters( 'adminoptim_form_builder_resolve_active_fields', $fields, $fields, $raw, $form_id ); -
/** * Lets an extension (Pro) sanitize and persist its own additional per-form * settings keys into the save payload, without Free ever needing to know those * keys' names. Must be a no-op pass-through when the extension providing those * keys is inactive — the array_merge() above already preserves whatever was * last saved for them in that case. */ apply_filters( 'adminoptim_form_builder_sanitize_extra_settings', $settings, $raw_settings, $old_settings, $fields, $form_id ); -
/** * Filters the templates offered in the builder's Templates tab. Pro adds its * complex/AI-adjacent templates here (tier `pro`) only while it's active; a * Free user never receives Pro field data through this filter — see * get_locked_template_teasers() for what Free shows instead when Pro is * inactive. */ apply_filters( 'adminoptim_form_builder_templates', self::get_free_templates() ); -
/** * Filters the final stored value for a successful upload. Pro hooks this to * swap in a Media Library attachment ID when the field's `store_as_attachment` * setting is on — Free itself always returns the raw uploaded-file URL. */ apply_filters( 'adminoptim_form_builder_uploaded_file_result', (string) $result['url'], $file, $field, $result ); -
/** * Filters whether an uploaded file passes validation before it's handed to * wp_handle_upload(). Pro hooks this to enforce the field's * `allowed_file_types`/`max_file_size_mb` settings — Free itself applies no * such limits beyond the flat size ceiling above. */ apply_filters( 'adminoptim_form_builder_validate_upload', true, $file, $field ); -
/** * Fires after a canonical capability activation state changes. */ do_action( 'adminoptim_module_state_changed', $module['id'], $enabled ); -
/** * Filter whether an on-demand toast is enabled on the current screen. */ apply_filters( 'adminoptim_notification_toast_enabled', $default_toast_enabled, $screen, $source ); -
/** * Filters the target character range for AI-generated meta descriptions. */ apply_filters( 'adminoptim_seo_ai_meta_description_range', $defaults, absint( $post_id ) ); -
/** * Fires while the Automation tab's own assets are being enqueued (this method * is invoked correctly for the current screen/tab by Section_Renderer; a * generic admin_enqueue_scripts hook cannot reliably re-derive that same * screen check). Pro uses this to enqueue its interactive accordion script * only when active. */ do_action( 'adminoptim_seo_manager_enqueue_automation_assets' ); -
/** * Fires after the Message field in the dashboard widget. See * `adminoptim_smtp_send_email_fields_after_message`. */ do_action( 'adminoptim_smtp_dashboard_widget_profile_row' ); -
/** * Fires after the Reply-To row, for rows that only apply to additional SMTP * profiles (rendered with `data-editor-for="profile"`). */ do_action( 'adminoptim_smtp_editor_profile_rows', $options ); -
/** * Fires while this module's own settings assets are being enqueued (this * method is invoked correctly for the current screen by Section_Renderer; a * generic admin_enqueue_scripts hook cannot reliably re-derive that same * screen check, since Section-hosted modules register their screen under the * Section's ID, never the module's own ID). Pro uses this to enqueue its SMTP * Profiles editor's CSS/JS. */ do_action( 'adminoptim_smtp_enqueue_assets' ); -
/** * Fires after the last editor row, for rows that only apply to the primary * configuration (render them with `data-editor-for="primary"` and * `editor[...]` field names). */ do_action( 'adminoptim_smtp_primary_settings_rows_after', $options ); -
/** * Fires before the first editor row. */ do_action( 'adminoptim_smtp_primary_settings_rows_before', $options ); -
/** * Filters whether a non-primary SMTP profile ID exists and is enabled. Free * has none; Pro hooks this to check its own saved additional profiles. */ apply_filters( 'adminoptim_smtp_profile_exists', false, $profile_id ); -
/** * Filters the "Last Test" cell text for a profile row. */ apply_filters( 'adminoptim_smtp_profile_last_test', '', 'primary' ); -
/** * Fires after the primary row inside the profiles table body. */ do_action( 'adminoptim_smtp_profiles_table_rows', $options ); -
/** * Fires the Delivery Log tab's real content. */ do_action( 'adminoptim_smtp_render_delivery_log_tab' ); -
/** * Fires the Add SMTP Profile button and profile editor above the profiles * table. */ do_action( 'adminoptim_smtp_render_profiles_tab', $this->options ); -
/** * Fires the Email Routing tab's real content. */ do_action( 'adminoptim_smtp_render_routing_tab', $this->options ); -
/** * Filters the resolved From address for the current send. */ apply_filters( 'adminoptim_smtp_route_mail_from', null, $from, $this->options ); -
/** * Filters the resolved From name for the current send. Mirrors * `adminoptim_smtp_route_mail_from` — see that filter's docs. */ apply_filters( 'adminoptim_smtp_route_mail_from_name', null, $name, $this->options ); -
/** * Filters whether SMTP transport for $phpmailer is already configured for this * send. */ apply_filters( 'adminoptim_smtp_route_phpmailer', false, $phpmailer, $this->options ); -
/** * Filters in sanitized values for the Pro-owned SMTP settings (additional * profiles, routing, advanced rules, delivery fallback) submitted from this * same form. */ apply_filters( 'adminoptim_smtp_sanitize_pro_fields', [], $options, $sanitized_options ); -
/** * Lets Pro save a part of the settings on its own (the Delivery Log tab's * form) without rebuilding the whole option from a partial submission. Return * the complete option array to use it as the saved value, or null to continue * normally. */ apply_filters( 'adminoptim_smtp_sanitize_settings_short_circuit', null, $options ); -
/** * Fires after the Message row. */ do_action( 'adminoptim_smtp_send_email_fields_after_message', $prefill ); -
/** * Fires after this role's capabilities and settings are saved, so Pro can * persist the extra per-role fields (like admin menu visibility) its own * settings UI renders into this same form. The nonce for this submission has * already been verified above. */ do_action( 'adminoptim_uam_after_save_role_caps', $role_key ); -
/** * Filters the roles the current administrator may assign to a user. */ apply_filters( 'adminoptim_uam_assignable_roles', array_intersect_key( $roles, array_flip( self::$default_role_keys ) ), $roles ); -
/** * Filters the notice message lookup table. */ apply_filters( 'adminoptim_uam_notice_messages', $messages ); -
/** * Fires the add-role form into the page content area. */ do_action( 'adminoptim_uam_render_add_role_page', $capabilities, $grouped_caps, $capability_labels ); -
/** * Fires the unused-capabilities list and cleanup form into the page content * area. */ do_action( 'adminoptim_uam_render_unused_capabilities_page', $unused_capabilities ); -
/** * Filters the roles listed on the Roles & Capabilities screen. */ apply_filters( 'adminoptim_uam_roles_list', $roles, $wp_roles ); -
/** * Filters the AI assistants listed in AI Access step 3. */ apply_filters( 'adminoptimizer_ai_access_clients', $clients ); -
/** * Filters the sample prompts on the AI Access tab. Modules and Pro add prompts * for their own abilities here. */ apply_filters( 'adminoptimizer_ai_access_prompts', $builtin ); -
/** * Lets the companion Migration Tool plugin (or anything else) report real * per-source completion instead of the ao_migration_log approximation below, * should the companion's log shape ever change. */ apply_filters( 'adminoptimizer_quick_start_migration_done', null, $detected ); -
/** * Enabled modules submit native definitions to the shared registry. */ do_action( 'adminoptimizer_register_abilities', $this->abilities_registry ); -
/** * Filters the cache engine used to rebuild Custom Code's frontend output. */ apply_filters( 'ao_cc_cache_engine', $cache ); -
/** * Lets Pro render its own built-in shortcode reference panel instead of Free's * default. */ do_action( 'ao_cc_render_builtin_shortcodes_panel' ); -
/** * Fires the Display Settings metabox's real controls (minify checkbox, * user-condition radios, role/user pickers). */ do_action( 'ao_cc_render_display_settings', $post ); -
/** * Fires the Load Priority section's real radios. */ do_action( 'ao_cc_render_load_priority', $post ); -
/** * Fires the Custom Post Types targeting section's real checkboxes. */ do_action( 'ao_cc_render_post_types_fields', $post ); -
/** * Fires the Shortcode type's real fields (tag input, output mode, editor * swap). Free has no notion of shortcode-typed snippets at all; this exists * solely for Pro to hook — see the locked upsell teaser below for what * renders when Pro is inactive. */ do_action( 'ao_cc_render_shortcode_fields', $post ); -
/** * Fires the Specific Posts targeting section's real fields. */ do_action( 'ao_cc_render_specific_posts_fields', $post ); -
/** * Fires the Custom Taxonomy Archives targeting section's real checkboxes. */ do_action( 'ao_cc_render_tax_slugs_fields', $post ); -
/** * Fires after Free's own meta is saved so Pro can persist its own post meta * (load priority, post types, taxonomies, specific posts, minify, user * condition/roles/exclusions, shortcode tag/output mode). */ do_action( 'ao_cc_save_pro_fields', $post_id, $type ); -
/** * Fires after a snippet's save is fully complete — every field, Free's and * Pro's, is already persisted and the frontend cache is already rebuilt by the * time this runs. Read-only observer point: listeners must not use it to * mutate the snippet, only to react to a completed save. */ do_action( 'ao_cc_snippet_saved', $post_id, $type, ! $update, get_current_user_id() ); -
/** * Filters the page-caching plugins that trigger the cache-exclusion note. */ apply_filters( 'ao_login_url_cache_plugins', $plugins ); -
/** * Filters the "too common" login slugs (warned on save, allowed once * acknowledged). */ apply_filters( 'ao_login_url_common_slugs', self::get_lists()['common'] ); -
/** * Filters the plugins checked for login-flow compatibility. */ apply_filters( 'ao_login_url_compat_plugins', $plugins ); -
/** * Filters whether a request is exempt from the hidden wp-login.php and * wp-admin handling. */ apply_filters( 'ao_login_url_exempt_requests', $exempt, $path, $method, $action ); -
/** * Filters the whole words that make a login slug easy to guess (warned on * save). */ apply_filters( 'ao_login_url_giveaway_words', self::get_lists()['giveaway'] ); -
/** * Filters the slugs a login URL may never use (blocked on save). */ apply_filters( 'ao_login_url_reserved_slugs', array_values( array_unique( $reserved ) ) ); -
/** * Filters how many seconds a changed login URL has to be confirmed before the * previous one is restored. Clamped to 60-3600. */ apply_filters( 'ao_login_url_safe_save_timeout', self::DEFAULT_TIMEOUT ); -
/** * This filter is documented in wp-includes/formatting.php */ apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2/svg/' ); -
/** * Filters the login page body classes. */ apply_filters( 'login_body_class', $classes, $action ); -
/** * Enqueues scripts and styles for the login page. */ do_action( 'login_enqueue_scripts' ); -
/** * Filters the error messages displayed above the login form. */ apply_filters( 'login_errors', $errors ); -
/** * Fires in the login page header after scripts are enqueued. */ do_action( 'login_head' ); -
/** * Fires in the login page header after the body tag is opened. */ do_action( 'login_header' ); -
/** * Filters the link text of the header logo above the login form. */ apply_filters( 'login_headertext', $login_header_text ); -
/** * Filters the title attribute of the header logo above login form. */ apply_filters_deprecated( 'login_headertitle', [ $login_header_title ], '5.2.0', 'login_headertext', __( 'Usage of the title attribute on the login logo is not recommended for accessibility reasons. Use the link text instead.', 'admin-optimizer' ) ); -
/** * Filters link URL of the header logo above login form. */ apply_filters( 'login_headerurl', $login_header_url ); -
/** * Filters the message to display above the login form. */ apply_filters( 'login_message', $message ); -
/** * Filters instructional messages displayed above the login form. */ apply_filters( 'login_messages', $messages ); -
/** * Filters the "Go to site" link displayed in the login page footer. */ apply_filters( 'login_site_html_link', $html_link ); -
/** * Filters the title tag content for login page. */ apply_filters( 'login_title', $login_title, $title ); -
/** * Filters the error codes array for shaking the login form. */ apply_filters( 'shake_error_codes', $shake_error_codes ); -
apply_filters( 'adminoptim_modified_date_post_type_check', true, $post->post_type ); -
apply_filters( 'adminoptim_modified_date_user_check', true ); -
do_action( 'adminoptim_security_monitor_log_event', [ 'source' => self::MODULE_SLUG, 'event_type' => '2fa_bypass_used', 'object' => (string) $user->user_login, 'user_id' => (int) $user->ID, 'severity' => 'flagged', 'detail' => [ 'ip' => AO_Request_Context::ip() ], ] ); -
apply_filters( 'adminoptim_smtp_bypass_transport', false ); -
do_action( 'adminoptim_2fa_user_not_enrolled', $user, $user_2fa, $this->options ); -
do_action( 'adminoptim_smtp_pop_profile' ); -
do_action( 'adminoptim_smtp_push_profile', $profile_id ); -
apply_filters( 'adminoptim_uam_is_manageable_role_key', in_array( $role_name, [ 'administrator', 'editor', 'author', 'contributor', 'subscriber' ], true ), $role_name ); -
apply_filters( 'adminoptim_xml_sitemap_metabox_post_types', $this->options['post_types'] ?? [ 'post' ] ); -
apply_filters( 'adminoptimizer_module_registry', self::get_raw_modules( true ) ); -
do_action( 'wp_login_failed', $user->user_login, new \WP_Error( 'too_many_2fa_attempts', __( 'Too many failed attempts.', 'admin-optimizer' ) ) ); -
do_action( 'adminoptim_2fa_after_verification', $user ); -
apply_filters( 'adminoptim_2fa_is_device_trusted', false, $user ); -
apply_filters( 'adminoptim_2fa_store_secrets_as_secrets', false ); -
do_action( 'adminoptim_2fa_trust_device_field' ); -
apply_filters( 'adminoptim_2fa_user_can_trust_device', false, $user, $this->options ); -
do_action( 'adminoptim_2fa_user_enrolled', $user, $user_2fa ); -
do_action( 'adminoptim_after_republish', $refresh->ID, $parent_id ); -
apply_filters( 'adminoptim_ai_bot_registry', self::bundled_bots() ); -
apply_filters( 'adminoptim_block_login_lockout_duration', 15 * 60, $lockout_count ); -
do_action( 'adminoptim_block_login_lockout_view', $this->is_lockout() ); -
apply_filters( 'adminoptim_block_login_trust_proxy_headers', false, $remote_addr ); -
do_action( 'adminoptim_consent_register_services' ); -
apply_filters( 'adminoptim_content_refresher_clone_post_data', $post_data, $source, $profile ); -
do_action( 'adminoptim_database_cleanup' ); -
do_action( 'adminoptim_db_cleaner_render_manual_actions' ); -
do_action( 'adminoptim_db_cleaner_render_options_table' ); -
do_action( 'adminoptim_deactivate_plugin' ); -
do_action( 'adminoptim_email_after_send', $args, $result ); -
do_action( 'adminoptim_email_before_send', $args ); -
apply_filters( 'adminoptim_email_compose_args', $args ); -
apply_filters( 'adminoptim_email_compose_capability', 'manage_options', $args ); -
apply_filters( 'adminoptim_email_send_args', $args ); -
apply_filters( 'adminoptim_email_send_headers', $headers, $args ); -
apply_filters( 'adminoptim_email_send_result', $result, $args ); -
apply_filters( 'adminoptim_export_import_option_names', $option_names ); -
apply_filters( 'adminoptim_export_options', $this->get_export_arr() ); -
do_action( 'adminoptim_form_builder_after_deliver_submission', (int) $form->ID, $settings, $fields, $values, $entry_id ); -
apply_filters( 'adminoptim_form_builder_entries_list_table_class', Form_Builder_Entries_List_Table::class ); -
do_action( 'adminoptim_form_builder_handle_export_csv' ); -
apply_filters( 'adminoptim_form_builder_render_entry_row', $this->render_entry_value( $value, true, $key, $entry ), $key, $value, $entry ); -
do_action( 'adminoptim_form_builder_render_export_controls' ); -
do_action( 'adminoptim_form_builder_render_integrations_tab', (int) $form->ID, Form_Builder_Forms::get_form_settings( $form->ID ) ); -
apply_filters( 'adminoptim_form_builder_sanitize_integrations', $old_integrations, isset( $raw_settings['integrations'] ) && is_array( $raw_settings['integrations'] ) ? $raw_settings['integrations'] : [], $old_integrations, $fields ); -
apply_filters( 'adminoptim_form_builder_settings_controls', [] ); -
apply_filters( 'adminoptim_form_builder_submission_method', 'ajax', $form_id ); -
apply_filters( 'adminoptim_form_builder_submit_button_class', $base_button_class, $field, $this->render_settings, $this->render_form_id ); -
adminoptim_form_builder_submit_button_class_{$this->render_form_id}
filter Copy link Customise this hookapply_filters( "adminoptim_form_builder_submit_button_class_{$this->render_form_id}", $button_class, $field, $this->render_settings ); -
apply_filters( 'adminoptim_import_option_value', $setting, $key ); -
apply_filters( 'adminoptim_import_options_name', $option_names ); -
apply_filters( 'adminoptim_included_taxonomies', $taxonomies ); -
apply_filters( 'adminoptim_is_login_page', false ); -
do_action( 'adminoptim_log_pruned', $deleted ); -
do_action( 'adminoptim_log_recorded', $record ); -
apply_filters( 'adminoptim_logger_context', $context ); -
apply_filters( 'adminoptim_logger_deduplication_window', 5 * MINUTE_IN_SECONDS ); -
apply_filters( 'adminoptim_logger_max_rows', 10000 ); -
apply_filters( 'adminoptim_logger_retention_days', 30 ); -
apply_filters( 'adminoptim_logger_sensitive_keys', $keys ); -
apply_filters( 'adminoptim_logger_should_store', $should_store, $record ); -
apply_filters( "adminoptim_notification_banner_content_{sanitize_key($source)}", $default, $source ); -
apply_filters( 'adminoptim_notification_enabled', self::ENABLED ); -
apply_filters( "adminoptim_notification_message_{sanitize_key($source)}", $message, $display ); -
apply_filters( 'adminoptim_notification_source', sanitize_key( $source ), $screen ); -
apply_filters( "adminoptim_notification_toast_content_{sanitize_key($source)}", $content, $notification_id ); -
apply_filters( 'adminoptim_page_ordering_limit', 50 ); -
do_action( 'adminoptim_page_ordering_ordered_posts', $post, $new_pos ); -
do_action( 'adminoptim_page_ordering_pre_order_posts', $post, $start ); -
apply_filters( 'adminoptim_post_status_visible_statuses', $custom_post_statuses, $post_type ); -
do_action( 'adminoptim_pro_disable_gutenberg' ); -
do_action( 'adminoptim_redirect_manager_blocked_external_redirect', [ 'redirect_id' => (int) $redirect->id, 'source_url' => (string) $redirect->source_url, 'target_host' => Redirect_Manager_DB::get_normalized_target_host( (string) $redirect->target_url ), 'reason' => 'external target not authorized', ] ); -
do_action( 'adminoptim_redirect_manager_ensure_redirected_status' ); -
do_action( 'adminoptim_redirect_manager_redirect_created_from_404', $redirect_404_id ); -
do_action( 'adminoptim_redirect_manager_render_404_tab' ); -
apply_filters( 'adminoptim_redirect_manager_settings_messages', $messages ); -
do_action( "adminoptim_security_monitor_render_{$tab}_tab" ); -
apply_filters( 'adminoptim_seo_advanced_meta_fields', [ 'canonical_url', 'noindex', 'schema_type', ] ); -
do_action( 'adminoptim_seo_after_output', $seo_data, $post_id ); -
do_action( 'adminoptim_seo_before_output', $seo_data, $post_id ); -
apply_filters( 'adminoptim_seo_data', $seo_data, $post_id ); -
apply_filters( 'adminoptim_seo_homepage_meta_output', $output, $seo_data, $post_id ); -
do_action( 'adminoptim_seo_manager_enqueue_ai_scripts', $screen->post_type ); -
apply_filters( 'adminoptim_seo_manager_faq_entities', [], $post_id ); -
do_action( 'adminoptim_seo_manager_render_ai_banner', $post ); -
do_action( 'adminoptim_seo_manager_render_ai_button', $post ); -
do_action( 'adminoptim_seo_manager_render_automation_tab' ); -
do_action( 'adminoptim_seo_manager_render_internal_links', $post ); -
apply_filters( 'adminoptim_seo_manager_schema_article', $schema, $post_id, $url ); -
apply_filters( 'adminoptim_seo_manager_schema_enabled', $enabled, $post_id, $seo_data, $settings ); -
apply_filters( 'adminoptim_seo_manager_schema_graph', $graph, $post_id, $seo_data, $schema_type, $settings ); -
apply_filters( 'adminoptim_seo_manager_schema_type', $schema_type, $post_id, $seo_data, $settings ); -
apply_filters( 'adminoptim_seo_manager_schema_webpage', $schema, $post_id, $url ); -
apply_filters( 'adminoptim_seo_meta_output', $output, $seo_data, $post_id ); -
apply_filters( 'adminoptim_seo_placeholders', $placeholders, $post_id, $settings ); -
apply_filters( 'adminoptim_seo_post_types', $post_types ); -
apply_filters( 'adminoptim_seo_resolved_description', $description, $post_id, $settings ); -
apply_filters( 'adminoptim_seo_resolved_title', $title, $post_id, $settings ); -
apply_filters( 'adminoptim_seo_site_placeholders', $placeholders, $settings ); -
apply_filters( 'adminoptim_seo_user_can_manage_advanced_fields', $can_manage, $post_id ); -
do_action( 'adminoptim_smtp_pop_route' ); -
do_action( 'adminoptim_smtp_pop_source' ); -
do_action( 'adminoptim_smtp_push_route', $route_key ); -
do_action( 'adminoptim_smtp_push_source', $source ); -
apply_filters( 'adminoptim_smtp_store_passwords_as_secrets', false ); -
do_action( 'adminoptim_uam_actions' ); -
do_action( 'adminoptim_xml_sitemap_metabox_after_exclude_field', $post ); -
apply_filters( 'adminoptim_xml_sitemap_posts_query_args', $args, $this->options ); -
do_action( 'adminoptim_xml_sitemap_render_clear_cache_field' ); -
do_action( 'adminoptim_xml_sitemap_render_news_tab' ); -
apply_filters( 'adminoptim_xml_sitemap_robotstxt_extra_lines', $output ); -
do_action( 'adminoptim_xml_sitemap_save_metabox', $post_id, $post ); -
do_action( 'adminoptim_xml_sitemap_settings_page_load' ); -
apply_filters( 'adminoptim_xml_sitemap_static_cache_available', true ); -
apply_filters( 'adminoptimizer_excluded_taxonomies', [ 'link_category' ] ); -
apply_filters( 'adminoptimizer_excluded_termids', $term_ids ); -
apply_filters( 'adminoptimizer_module_registry_module', $module, $module_id ); -
apply_filters( 'adminoptimizer_seo_health_checks', $checks ); -
apply_filters( 'adminoptimizer_sitemap_url', $this->get_sitemap_url() ); -
apply_filters( 'allow_minor_auto_core_updates', $enabled ); -
do_action( 'ao_cc_cache_rebuilt' ); -
do_action( "ao_cc_css_updated_inline_{$location}", $css_code ); -
apply_filters( 'ao_cc_list_location_output', $output, $item ); -
do_action( 'ao_cc_list_type_filter_options', $current_type ); -
apply_filters( 'ao_cc_list_type_labels', $labels ); -
apply_filters( "ao_cc_output_{$location}_external_css", true ); -
apply_filters( "ao_cc_output_{$location}_inline_css", true ); -
apply_filters( 'ao_cc_output_free_default_cache', true, $position ); -
apply_filters( 'ao_cc_output_sitewide_external_css', true ); -
apply_filters( 'ao_cc_output_sitewide_inline_css', true ); -
apply_filters( 'ao_cc_shortcode_content', $shortcode_content, $raw_content, $post_id ); -
apply_filters( 'ao_cc_shortcode_validation_error', '', $post_id ); -
apply_filters( 'automatic_updater_disabled', $disabled ); -
apply_filters( 'login_redirect', $redirect_to, $redirect_to, $user ); -
apply_filters( 'mcp_adapter_create_default_server', true ); -
apply_filters( 'mcp_adapter_default_server_config', self::ADAPTER_DEFAULT_SERVER_CONFIG ); -
do_action( 'wp_admin_notice', $message, $args ); -
apply_filters( 'wp_admin_notice_args', $args, $message ); -
apply_filters( 'wp_admin_notice_markup', $markup, $message, $args ); -
do_action( 'wp_login', $user->user_login, $user ); -
apply_filters( 'wp_sitemaps_enabled', true );
Generated from Admin Optimizer'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: