Under Construction 5.83 has 1 actions and 9 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 fires an action
add_action( 'cache_enabler_clear_complete_cache', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Under Construction is about to use
add_filter( 'ucp_show_admin_bar', 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
-
ucp_show_admin_bar
filterapply_filters( 'ucp_show_admin_bar', true ); -
do_action( 'cache_enabler_clear_complete_cache' ); -
ucp_get_template
filterapply_filters( 'ucp_get_template', $template, $vars, $options ); -
ucp_get_template_vars
filterapply_filters( 'ucp_get_template_vars', $vars, $template_id, $options ); -
ucp_head
filterapply_filters( 'ucp_head', $out, $options, $template_id ); -
apply_filters( 'ucp_is_construction_mode_enabled', null, $options ); -
ucp_parse_vars
filterapply_filters( 'ucp_parse_vars', $string, $org_string, $vars ); -
ucp_tabs
filterapply_filters( 'ucp_tabs', $tabs ); -
ucp_themes
filterapply_filters( 'ucp_themes', $themes );
Generated from Under Construction'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: