Cost Calculator Builder icon
Page Builders & Blocks

Cost Calculator Builder hooks reference

  • By Stylemix
  • v4.0.21 New
  • Updated

Cost Calculator Builder 4.0.21 has 20 actions and 27 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 Cost Calculator Builder fires an action
add_action( 'anp_popup_items', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Cost Calculator Builder is about to use
add_filter( 'vite_for_wp__development_assets', function( $assets, $manifest, $entry, $options ) {
	// Change $assets here.
	return $assets;
}, 10, 4 );

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

  • includes/helpers/vite-integration.php line 238
    /**
     * Filter registered development assets
     */
    apply_filters( 'vite_for_wp__development_assets', $assets, $manifest, $entry, $options );
  • includes/helpers/vite-integration.php line 60
    /**
     * Filter manifest data
     */
    apply_filters( 'vite_for_wp__manifest_data', $manifest, $manifest_dir, $manifest_path );
  • includes/helpers/vite-integration.php line 311
    /**
     * Filter registered production assets
     */
    apply_filters( 'vite_for_wp__production_assets', $assets, $manifest, $entry, $options );
  • includes/classes/CCBCalculatorsHandler.php line 141 · used in 58 places
    apply_filters( 'stm_ccb_sanitize_array', $request_data );
  • includes/classes/CCBCalculators.php line 1457 · used in 6 places
    apply_filters( 'calc_update_options', $general_settings );
  • includes/classes/CCBCalculators.php line 895 · used in 3 places
    apply_filters( 'ccb_appearance_data_update', $presets_from_db );
  • includes/classes/CCBBuilderAdminMenu.php line 100 · used in 3 places
    apply_filters( 'ccb_maybe_show_analytics_menu', true );
  • includes/classes/CCBFrontController.php line 279 · used in 2 places
    apply_filters( 'wpml_object_id', $calc_id, 'cost-calc', true );
  • includes/admin/enqueue.php line 57
    apply_filters( 'active_plugins', get_option( 'active_plugins', array() ) );
  • includes/lib/admin-notifications-popup/classes/Popup/NotificationPopupHtml.php line 13
    do_action( 'anp_popup_items' );
  • calc_id

    filter
    includes/classes/CCBCalculatorTemplates.php line 108
    apply_filters( 'calc_id', $data['calc_id'] );
  • templates/frontend/render.php line 157
    apply_filters( 'calc_render_conditions', array(), $calc_id );
  • includes/classes/CCBOrderController.php line 389
    do_action( 'ccb_after_create_order', $order_create_data );
  • templates/frontend/render.php line 101
    apply_filters( 'ccb_contact_form_add_text_form_fields', $settings['texts']['form_fields'] );
  • templates/frontend/render.php line 132
    apply_filters( 'ccb_contact_form_submit_label', $settings['formFields']['submitBtnText'], $calc_id );
  • templates/frontend/render.php line 135
    apply_filters( 'ccb_customize_confirmation_page', $settings['thankYouPage'], $calc_id );
  • includes/classes/CCBTranslations.php line 116
    apply_filters( 'ccb_frontend_translations', $translations );
  • includes/classes/CCBSettingsData.php line 793
    apply_filters( 'ccb_google_api', '' );
  • includes/classes/CCBOrderController.php line 390
    do_action( 'ccb_order_created', $order_create_data, $payment_primary_data );
  • includes/classes/CCBFrontController.php line 442
    apply_filters( 'ccb_order_data_by_id', $order_id );
  • includes/classes/CCBOrderController.php line 386
    apply_filters( 'ccb_orders_before_create', $order_create_data );
  • includes/classes/CCBCalculators.php line 621
    apply_filters( 'ccb_sanitize_hints', $_POST['hints'] );
  • includes/classes/CCBCalculatorTemplates.php line 115
    apply_filters( 'ccb_sanitize_text', $data['title'] );
  • includes/classes/CCBCalculators.php line 1179
    apply_filters( 'ccb_sanitize_text_field', $_GET['title'] );
  • includes/classes/CCBTemplate.php line 65
    apply_filters( 'ccb_template_path', 'cost-calculator-builder/' );
  • render-ai

    action
    templates/admin/general-settings/ai.php line 12
    do_action( 'render-ai' );
  • templates/admin/general-settings/backup-settings.php line 12
    do_action( 'render-backup-settings' );
  • templates/admin/settings/form-manager.php line 34
    do_action( 'render-form-manager' );
  • templates/admin/general-settings/captcha.php line 12
    do_action( 'render-general-captcha' );
  • templates/admin/general-settings/email.php line 12
    do_action( 'render-general-email' );
  • templates/admin/general-settings/email-template.php line 12
    do_action( 'render-general-email-template' );
  • templates/admin/general-settings/geolocation.php line 12
    do_action( 'render-general-geolocation' );
  • templates/admin/general-settings/invoice.php line 12
    do_action( 'render-general-invoice' );
  • templates/admin/general-settings/payment-gateway.php line 12
    do_action( 'render-general-payment-gateway' );
  • templates/admin/general-settings/share-quote-form.php line 12
    do_action( 'render-general-share-quote-form' );
  • templates/admin/settings/payment-gateway.php line 22
    do_action( 'render-payment-gateway' );
  • templates/admin/settings/send-form.php line 34
    do_action( 'render-send-form' );
  • templates/admin/settings/sticky-calculator.php line 23
    do_action( 'render-sticky-calculator' );
  • templates/admin/settings/thank-you-page.php line 22
    do_action( 'render-thank-you-page' );
  • templates/admin/settings/webhooks.php line 22
    do_action( 'render-webhooks' );
  • templates/admin/settings/woo-checkout.php line 25
    do_action( 'render-woo-checkout' );
  • templates/admin/settings/woo-products.php line 25
    do_action( 'render-woo-products' );
  • includes/lib/admin-notifications-popup/classes/RateNotification.php line 94
    apply_filters( "stm_admin_notice_rate_{$plugin_name}_single", [] );
  • includes/lib/admin-notices/classes/STMNotices.php line 51
    apply_filters( 'stm_admin_notices_data', array() );
  • includes/functions.php line 56
    apply_filters( 'stm_ccb_sanitize_value', $data['preset_idx'] );
  • includes/lib/admin-notices/classes/STMBulkNotices.php line 79
    apply_filters( 'stm_theme_demo_layout', '' );

Generated from Cost Calculator Builder'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: