Under Construction, Coming Soon & Maintenance Mode 3.1.0 has 5 actions and 21 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.
// Run your own code when Under Construction, Coming Soon & Maintenance Mode fires an action
add_action( 'ucmm_after_settings_banner', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Under Construction, Coming Soon & Maintenance Mode is about to use
add_filter( 'ucmm_exclude_post', 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
-
ucmm_after_settings_banner
action/** * Notices for the UCMM settings screen (after the banner). */ do_action( 'ucmm_after_settings_banner' ); -
ucmm_exclude_post
filter/** * Disable the UCMM functionality for specific page/s or post/s. */ apply_filters( 'ucmm_exclude_post', false ); -
/** * Filter allowed SDK opt-out setting keys for AJAX toggles. */ apply_filters( 'wpb_sdk_allowed_opt_out_settings', $allowed, $this->slug ); -
/** * Filter allowed page slugs for post-opt-in redirect. */ apply_filters( 'wpb_sdk_allowed_redirect_page_slugs', $allowed, $slug, $module ); -
wpb_sdk_api_endpoint
filter/** * Filter telemetry API base URL for a product. */ apply_filters( 'wpb_sdk_api_endpoint', $endpoint, $slug ); -
wpb_sdk_custom_optin_slugs
filter/** * Filter products that use a custom opt-in form instead of * wpb-sdk-optin-form.php. */ apply_filters( 'wpb_sdk_custom_optin_slugs', $custom, $slug ); -
/** * Filter slugs that manage their own Opt In/Out plugin row links (not the * SDK). */ apply_filters( 'wpb_sdk_legacy_opt_action_link_slugs', $legacy, $slug ); -
wpb_sdk_optin_template_vars
filter/** * Filter template variables passed to opt-in view. */ apply_filters( 'wpb_sdk_optin_template_vars', $optin_vars, $slug, $module ); -
wpb_sdk_plugin_action_links
filter/** * Append product-specific plugin row links (Settings, etc.) after SDK * opt-in/out. */ apply_filters( 'wpb_sdk_plugin_action_links', $links, $this->slug, $this->module ); -
/** * Filter whether visiting the opt-in page should redirect away. */ apply_filters( 'wpb_sdk_should_redirect_from_optin_page', 'yes' === $decision, $slug, $decision ); -
wp_wpb_sdk_after_uninstall
actiondo_action( 'wp_wpb_sdk_after_uninstall', $slug ); -
wpb_sdk_optin_redirect_url
filterapply_filters( 'wpb_sdk_optin_redirect_url', $url, $slug, $optin, $redirect_override ); -
ucmm_redirect_message
filterapply_filters( 'ucmm_redirect_message', __( 'Website is now LIVE! will be redirected to homepage shortly. If not, please refresh the page.', 'ucmm-wpbrigade' ) ); -
wpb_sdk_bootstrap_module
actiondo_action( 'wpb_sdk_bootstrap_module', $slug ); -
ucmm_wpb50659630_loaded
actiondo_action( 'ucmm_wpb50659630_loaded' ); -
apply_filters( "wpb_sdk_{$slug}_optin_view_path", $path, $module ); -
wpb_sdk_module_config
filterapply_filters( 'wpb_sdk_module_config', $module ); -
wpb_sdk_optin_admin_user_id
filterapply_filters( 'wpb_sdk_optin_admin_user_id', $admin_id, $slug ); -
apply_filters( "wpb_sdk_optin_logo_url_{$slug}", $logo_url, $module ); -
wpb_sdk_optin_verified
actiondo_action( 'wpb_sdk_optin_verified', $current_user, $module ); -
wpb_sdk_optin_view_path
filterapply_filters( 'wpb_sdk_optin_view_path', $path, $slug, $module ); -
wpb_sdk_plugin_main_file
filterapply_filters( 'wpb_sdk_plugin_main_file', '', $slug ); -
apply_filters( 'wpb_sdk_should_cleanup_on_uninstall', true, $slug ); -
apply_filters( 'wpb_sdk_site_used_centralized_sdk_32', false, $slug, $module ); -
apply_filters( 'wpb_sdk_uninstall_option_names', $options, $slug ); -
apply_filters( 'wpb_sdk_uninstall_user_meta_keys', array_values( array_unique( array_filter( $user_meta ) ) ), $slug );
Generated from Under Construction, Coming Soon & Maintenance Mode'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: