Ultimate Post Kit 4.6.0 has 5 actions and 30 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 Ultimate Post Kit fires an action
add_action( 'bdthemes_ultimate_post_kit/init', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Ultimate Post Kit is about to use
add_filter( 'ultimate_post_kit_dashboard_extra_tabs', 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
-
/** * This filter is documented in admin/class-settings-api.php */ apply_filters( 'ultimate_post_kit_dashboard_extra_tabs', [] ); -
/** * Filters whether the React dashboard replaces the classic one. */ apply_filters( 'ultimate_post_kit/admin/react_dashboard', $built ); -
/** * Filters the add-on pages the dashboard app renders natively. */ apply_filters( 'ultimate_post_kit/admin/react_pages', [] ); -
/** * Filters whether the Ultimate Post Kit site stylesheet and script are * enqueued on this request regardless of the widgets on the page. */ apply_filters( 'ultimate_post_kit/frontend/enqueue_site_assets', $needed ); -
/** * Filters the handles an Ultimate Post Kit widget stylesheet or script depends * on. */ apply_filters( 'ultimate_post_kit/module/asset_depends', $depends, $type, $module_id ); -
/** * Filters the plugin folders whose module files may be combined, as plugin URL * => plugin path. Add-ons register their own folder here. */ apply_filters( 'ultimate_post_kit/optimization/asset_roots', [ BDTUPK_URL => BDTUPK_PATH ] ); -
/** * Filters whether Ultimate Post Kit joins the module files a page loads into * combined files. Only consulted with Asset Optimization on. */ apply_filters( 'ultimate_post_kit/optimization/combine_assets', (bool) $active ); -
/** * Filters where Ultimate Post Kit writes and serves combined module files. */ apply_filters( 'ultimate_post_kit/optimization/combined_assets_location', $location ); -
/** * Filters the inputs the combined-files fingerprint is built from. Add-ons * append their own version here. */ apply_filters( 'ultimate_post_kit/optimization/fingerprint_inputs', $inputs ); -
/** * Filters whether a file under a plugin root is a module file to combine. */ apply_filters( 'ultimate_post_kit/optimization/is_module_asset', $is_module, $relative, $type ); -
upk_column_size
filterapply_filters( 'upk_column_size', '' ); -
apply_filters( 'ultimate_post_kit/query/get_query_args/current_query', $args ); -
upk_license_page
filterapply_filters( 'upk_license_page', '' ); -
alter_render_readmore
filterapply_filters( 'alter_render_readmore', $this ); -
apply_filters( 'alter_render_readmore_on_image', '' ); -
amox_carousel_active_item
filterapply_filters( 'amox_carousel_active_item', $this, $i ); -
amox_grid_active_item
filterapply_filters( 'amox_grid_active_item', $this, $i ); -
do_action( 'bdthemes_ultimate_post_kit/init' ); -
apply_filters( 'bdtupk/setup_wizard/subscribe_body', $body, $email ); -
apply_filters( 'bdtupk/setup_wizard/subscribe_customer_uid', self::SUBSCRIBE_CUSTOMER_UID ); -
apply_filters( 'bdtupk/setup_wizard/subscribe_url', self::SUBSCRIBE_ENDPOINT ); -
do_action( 'elementor/import-export/import-kit/runner/after-run', $import ); -
gratis_grid_active_item
filterapply_filters( 'gratis_grid_active_item', $this, $i ); -
show_top_stories
filterapply_filters( 'show_top_stories', $this ); -
do_action( "ultimate_post_kit_form_bottom_{$form['id']}", $form ); -
do_action( "ultimate_post_kit_form_top_{$form['id']}", $form ); -
do_action( "ultimate_post_kit_pro/query/{$query_id}", $wp_query, $this ); -
apply_filters( 'ultimate_post_kit/frontend/localize_settings', $script_config ); -
apply_filters( "ultimatepostkit/extend/{$widget_id}", true ); -
apply_filters( 'ultimatepostkit/optimization/asset_manager', $enabled ); -
apply_filters( 'ultimatepostkit/settings/dashboard', true ); -
apply_filters( "ultimatepostkit/widget/{$widget_id}", true ); -
apply_filters( "upk/{$widget_name}/after/title", '' ); -
apply_filters( "upk/{$widget_name}/before/title", '' );
Generated from Ultimate Post Kit'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: