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.
// 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
-
/** * Filter registered development assets */ apply_filters( 'vite_for_wp__development_assets', $assets, $manifest, $entry, $options ); -
vite_for_wp__manifest_data
filter/** * Filter manifest data */ apply_filters( 'vite_for_wp__manifest_data', $manifest, $manifest_dir, $manifest_path ); -
/** * Filter registered production assets */ apply_filters( 'vite_for_wp__production_assets', $assets, $manifest, $entry, $options ); -
stm_ccb_sanitize_array
filterapply_filters( 'stm_ccb_sanitize_array', $request_data ); -
calc_update_options
filterapply_filters( 'calc_update_options', $general_settings ); -
ccb_appearance_data_update
filterapply_filters( 'ccb_appearance_data_update', $presets_from_db ); -
apply_filters( "plugin_action_links_{$pluginData['plugin_name']}/{$pluginData['plugin_name']}.php", [], $pluginData['plugin_name'] ); -
wpml_object_id
filterapply_filters( 'wpml_object_id', $calc_id, 'cost-calc', true ); -
active_plugins
filterapply_filters( 'active_plugins', get_option( 'active_plugins', array() ) ); -
anp_popup_items
actiondo_action( 'anp_popup_items' ); -
calc_id
filterapply_filters( 'calc_id', $data['calc_id'] ); -
calc_render_conditions
filterapply_filters( 'calc_render_conditions', array(), $calc_id ); -
ccb_after_create_order
actiondo_action( 'ccb_after_create_order', $order_create_data ); -
apply_filters( 'ccb_contact_form_add_text_form_fields', $settings['texts']['form_fields'] ); -
apply_filters( 'ccb_contact_form_submit_label', $settings['formFields']['submitBtnText'], $calc_id ); -
apply_filters( 'ccb_customize_confirmation_page', $settings['thankYouPage'], $calc_id ); -
ccb_frontend_translations
filterapply_filters( 'ccb_frontend_translations', $translations ); -
ccb_google_api
filterapply_filters( 'ccb_google_api', '' ); -
ccb_order_created
actiondo_action( 'ccb_order_created', $order_create_data, $payment_primary_data ); -
ccb_order_data_by_id
filterapply_filters( 'ccb_order_data_by_id', $order_id ); -
ccb_orders_before_create
filterapply_filters( 'ccb_orders_before_create', $order_create_data ); -
ccb_sanitize_hints
filterapply_filters( 'ccb_sanitize_hints', $_POST['hints'] ); -
ccb_sanitize_text
filterapply_filters( 'ccb_sanitize_text', $data['title'] ); -
ccb_sanitize_text_field
filterapply_filters( 'ccb_sanitize_text_field', $_GET['title'] ); -
ccb_template_path
filterapply_filters( 'ccb_template_path', 'cost-calculator-builder/' ); -
render-ai
actiondo_action( 'render-ai' ); -
render-backup-settings
actiondo_action( 'render-backup-settings' ); -
render-form-manager
actiondo_action( 'render-form-manager' ); -
render-general-captcha
actiondo_action( 'render-general-captcha' ); -
render-general-email
actiondo_action( 'render-general-email' ); -
do_action( 'render-general-email-template' ); -
render-general-geolocation
actiondo_action( 'render-general-geolocation' ); -
render-general-invoice
actiondo_action( 'render-general-invoice' ); -
do_action( 'render-general-payment-gateway' ); -
render-payment-gateway
actiondo_action( 'render-payment-gateway' ); -
render-send-form
actiondo_action( 'render-send-form' ); -
render-sticky-calculator
actiondo_action( 'render-sticky-calculator' ); -
render-thank-you-page
actiondo_action( 'render-thank-you-page' ); -
render-webhooks
actiondo_action( 'render-webhooks' ); -
render-woo-checkout
actiondo_action( 'render-woo-checkout' ); -
render-woo-products
actiondo_action( 'render-woo-products' ); -
apply_filters( "stm_admin_notice_rate_{$plugin_name}_single", [] ); -
stm_admin_notices_data
filterapply_filters( 'stm_admin_notices_data', array() ); -
stm_ccb_sanitize_value
filterapply_filters( 'stm_ccb_sanitize_value', $data['preset_idx'] ); -
stm_theme_demo_layout
filterapply_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: