Ultimate Post Kit icon
Content & Editing

Ultimate Post Kit hooks reference

  • By bdthemes
  • v4.6.0
  • Updated

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.

functions.phpyour child theme
// 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

  • admin/class-react-dashboard.php line 224 · used in 2 places
    /**
     * This filter is documented in admin/class-settings-api.php
     */
    apply_filters( 'ultimate_post_kit_dashboard_extra_tabs', [] );
  • admin/class-react-dashboard.php line 68
    /**
     * Filters whether the React dashboard replaces the classic one.
     */
    apply_filters( 'ultimate_post_kit/admin/react_dashboard', $built );
  • admin/class-react-dashboard.php line 199
    /**
     * Filters the add-on pages the dashboard app renders natively.
     */
    apply_filters( 'ultimate_post_kit/admin/react_pages', [] );
  • loader.php line 245
    /**
     * 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 );
  • includes/ultimate-post-kit-filters.php line 105
    /**
     * 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 );
  • includes/class-asset-combiner.php line 596
    /**
     * 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 ] );
  • includes/class-asset-combiner.php line 112
    /**
     * 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 );
  • includes/class-asset-combiner.php line 800
    /**
     * Filters where Ultimate Post Kit writes and serves combined module files.
     */
    apply_filters( 'ultimate_post_kit/optimization/combined_assets_location', $location );
  • includes/class-asset-combiner.php line 829
    /**
     * 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 );
  • includes/class-asset-combiner.php line 297
    /**
     * 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 );
  • modules/alex-grid/widgets/alex-grid.php line 108 · used in 6 places
    apply_filters( 'upk_column_size', '' );
  • includes/controls/group-query/group-control-query.php line 496 · used in 2 places
    apply_filters( 'ultimate_post_kit/query/get_query_args/current_query', $args );
  • includes/controls/group-query/group-control-query.php line 522 · used in 2 places
    apply_filters( 'ultimate_post_kit/query/get_query_args/related_query', $args );
  • admin/admin-settings.php line 1138 · used in 2 places
    apply_filters( 'upk_license_page', '' );
  • modules/alter-carousel/widgets/alter-carousel.php line 1204
    apply_filters( 'alter_render_readmore', $this );
  • modules/alter-carousel/widgets/alter-carousel.php line 1186
    apply_filters( 'alter_render_readmore_on_image', '' );
  • modules/amox-grid/widgets/amox-grid.php line 1180
    apply_filters( 'amox_grid_active_item', $this, $i );
  • loader.php line 93
    do_action( 'bdthemes_ultimate_post_kit/init' );
  • includes/setup-wizard/init.php line 403
    apply_filters( 'bdtupk/setup_wizard/subscribe_body', $body, $email );
  • includes/setup-wizard/init.php line 393
    apply_filters( 'bdtupk/setup_wizard/subscribe_customer_uid', self::SUBSCRIBE_CUSTOMER_UID );
  • includes/setup-wizard/init.php line 400
    apply_filters( 'bdtupk/setup_wizard/subscribe_url', self::SUBSCRIBE_ENDPOINT );
  • includes/setup-wizard/init.php line 871
    do_action( 'elementor/import-export/import-kit/runner/after-run', $import );
  • modules/gratis-grid/widgets/gratis-grid.php line 1457
    apply_filters( 'gratis_grid_active_item', $this, $i );
  • modules/skide-slider/widgets/skide-slider.php line 1199
    apply_filters( 'show_top_stories', $this );
  • admin/class-settings-api.php line 1225
    do_action( "ultimate_post_kit_form_bottom_{$form['id']}", $form );
  • admin/class-settings-api.php line 1221
    do_action( "ultimate_post_kit_form_top_{$form['id']}", $form );
  • includes/controls/group-query/group-control-query.php line 791
    do_action( "ultimate_post_kit_pro/query/{$query_id}", $wp_query, $this );
  • loader.php line 286
    apply_filters( 'ultimate_post_kit/frontend/localize_settings', $script_config );
  • includes/ultimate-post-kit-filters.php line 44
    apply_filters( "ultimatepostkit/extend/{$widget_id}", true );
  • includes/ultimate-post-kit-filters.php line 76
    apply_filters( 'ultimatepostkit/optimization/asset_manager', $enabled );
  • includes/ultimate-post-kit-filters.php line 17
    apply_filters( 'ultimatepostkit/settings/dashboard', true );
  • includes/ultimate-post-kit-filters.php line 30
    apply_filters( "ultimatepostkit/widget/{$widget_id}", true );
  • traits/global-widget-functions.php line 422
    apply_filters( "upk/{$widget_name}/after/title", '' );
  • traits/global-widget-functions.php line 411
    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: