PowerSuite Modular Admin Toolkit 1.2.8 has 34 actions and 113 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 PowerSuite Modular Admin Toolkit fires an action
add_action( 'wppsmodule_404_auto_redirect', function( $path, $redirect_url, $redirect_code ) {
// Your code runs here.
}, 10, 3 );
// Change a value PowerSuite Modular Admin Toolkit is about to use
add_filter( 'wppsmodule_core_cli_sensitive_modules', 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.
Changes by version
1.2.7 → 1.2.8 · Nov 19, 2026 · 0 added, 0 removed
No hooks were added or removed in this release.
All hooks
-
/** * Filter the list of modules excluded from bulk CLI enable operations. */ apply_filters( 'wppsmodule_core_cli_sensitive_modules', self::SENSITIVE ); -
/** * Enrich email log rows when Email Logs is active. */ apply_filters( 'wppsmodule_core_email_delivery_log_data', $log_data, $result, $provider ); -
/** * Filter Lite overlay load. Pro may require its own license. */ apply_filters( 'wppsmodule_core_freemium_unlocked', $on, $module_id ); -
/** * Leftover licensing PHP after a Full→Lite overwrite must not entitle Lite. */ apply_filters( 'wppsmodule_core_is_licensing_expected', false ); -
/** * Filter the resolved wp-config.php path. */ apply_filters( 'wppsmodule_core_wp_config_path', null ); -
/** * Fires immediately before a global 404 fallback redirect. */ do_action( 'wppsmodule_404_auto_redirect', $path, $redirect_url, $redirect_code ); -
/** * Fires after PowerSuite activation tasks complete for the current site. */ do_action( 'wppsmodule_core_activated' ); -
/** * Filter whether a module may load admin assets on the current screen. */ apply_filters( 'wppsmodule_core_admin_should_load_assets', true, $hook ); -
/** * Filter whether Alpine.js should enqueue on the current admin screen. */ apply_filters( 'wppsmodule_core_alpine_js_should_enqueue_admin', $allowed, $hook, $settings ); -
/** * Filter whether Alpine.js should enqueue on the current frontend request. */ apply_filters( 'wppsmodule_core_alpine_js_should_enqueue_frontend', true, $settings ); -
/** * Lite PSR-4 autoloader is ready. The Pro add-on attaches Wppsmodule\AI here. */ do_action( 'wppsmodule_core_autoloader_ready' ); -
/** * Fires after core modules are registered; platform integrations hook here. */ do_action( 'wppsmodule_core_boot', $this, $this->plugin ); -
/** * Filter the self-hosted PowerSuite brand icon URL. */ apply_filters( 'wppsmodule_core_brand_icon_url', $default ); -
/** * Filter core plugin cron hooks registered on activation. */ apply_filters( 'wppsmodule_core_core_cron_hooks', $hooks ); -
/** * Allow sideloading remote images during customizer import. */ apply_filters( 'wppsmodule_core_customizer_reset_allow_remote_image_import', true, $url ); -
/** * Require import template to match the active parent theme. */ apply_filters( 'wppsmodule_core_customizer_reset_strict_template_check', true, $data ); -
/** * Fires after PowerSuite deactivation tasks complete for the current site. */ do_action( 'wppsmodule_core_deactivated' ); -
/** * Filter whether commenting is disabled for a post type. */ apply_filters( 'wppsmodule_core_disable_comments_is_disabled_for_post_type', $disabled, $post_type ); -
/** * Filter the running edition. Tests may force `lite` without rebuilding. The * packaged Lite edition always wins over this development override. */ apply_filters( 'wppsmodule_core_edition', $edition ); -
/** * Allow additional HTTPS chat webhook hosts (Teams, custom bridges, etc.). */ apply_filters( 'wppsmodule_core_email_delivery_alert_webhook_hosts', [], $host ); -
/** * Fires before provider send. */ do_action( 'wppsmodule_core_email_delivery_before_send', $message, $provider, $settings ); -
/** * Filter the normalized email message before provider send. */ apply_filters( 'wppsmodule_core_email_delivery_message', $message, $provider, $settings ); -
/** * Filter lightweight provider cards shown in Email Delivery admin pickers. */ apply_filters( 'wppsmodule_core_email_delivery_provider_cards', $cards ); -
/** * Fires when a message is accepted in Email Simulation mode (not delivered). */ do_action( 'wppsmodule_core_email_delivery_simulated', $message, $result, $atts ); -
/** * Fires when a webhook delivery event is received and Email Logs is * unavailable. */ do_action( 'wppsmodule_core_email_delivery_webhook_event', $provider, $event ); -
/** * Filter which WordPress content hooks receive email obfuscation. */ apply_filters( 'wppsmodule_core_email_obfuscator_content_filters', $filters ); -
/** * Final obfuscated content before it is returned to WordPress. */ apply_filters( 'wppsmodule_core_email_obfuscator_output', $processed, $filter ); -
/** * Whether email obfuscation should run for this content string. */ apply_filters( 'wppsmodule_core_email_obfuscator_should_process', true, $content, $filter ); -
/** * Filter whether Force SSL Admin treats the current request as HTTPS. */ apply_filters( 'wppsmodule_core_force_ssl_admin_is_https', false ); -
/** * Additional directories that contain `{module-id}/{relative}` premium files. */ apply_filters( 'wppsmodule_core_freemium_file_roots', [], $module_id ); -
/** * Fires after PowerSuite plugin has been initialized. */ do_action( 'wppsmodule_core_initialized', $this ); -
/** * Fires after PowerSuite kernel has been initialized (modules loaded). */ do_action( 'wppsmodule_core_kernel_initialized', $this, $this->plugin ); -
/** * Filter long admin-ajax actions that need cache/compression hardening. */ apply_filters( 'wppsmodule_core_long_ajax_actions', self::DEFAULT_ACTIONS ); -
/** * Let installed extensions report whether their modules are available. */ apply_filters( 'wppsmodule_core_module_available', $available, $module_id, $metadata ); -
/** * Additional module roots (tests and the Pro add-on). */ apply_filters( 'wppsmodule_core_module_scan_directories', $extra ); -
/** * Fires after ModuleManager has been initialized and modules loaded. */ do_action( 'wppsmodule_core_modules_loaded', $this, $this->initialized_modules ); -
/** * Filter detected ordering plugin conflicts. */ apply_filters( 'wppsmodule_core_ordering_conflicts', $conflicts ); -
/** * Allow a developer companion plugin to ship the Performance Monitor. */ apply_filters( 'wppsmodule_core_performance_monitor_available', false ); -
/** * Override the Performance Monitor admin view path (developer companion * plugin). */ apply_filters( 'wppsmodule_core_performance_view_file', $default_view ); -
/** * Filter same-site URL validation for import/sideload helpers. */ apply_filters( 'wppsmodule_core_remote_url_is_same_site', true, $url ); -
/** * Short-circuit or pre-process module settings before generic sanitization. */ apply_filters( 'wppsmodule_core_sanitize_module_settings', $settings, $module_id, $context ); -
/** * Allow modules (e.g. Change Login URL) to opt paths out of catch-all 404 * redirects/logging. */ apply_filters( 'wppsmodule_core_skip_404_path', false, $path ); -
/** * Trust every proxy header regardless of origin. */ apply_filters( 'wppsmodule_core_trust_proxy_headers', false ); -
/** * Reverse proxies whose forwarding headers may be trusted. */ apply_filters( 'wppsmodule_core_trusted_proxies', self::CLOUDFLARE_RANGES, $remote ); -
/** * Fires after core upgrade routines run for a version bump. */ do_action( 'wppsmodule_core_upgrade', $from, $to ); -
/** * Fires when a wp-config or debug configuration action is performed. */ do_action( 'wppsmodule_core_wp_config_audit', $module_id, $action, $description, $user_id ); -
/** * Allow specific REST routes to bypass complete REST disable (for client * plugins/themes). */ apply_filters( 'wppsmodule_disable_rest_api_allow_route', false, $route, $path ); -
/** * Filter whether anonymous access to a WordPress core REST route should be * blocked. */ apply_filters( 'wppsmodule_disable_rest_api_block_anonymous_core', $is_core, $route, $path ); -
/** * Core REST namespaces treated as WordPress-owned in public mode. */ apply_filters( 'wppsmodule_disable_rest_api_core_namespaces', $namespaces ); -
/** * Allow specific XML-RPC consumers to bypass this module (e.g. Jetpack * integrations). */ apply_filters( 'wppsmodule_disable_xmlrpc_allow_request', false ); -
/** * Fires after a social identity is stored for a user. */ do_action( 'wppsmodule_social_account_linked', $user_id, $provider, $identities[ $provider ] ); -
/** * Fires after a user disconnects a provider. */ do_action( 'wppsmodule_social_account_unlinked', $user_id, $provider_slug ); -
/** * Fires before linking a social provider in the “Connect” flow. */ do_action( 'wppsmodule_social_before_link', $user_id, $profile, $provider ); -
/** * Whether to allow linking when provider email != WP user email. */ apply_filters( 'wppsmodule_social_block_email_mismatch_on_connect', true, $user_id, $provider, $profile ); -
/** * Override when the user has a usable non-social login path. */ apply_filters( 'wppsmodule_social_has_password_login', false, $user_id ); -
/** * Post-login / post–connect redirect. */ apply_filters( 'wppsmodule_social_post_login_redirect', $u, $this->getProviderSlug(), $context ); -
do_action( 'wppsmodule_core_runtime_error', 'module_manager_init', $e ); -
do_action( 'wp_mail_failed', $result->to_wp_error() ); -
apply_filters( 'illegal_user_logins', [] ); -
do_action( 'wppsmodule_core_email_delivery_log_enrich', $log_data, $result, $provider ); -
apply_filters( 'wppsmodule_core_email_delivery_skip_failure_alert', false ); -
apply_filters( 'wppsmodule_core_is_credential_login_request', false ); -
apply_filters( 'wppsmodule_core_is_custom_login_url_request', false ); -
apply_filters( 'wppsmodule_core_skip_smtp_mail_args', false, $args ); -
apply_filters( 'wppsmodule_core_white_label_template', $partial ); -
apply_filters( 'auth_cookie_expiration', 2 * DAY_IN_SECONDS, $user_id, false ); -
do_action( 'customize_register', $wp_customize ); -
do_action( 'customize_save', $manager ); -
do_action( "customize_save_{$key}", $manager ); -
do_action( 'customize_save_after', $manager ); -
apply_filters_deprecated( 'customizer_export_option_keys', [ [] ], '1.2.2', 'wppsmodule_customizer_export_option_keys' ); -
apply_filters_deprecated( 'customizer_reset_export_option_keys', [ [] ], '1.2.2', 'wppsmodule_customizer_reset_export_option_keys' ); -
apply_filters_deprecated( 'customizer_reset_settings', [ $manager->settings() ], '1.2.2', 'wppsmodule_customizer_reset_settings' ); -
apply_filters( 'plugin_locale', determine_locale(), $domain ); -
apply_filters( 'robots_txt', $this->getDefaultContent(), (bool) $public ); -
apply_filters( 'secure_signon_cookie', is_ssl(), $credentials ); -
do_action_ref_array( 'wp_authenticate', [ &$credentials['user_login'], &$credentials['user_password'] ] ); -
apply_filters( 'wp_authenticate_user', $user, '' ); -
do_action( 'wp_login', $result->user_login, $result ); -
apply_filters( 'wp_mail_from', get_option( 'admin_email' ) ); -
do_action( 'wp_mail_succeeded', $atts ); -
apply_filters( 'wppsmodule_allow_analytics', empty( $settings['consent_mode'] ) ); -
apply_filters( 'wppsmodule_allowed_oauth_redirect_hosts', [] ); -
apply_filters( 'wppsmodule_alpine_use_bundled_integrity', false ); -
apply_filters( 'wppsmodule_analytics_skip_duplicate', true, $ga4_id ); -
apply_filters( 'wppsmodule_change_post_type_excluded', self::getHardExcludedTypes() ); -
apply_filters( 'wppsmodule_core_autoload_off_option_names', [] ); -
apply_filters( 'wppsmodule_core_content_protection_config', [] ); -
apply_filters( 'wppsmodule_core_deactivation_feedback_notify_email', $email, [] ); -
apply_filters( 'wppsmodule_core_deactivation_feedback_webhook_url', $url, [] ); -
apply_filters( 'wppsmodule_core_disable_post_autosave_post_types', null ); -
apply_filters( 'wppsmodule_core_disable_search_allow_post_types', [] ); -
apply_filters( 'wppsmodule_core_docs_url', defined( 'WPPSMODULE_CORE_DOCS_URL' ) ? WPPSMODULE_CORE_DOCS_URL : 'https://wppowersuite.com/docs' ); -
do_action( 'wppsmodule_core_email_delivery_after_send', $message, $result, $final ); -
do_action( 'wppsmodule_core_email_delivery_failed', $message, $result, $final ); -
do_action( 'wppsmodule_core_email_delivery_provider_registry', new self() ); -
apply_filters( 'wppsmodule_core_email_delivery_webhook_max_bytes', 1048576 ); -
apply_filters( 'wppsmodule_core_email_obfuscator_should_obfuscate', true, $email, $context ); -
apply_filters( 'wppsmodule_core_export_skip_patterns', $patterns, $relative_path, $context ); -
apply_filters( 'wppsmodule_core_generic_login_force_replace_message', false, $html ); -
apply_filters( 'wppsmodule_core_generic_login_match_error_html', false, $html ); -
apply_filters( 'wppsmodule_core_is_agency_license', $is_agency ); -
apply_filters( 'wppsmodule_core_is_temporary_session', null ); -
apply_filters( 'wppsmodule_core_limit_login_count_failed_login_body', false ); -
apply_filters( 'wppsmodule_core_max_modules_per_request', $this->max_modules_per_request ); -
do_action( 'wppsmodule_core_module_loaded', $module, $module_id ); -
apply_filters( 'wppsmodule_core_module_settings_allowed_keys', null, $module_id, $context ); -
do_action( 'wppsmodule_core_module_settings_saved', $module_id, $settings ); -
do_action( 'wppsmodule_core_module_toggled', $module_id, $enable, $metadata ); -
apply_filters( 'wppsmodule_core_modules_hero_icon_url', BrandAssets::icon_url() ); -
do_action( 'wppsmodule_core_oauth_login_completed', $result ); -
apply_filters( 'wppsmodule_core_opb_field_is_secret', false, $field ); -
apply_filters( 'wppsmodule_core_performance_monitor_enabled', $enabled ); -
apply_filters( 'wppsmodule_core_post_views_bot_score', 0, $ua ); -
apply_filters( 'wppsmodule_core_post_views_class', 'wpps-post-views', $post, $settings ); -
apply_filters( 'wppsmodule_core_post_views_line', $line, $post, $settings ); -
apply_filters( 'wppsmodule_core_post_views_should_count', true, $post, $settings ); -
apply_filters( 'wppsmodule_core_post_views_the_content_priority', self::CONTENT_FILTER_PRIORITY ); -
apply_filters( 'wppsmodule_core_post_views_wrapper_tag', $default_wrapper, $post, $settings ); -
apply_filters( 'wppsmodule_core_preserve_pro_settings_on_save', is_array( $settings ) ? $settings : [], $module_id, is_array( $existing_before_save ) ? $existing_before_save : [] ); -
apply_filters( 'wppsmodule_core_product_url', defined( 'WPPSMODULE_CORE_PRODUCT_URL' ) ? WPPSMODULE_CORE_PRODUCT_URL : 'https://wppowersuite.com/' ); -
apply_filters( 'wppsmodule_core_reading_time_class', 'wpps-reading-time', $post, $settings ); -
apply_filters( 'wppsmodule_core_reading_time_line', $line, $post, $settings ); -
apply_filters( 'wppsmodule_core_reading_time_source_text', $text ); -
apply_filters( 'wppsmodule_core_reading_time_the_content_priority', self::CONTENT_FILTER_PRIORITY ); -
apply_filters( 'wppsmodule_core_reading_time_wrapper_tag', $default_wrapper, $post, $settings ); -
apply_filters( 'wppsmodule_core_register_fatal_error_handler', true ); -
apply_filters( 'wppsmodule_core_remove_version_all_logged_out', false ); -
apply_filters( 'wppsmodule_core_skip_unlicensed_pro_module', false, $module_id ); -
apply_filters( 'wppsmodule_core_smtp_force_from_override', false, $phpmailer, $settings ); -
apply_filters( 'wppsmodule_core_smtp_phpmailer_priority', 100 ); -
apply_filters( 'wppsmodule_core_smtp_should_configure', true, $phpmailer ); -
apply_filters( 'wppsmodule_core_support_url', defined( 'WPPSMODULE_CORE_SUPPORT_URL' ) ? WPPSMODULE_CORE_SUPPORT_URL : 'https://wppowersuite.com/support' ); -
apply_filters( 'wppsmodule_core_track_module_hooks', true ); -
apply_filters( 'wppsmodule_customizer_export_option_keys', $export_keys ); -
apply_filters( 'wppsmodule_customizer_reset_export_option_keys', $reset_keys ); -
apply_filters( 'wppsmodule_customizer_reset_settings', $settings ); -
apply_filters( 'wppsmodule_disable_rest_api_allow_unauthenticated', false, $route, $path ); -
apply_filters( 'wppsmodule_google_avatar_img_attributes', '', $user, $url, $args, $size ); -
do_action( 'wppsmodule_oauth_authentication_start' ); -
apply_filters( 'wppsmodule_social_can_unlink', true, $user_id, $provider_slug ); -
apply_filters( 'wppsmodule_social_identities', $out, $user_id ); -
apply_filters( 'wppsmodule_tl_block_self_deactivation', true, $user_id ); -
apply_filters( 'wppsmodule_wps_duplicate_post_meta', $value, $old_post_id, $key );
Generated from PowerSuite Modular Admin Toolkit'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: