Extra Product Options for WooCommerce 4.4.9.4 has 63 actions and 158 filters, read directly from its source code on Nov 18, 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 Extra Product Options for WooCommerce fires an action
add_action( 'after_epofw_addon_totals', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Extra Product Options for WooCommerce is about to use
add_filter( 'epofw_field_td_label_class', function( $value, $args ) {
// Change $value here.
return $value;
}, 10, 2 );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
-
/** * Apply filters for checkboxgroup name field property. */ apply_filters( "epofw_field_property_{$epofw_field_type}_{$epofw_attr_name}", $epofw_attr_value . '[value]', $args ); -
/** * After addon field. */ do_action( "epofw_after_addon_field_{$epofw_field_type}" ); -
/** * Before addon field. */ do_action( "epofw_before_addon_field_{$epofw_field_type}" ); -
/** * Apply filters for checkboxgroup option field property. */ apply_filters( "epofw_field_property_{$epofw_field_type}_value", $epofw_opt_label ); -
/** * Filter for td label class. */ apply_filters( 'epofw_field_td_label_class', 'label epofw_td_label', $args ); -
/** * Filters the array of active plugin paths (WordPress core). */ apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
advanced_woo_discount_rules_get_product_discount_price_from_custom_price
filter Used by 13 plugins → Copy link Customise this hook/** * Ask Flycart what this product's price discounts to. */ apply_filters( 'advanced_woo_discount_rules_get_product_discount_price_from_custom_price', false, $product_data, 1, (float) $product_price, 'discounted_price', true, true ); -
/** * Allow addons to register field types that show the Options tab (e.g. Product * Group). */ apply_filters( 'epofw_builder_options_for_field_type', $epofw_options_for_field_type ); -
/** * Filters for close bracket before title with price. */ apply_filters( 'epofw_close_bracket_before_title_with_price', ')' ); -
/** * Filter for input start tag. */ apply_filters( 'epofw_field_input_start_tag_display', 'div', $args ); -
/** * Filter for end label tag class. */ apply_filters( 'epofw_field_label_end_tag_display', 'div', $args ); -
/** * Filter to allow addons to modify field prices (e.g. quantity bands, Volume / * Tiered pricing, price rules). */ apply_filters( 'epofw_field_price_before_add_to_cart', (float) $epofw_stored, $epofw_field_id, $epofw_settings, $epofw_all_values, $epofw_field_type, $epofw_product_qty, $epofw_field_qty, $epofw_base_price ); -
/** * Filter for subtitle action. */ apply_filters( 'epofw_field_subtitle_action', $html, $args ); -
/** * Filter for subtitle label class. */ apply_filters( 'epofw_field_subtitle_lbl_subtitle', $check_field_lbl_subtitle_class, $args ); -
/** * Filter for td class. */ apply_filters( 'epofw_field_td_input_class', 'value epofw_td_value epofw_' . $check_field_title_position, $args ); -
/** * Filter for title action. */ apply_filters( 'epofw_field_title_action', $html, $args ); -
/** * Filter for title label class. */ apply_filters( 'epofw_field_title_lbl_class', $check_field_lbl_class, $args ); -
/** * Apply filter for getting page. */ apply_filters( 'epofw_getting_page', $this->current_tab ); -
/** * Filter for main tag class. */ apply_filters( 'epofw_html_main_tag_class_display', 'epofw_fields_table ' . $epofw_tbl_class, $fields_data_arr ); -
/** * Filter to modify rule data after loading. */ apply_filters( 'epofw_load_additional_rules', $rule_data ); -
/** * Filters for bracket before title with price. */ apply_filters( 'epofw_open_bracket_before_title_with_price', ' (+' ); -
/** * Apply addon data filters (e.g. validation addon normalization). */ apply_filters( 'epofw_parsed_addon_data_before_save', $parsed_data ); -
/** * Below action fire after addon totals. */ do_action( 'after_epofw_addon_totals' ); -
/** * Below action fire before addon totals. */ do_action( 'before_epofw_addon_totals' ); -
/** * Filter the error message for invalid option. */ apply_filters( 'epfow_addon_invalid_option', __( 'Option is invalid', 'extra-product-options-for-woocommerce' ), $product_id ); -
/** * Apply filter for error message. */ apply_filters( "epofw_{$filter_name}_field_error_msg", $error_message ); -
/** * Hook to add extra addon configuration fields. */ do_action( 'epofw_addon_configuration_fields', $epofw_get_data, $epofw_get_post_id ); -
/** * Filter addon data after loading from database. */ apply_filters( 'epofw_addon_load_data', $addon_data ); -
/** * Filter an addon amount after it has been put into the shop's display mode. */ apply_filters( 'epofw_addon_price_to_display', $epofw_amount, $epofw_price, $fields_data, $epofw_product ); -
/** * Filter addon data before saving to database. */ apply_filters( 'epofw_addon_save_data', $addon_row, $post_id, $addon_data ); -
/** * Filter addon stock validation result (all product-group-aware addons). */ apply_filters( 'epofw_addon_stock_validation_result', $stock_validation_result, 'productgroup', $selected, $option_by_key, $fields_data, $main_product_id, $quantity, $label_title, $actual_field_name ); -
/** * End of table. */ do_action( 'epofw_addon_table_html_end' ); -
/** * Start of table html. */ do_action( 'epofw_addon_table_html_start' ); -
/** * Filter addon wrapper HTML attributes. */ apply_filters( 'epofw_addon_wrapper_attributes', array(), $epofw_fields_data_arr ); -
/** * Filter addon wrapper CSS class. */ apply_filters( 'epofw_addon_wrapper_class', 'epofw_addon_html epofw_addon_str_' . $epofw_display_style . ' ' . $epofw_action, $epofw_fields_data_arr ); -
/** * Action for current tab. */ do_action( 'epofw_admin_action_current_tab' ); -
/** * Fires after admin scripts and styles are enqueued. */ do_action( 'epofw_admin_enqueue_scripts', $hook ); -
/** * Filter admin localized script data. */ apply_filters( 'epofw_admin_localize_data', $localize_args ); -
/** * Apply filter for admin tab. */ apply_filters( 'epofw_admin_tab_ft', '' ); -
/** * Fires after addon data has been added to cart item. */ do_action( 'epofw_after_add_cart_item_data', $cart_item, $product_id ); -
/** * Filter the priority for after add to cart button hook. */ apply_filters( 'epofw_after_add_to_cart_button_priority', 10 ); -
/** * Fire action after addon details position. */ do_action( 'epofw_after_addon_details_position' ); -
/** * Fire action after addon details title. */ do_action( 'epofw_after_addon_details_title' ); -
/** * Fires after the rating field is rendered. */ do_action( 'epofw_after_addon_field_rating' ); -
/** * Fires after addon HTML is rendered on product page. */ do_action( 'epofw_after_addon_html', $fields_data_arr, $epofw_action ); -
/** * Fire action after custom css display. */ do_action( 'epofw_after_custom_css_display' ); -
/** * Fires after an addon has been deleted. */ do_action( 'epofw_after_delete_addon', $product_id ); -
/** * Fires after the discount popup HTML is rendered. */ do_action( 'epofw_after_discount_popup', $upgrade_url, $content ); -
/** * Fire action after display structure. */ do_action( 'epofw_after_display_structure' ); -
/** * Fires after an addon has been duplicated. */ do_action( 'epofw_after_duplicate_addon', $new_post_id, $product_id ); -
/** * Fire action after global label settings. */ do_action( 'epofw_after_global_label_settings' ); -
/** * Fire action after hide addon details. */ do_action( 'epofw_after_hide_addon_details' ); -
/** * Fires after the field HTML is displayed. */ do_action( 'epofw_after_html_field_display', $epofw_current_args ); -
/** * Fires after addon has been saved to database. */ do_action( 'epofw_after_save_addon', $method_id, $new_epofw_data, $action ); -
/** * Fires after section wrapper is closed. */ do_action( 'epofw_after_section_wrapper', $section_id, $section_settings ); -
/** * Fire action after shop addon details display. */ do_action( 'epofw_after_shop_addon_details_display' ); -
/** * Fire action after show shop page addon. */ do_action( 'epofw_after_shop_addon_display' ); -
/** * Filters for All fields attribute. */ apply_filters( 'epofw_all_fields_attr', wp_json_encode( array($field_attr_atrr) ), $args ); -
/** * Filter APF's measured contribution before it is folded in. */ apply_filters( 'epofw_apf_price_component', $epofw_apf_component, $epofw_cart_item ); -
/** * Fire action before addon details position. */ do_action( 'epofw_before_addon_details_position' ); -
/** * Fire action before addon details title. */ do_action( 'epofw_before_addon_details_title' ); -
/** * Fires before the rating field is rendered. */ do_action( 'epofw_before_addon_field_rating' ); -
/** * Fires before addon HTML is rendered on product page. */ do_action( 'epofw_before_addon_html', $fields_data_arr, $epofw_action ); -
/** * Fire action before custom css display. */ do_action( 'epofw_before_custom_css_display' ); -
/** * Fires before an addon is deleted. */ do_action( 'epofw_before_delete_addon', $product_id ); -
/** * Fires before the discount popup is rendered. */ do_action( 'epofw_before_discount_popup', $upgrade_url, $content ); -
/** * Fire action before display structure. */ do_action( 'epofw_before_display_structure' ); -
/** * Filter addon data before saving duplicate. */ apply_filters( 'epofw_before_duplicate_addon_data', $addon_data, $new_post_id, $product_id ); -
/** * Filters for before format price with decimals. */ apply_filters( 'epofw_before_format_price_with_decimals', $opt_price, $egppc_args, $fields_data ); -
/** * Fire action before global label settings. */ do_action( 'epofw_before_global_label_settings' ); -
/** * Fire action before hide addon details. */ do_action( 'epofw_before_hide_addon_details' ); -
/** * Fires before the field HTML is displayed. */ do_action( 'epofw_before_html_field_display', $epofw_current_args ); -
/** * Filter the fields data before rendering addon HTML. */ apply_filters( 'epofw_before_render_addon_fields', $fields_data_arr, $epofw_action ); -
/** * Filter addon data before saving to database. */ apply_filters( 'epofw_before_save_addon_data', $new_epofw_data, $method_id, $action ); -
/** * Fires before section wrapper is rendered. */ do_action( 'epofw_before_section_wrapper', $section_id, $section_settings, $section_title ); -
/** * Action before sections loop - for tab navigation. */ do_action( 'epofw_before_sections_loop', $epofw_fields_general_data_arr, $epofw_full_addon_data ); -
/** * Fire action before shop addon details display. */ do_action( 'epofw_before_shop_addon_details_display' ); -
/** * Fire action before show shop page addon. */ do_action( 'epofw_before_shop_addon_display' ); -
/** * Filters to calculate price based on condition. */ apply_filters( 'epofw_calculate_price_based_on_condition', $addon_price, $epofwtwp_args, $fields_data ); -
/** * Filters to calculated price based on condition. */ apply_filters( 'epofw_calculated_price_based_on_condition', $addon_price, $price, $price_type, $product_price ); -
/** * Filter the base price our addon prices are added to. */ apply_filters( 'epofw_cart_item_base_price', $base_price, $cart_item ); -
/** * Filter cart item data after addon data has been added. */ apply_filters( 'epofw_cart_item_data_after_addon', $cart_item, $product_id ); -
/** * Filter cart item display data before returning. */ apply_filters( 'epofw_cart_item_display_data', $meta_items, $cart_item ); -
/** * Filters to check enable extra price. */ apply_filters( 'epofw_check_enable_price_extra', $enable_price_extra, $fields_data ); -
/** * Fires after all compatibility modules are loaded. */ do_action( 'epofw_compatibility_loaded', $this->loaded_modules ); -
/** * Filter plugin compatibility mappings before loading. */ apply_filters( 'epofw_compatibility_plugin_mappings', $this->plugin_mappings ); -
/** * Filter theme compatibility mappings before loading. */ apply_filters( 'epofw_compatibility_theme_mappings', $this->theme_mappings ); -
/** * Filter whether to add !important to custom CSS declarations. */ apply_filters( 'epofw_custom_css_add_important', true, $custom_css, $scope_selector ); -
/** * Filter the final custom CSS before output. */ apply_filters( 'epofw_custom_css_output', $custom_css, $scope_selector ); -
/** * Filters to get default template path. */ apply_filters( 'epofw_default_template_path', EPOFW_TEMPLATE_PATH ); -
/** * Filter the admin pages where discount popup should appear. */ apply_filters( 'epofw_discount_popup_admin_pages', $plugin_pages, $screen ); -
/** * Filter the discount popup content strings. */ apply_filters( 'epofw_discount_popup_content', $content ); -
/** * Fires after the discount popup has been dismissed by a user. */ do_action( 'epofw_discount_popup_dismissed', $current_user_id, $dismiss_time ); -
/** * Filter to enable/disable the discount popup completely. */ apply_filters( 'epofw_discount_popup_enabled', true ); -
/** * Filter the initial delay before showing the discount popup. */ apply_filters( 'epofw_discount_popup_initial_delay', WEEK_IN_SECONDS ); -
/** * Filter the delay before popup reappears after dismissal. */ apply_filters( 'epofw_discount_popup_reappear_delay', 2 * WEEK_IN_SECONDS ); -
/** * Filter the final decision on whether to display the discount popup. */ apply_filters( 'epofw_discount_popup_should_display', true, $current_user_id, $install_date ); -
/** * Filter the discount popup upgrade URL. */ apply_filters( 'epofw_discount_popup_upgrade_url', $upgrade_url ); -
/** * Apply filter for display name in cart. */ apply_filters( 'epofw_display_name_in_cart', $epofw_name, $epofw_data_value, $check_epofw_haoic, $check_epofw_haopic ); -
/** * Filters for display product price. */ apply_filters( 'epofw_display_product_price', $product_price, $product_data ); -
/** * Apply filters for display product price before tax. */ apply_filters( 'epofw_display_product_price_before_tax', $raw_price, $product_data ); -
/** * Apply filter for display value in cart. */ apply_filters( 'epofw_display_value_in_cart', $epofw_value, $epofw_type, $epofw_data_value ); -
/** * Apply filter for display value in cart block. */ apply_filters( 'epofw_display_value_in_cart_block', $display_value, $epofw_type, $epofw_data_value, $check_epofw_haopic ); -
/** * Filter to customize all rules evaluation result. */ apply_filters( 'epofw_evaluate_all_rules', $final_result, $rule_data, $current_prd_id ); -
/** * Filter to customize condition evaluation result. */ apply_filters( 'epofw_evaluate_condition', $result, $condition_data, $current_prd_id ); -
/** * Filter to customize group evaluation result. */ apply_filters( 'epofw_evaluate_rule_group', $result, $group, $current_prd_id ); -
/** * Filters for field additional conditional name. */ apply_filters( 'epofw_field_additional_conditional_name', $conditional_name_arr ); -
/** * Filters for field additional conditional operator. */ apply_filters( 'epofw_field_additional_conditional_operator', $conditional_op_arr ); -
/** * After subtitle. */ do_action( 'epofw_field_after_subtitle', $args ); -
/** * After title. */ do_action( 'epofw_field_after_title', $args ); -
/** * Before subtitle. */ do_action( 'epofw_field_before_subtitle', $args ); -
/** * Before title. */ do_action( 'epofw_field_before_title', $args ); -
/** * Filter border style options for the field container settings UI. */ apply_filters( 'epofw_field_container_border_style_data', $options ); -
/** * Filter spacing unit options for field container padding/margin. */ apply_filters( 'epofw_field_container_spacing_units_data', $options ); -
/** * Filters for field content type options data. */ apply_filters( 'epofw_field_content_type_options_data', $field_type_arr ); -
/** * Fires after general settings fields so addons can add type-specific settings * (e.g. Product Group). */ do_action( 'epofw_field_general_settings_extra', $epofw_field_type, $epofw_field_data, $epofw_field_name_prefix, $epofw_field_id, $epofw_get_post_id ); -
/** * Filters for field heading type options data. */ apply_filters( 'epofw_field_heading_type_options_data', $field_type_arr ); -
/** * Filter for end input tag. */ apply_filters( 'epofw_field_input_end_tag_display', 'div', $args ); -
/** * End td. */ do_action( 'epofw_field_input_end_td', $args ); -
/** * Filter for start label tag. */ apply_filters( 'epofw_field_label_start_tag_display', 'div', $args ); -
/** * Filter rating field property. */ apply_filters( "epofw_field_property_rating_{$epofw_attr_name}", $epofw_attr_value, $args ); -
/** * Filter rating field name property. */ apply_filters( 'epofw_field_property_rating_name', $epofw_attr_value . '[value]', $args ); -
/** * Filters for field restriction options data. */ apply_filters( 'epofw_field_restriction_options_data', $field_type_arr ); -
/** * Fires after all field settings tabs content. */ do_action( 'epofw_field_settings_tab_content', $epofw_field_type, $epofw_field_id, $epofw_field_data, $epofw_field_name_prefix, $epofw_section ); -
/** * Filter field settings tabs. */ apply_filters( 'epofw_field_settings_tabs', $epofw_tabs, $epofw_field_type, $epofw_field_id, $epofw_field_data ); -
/** * Display subtitle html. */ do_action( 'epofw_field_subtitle', $args ); -
/** * Filters whether a field type supports a per-field quantity. */ apply_filters( 'epofw_field_supports_field_quantity', $epofw_supported, $field_type ); -
/** * Display title html. */ do_action( 'epofw_field_title', $args ); -
/** * Filter and retrieve title position data for Extra Product Options fields. * This line of code applies a filter to get the title position data for Extra * Product Options fields and returns the filtered data array. */ apply_filters( 'epofw_field_title_position_data', $title_position_arr ); -
/** * Filters for field type options data. */ apply_filters( 'epofw_field_type_options_data', $field_type_arr ); -
/** * Filter field types with icons and descriptions. */ apply_filters( 'epofw_field_types_with_icons', $field_type_arr ); -
/** * Apply filter for find match id. */ apply_filters( 'epofw_find_match_id', array_unique( $matched_id_arr ) ); -
/** * Filter to force validation even without nonce. Used for theme compatibility * (e.g., Elessi/NASA themes with custom AJAX). */ apply_filters( 'epofw_force_validation_without_nonce', false, $product_id ); -
/** * Filters to format price with decimals. */ apply_filters( 'epofw_format_price_with_decimals', $opt_price, $addon_price, $egppc_args, $fields_data ); -
/** * Fires after frontend scripts are enqueued. */ do_action( 'epofw_front_enqueue_scripts', $product_data ); -
/** * Filter frontend localized script data. */ apply_filters( 'epofw_front_localize_data', $front_localize_args, $product_data ); -
/** * Allow addons to register field types that have a front template. */ apply_filters( 'epofw_front_render_field_types', $fields_array ); -
/** * Freemius SDK. */ do_action( 'epofw_fs_loaded' ); -
/** * Filters for get addon price. */ apply_filters( 'epofw_get_addon_price', $addon_price, $fields_data ); -
/** * Filters for get addon price type. */ apply_filters( 'epofw_get_addon_price_type', $addon_price_type, $fields_data ); -
/** * Filters to get field content. */ apply_filters( 'epofw_get_field_content', $content, $fields_data ); -
/** * Filters to get field content type. */ apply_filters( 'epofw_get_field_content_type', $content_type, $fields_data ); -
/** * Filters to get field heading type. */ apply_filters( 'epofw_get_field_heading_type', $heading_type, $fields_data ); -
/** * Filters to get field input property. */ apply_filters( 'epofw_get_field_input_property', $field_input_property, $fields_data ); -
/** * Filters to get field label class. */ apply_filters( 'epofw_get_field_label_class', $epofw_field_label_class, $epofw_fields_data ); -
/** * Filters to get field label subtitle. */ apply_filters( 'epofw_get_field_label_subtitle', $epofw_field_label_subtitle, $epofw_fields_data ); -
/** * Filters to get field label subtitle class. */ apply_filters( 'epofw_get_field_label_subtitle_class', $epofw_field_label_subtitle_class, $epofw_fields_data ); -
/** * Filters to field label subtitle type. */ apply_filters( 'epofw_get_field_label_subtitle_type', $epofw_field_label_subtitle_type, $epofw_fields_data ); -
/** * Filters to get field label title. */ apply_filters( 'epofw_get_field_label_title', $epofw_field_label_title, $epofw_fields_data ); -
/** * Filters to get field label title position. */ apply_filters( 'epofw_get_field_label_title_position', $epofw_field_label_title_position, $epofw_fields_data ); -
/** * Filters to get field label title type. */ apply_filters( 'epofw_get_field_label_title_type', $epofw_field_label_title_type, $epofw_fields_data ); -
/** * Filters to get field required. */ apply_filters( 'epofw_get_field_required', $required, $fields_data ); -
/** * Filters to get field restriction. */ apply_filters( 'epofw_get_field_restriction', $field_restriction, $fields_data ); -
/** * Filters to get field settings. */ apply_filters( 'epofw_get_field_settings', $field_settings, $fields_data ); -
/** * Filters to get field type. */ apply_filters( 'epofw_get_field_type', $field_type, $fields_data ); -
/** * Apply filter for get field data. */ apply_filters( 'epofw_get_fields_data', $get_data ); -
/** * Apply filter for get match data from DB. */ apply_filters( 'epofw_get_match_data_from_db', $main_get_data_arr ); -
/** * Filter global settings payload before save. */ apply_filters( 'epofw_global_settings_save', $epofw_sanitized_global_data ); -
/** * Fire action for additional global settings sections (separate boxes). */ do_action( 'epofw_global_settings_sections' ); -
/** * Filter for child tag class. */ apply_filters( 'epofw_html_child_tag_class_display', 'epofw_middle_tg', $fields_data_arr ); -
/** * Filter for end child tag. */ apply_filters( 'epofw_html_end_child_tag_display', 'div' ); -
/** * Filter for end main tag. */ apply_filters( 'epofw_html_end_main_tag_display', 'div' ); -
/** * Filter for end tr tag. */ apply_filters( 'epofw_html_end_tr_tag_display', 'div', $args ); -
/** * Filter the field container CSS class. */ apply_filters( 'epofw_html_field_class_display', 'epofw_field_container epofw_tr_se epofw_label_' . $epofw_check_field_title_position, $epofw_current_args ); -
/** * Filter for start child tag. */ apply_filters( 'epofw_html_start_child_tag_display', 'div', $fields_data_arr ); -
/** * Filter the HTML tag used for field container. */ apply_filters( 'epofw_html_start_field_tag_display', 'div', $epofw_current_args ); -
/** * Filter for start main tag. */ apply_filters( 'epofw_html_start_main_tag_display', 'div', $fields_data_arr ); -
/** * Filter the HTML tag for the start of a table row (tr) during display. * Applies a filter to customize the HTML tag for the start of a table row (tr) * based on the provided structure. */ apply_filters( 'epofw_html_start_tr_tag_display', 'div', $args ); -
/** * Filter the CSS class for a table row (tr) during display. Applies a filter * to customize the CSS class for a table row (tr) based on specific * conditions. */ apply_filters( 'epofw_html_tr_class_display', 'epofw_tr_se epofw_label_' . $check_field_title_position, $args ); -
/** * Apply filter for admin page. */ apply_filters( 'epofw_ie_admin_page_ft', $this->current_tab ); -
/** * Apply filter for admin tab. */ apply_filters( 'epofw_ie_admin_tab_ft', $current_tab_array ); -
/** * Filter font weight options for label styling (global settings). */ apply_filters( 'epofw_label_styling_font_weight_data', $options ); -
/** * Filter text alignment options for label styling (global settings). */ apply_filters( 'epofw_label_styling_text_align_data', $options ); -
/** * Filter text transform options for label styling (global settings). */ apply_filters( 'epofw_label_styling_text_transform_data', $options ); -
/** * Filter the maximum number of addon post IDs to retrieve when finding * matches. This prevents unbounded queries on sites with many addons. */ apply_filters( 'epofw_max_addon_ids_in_match_query', 1000 ); -
/** * Filter the maximum number of products to retrieve in select all products * dropdown. */ apply_filters( 'epofw_max_products_in_dropdown', 500 ); -
/** * Filter the re-pointed uploads URL. */ apply_filters( 'epofw_normalized_upload_url', trailingslashit( $uploads['baseurl'] ) . $relative, $url ); -
/** * Filters for option price with wc format and with title. */ apply_filters( 'epofw_opt_price_with_wc_price_format_title_with_price', wc_price( epofw_price_filter( $opt_price ), $epofwtwp_args ), $fields_data ); -
/** * Filters for option price without wc format and with title. */ apply_filters( 'epofw_opt_price_without_wc_price_format_title_with_price', epofw_calculate_price_based_on_condition( $epofwtwp_args, $fields_data ), $epofwtwp_args, $fields_data ); -
/** * Filter the price types a quantity band may carry. */ apply_filters( 'epofw_option_band_price_types', $epofw_types ); -
/** * Filter the field types that offer quantity bands on their option rows. */ apply_filters( 'epofw_option_qty_band_field_types', $epofw_types ); -
/** * Apply filter for order item display meta value. */ apply_filters( 'epofw_order_item_display_meta_value', $out_display_value, $display_value, $item ); -
/** * Apply filter for price without tax. */ apply_filters( 'epofw_original_price_without_tax', $prices['price_without_tax'], $cart_item_data ); -
/** * Apply filter for regular price without tax. */ apply_filters( 'epofw_original_regular_price_without_tax', $prices['regular_price_without_tax'], $cart_item_data ); -
/** * Apply filter for sale price without tax. */ apply_filters( 'epofw_original_sale_price_without_tax', $prices['sale_price_without_tax'], $cart_item_data ); -
/** * Filter to modify rule data before saving. */ apply_filters( 'epofw_pre_save_additional_rules', $addon_data['additional_rule_data'] ); -
/** * Apply filter for price before calculation. */ apply_filters( 'epofw_price_before_calculation', $prices['price'], $cart_item_data ); -
/** * Filters for addon price. */ apply_filters( 'epofw_price_filter', $epofw_price ); -
/** * Filters for price type data. */ apply_filters( 'epofw_price_type_data', $title_position_arr, $type ); -
/** * Filters for all price type data including PRO options. */ apply_filters( 'epofw_price_type_data_all', $options, $type ); -
/** * Hook inside the Field Price card body for type-specific field-price extras * (e.g. the Rating per-star grid). Fires before the card closes so those * controls belong to Step 1 · Field Price. */ do_action( 'epofw_pricing_field_price_extra', $epofw_field_type, $epofw_field_data, $epofw_field_name_prefix, $epofw_field_id, $epofw_options_data, $epofw_addon_price_type ); -
/** * Hook inside the Pricing Options tab after all core pricing fields. Addons * inject type-specific pricing UI here so it lives inside the single tab panel * div (avoids double-panel / duplicate data-tab issues). */ do_action( 'epofw_pricing_settings_extra', $epofw_field_type, $epofw_field_data, $epofw_field_name_prefix, $epofw_field_id, $epofw_options_data, $epofw_addon_price_type ); -
/** * Filters to prints fields html. */ apply_filters( 'epofw_print_fields_html', wp_kses( $html, wp_kses_allowed_html( 'epofw_custom' ) ), $attr_data, $field_type ); -
/** * Filter the HTML for the Product Group field options table (addon output). */ apply_filters( 'epofw_productgroup_options_table', '', $epofw_field_id, $epofw_field_name_prefix, $epofw_field_options, $epofw_options_data, $epofw_get_post_id ); -
/** * Filter whether Product Group should validate stock for selected products. */ apply_filters( 'epofw_productgroup_should_validate_stock', !$disable_stock, $selected, $settings, $main_product_id, $actual_field_name ); -
/** * Filter Product Group stock validation result (before generic addon filter). */ apply_filters( 'epofw_productgroup_stock_validation_result', true, $selected, $option_by_key, $fields_data, $main_product_id, $quantity, $label_title, $actual_field_name ); -
/** * Apply filter for regular price before calculation. */ apply_filters( 'epofw_regular_price_before_calculation', $prices['regular_price'], $cart_item_data ); -
/** * Apply filter for render color code. */ apply_filters( 'epofw_render_color_code', esc_html( $get_epofw_value ) ); -
/** * Apply filter for render color html. */ apply_filters( 'epofw_render_color_html', $epofw_value, esc_html( $get_epofw_value ) ); -
/** * Filter the instance label text displayed in cart/order. */ apply_filters( 'epofw_repeater_instance_label', __( 'Instance', 'extra-product-options-for-woocommerce' ) ); -
/** * Apply filter for sale price before calculation. */ apply_filters( 'epofw_sale_price_before_calculation', $prices['sale_price'], $cart_item_data ); -
/** * Fires after all section settings tabs content. */ do_action( 'epofw_section_settings_tab_content', $epofw_section_id, $epofw_section_data, $epofw_section_settings ); -
/** * Filter section settings tabs. */ apply_filters( 'epofw_section_settings_tabs', $epofw_tabs, $epofw_section_id, $epofw_section_settings ); -
/** * Action after section title. */ do_action( 'epofw_section_title_after', $section_id, $section_settings ); -
/** * Filter section title HTML. */ apply_filters( 'epofw_section_title_html', $title_html, $section_id, $section_title, $section_settings ); -
/** * Filter section wrapper HTML attributes. */ apply_filters( 'epofw_section_wrapper_attributes', array(), $section_id, $section_settings ); -
/** * Filter section wrapper CSS classes. */ apply_filters( 'epofw_section_wrapper_class', $section_class, $section_id, $section_settings ); -
/** * Action after section wrapper opens, before label check. */ do_action( 'epofw_section_wrapper_start', $section_id, $section_title, $section_settings, $show_label ); -
/** * Apply filter for set addon price. */ apply_filters( 'epofw_set_addon_price_after', $updated_addon_price, $addon_price, $addon_qty, $quantity ); -
/** * Apply filter for set product price. */ apply_filters( 'epofw_set_product_price_after', $epofw_final_price, $quantity ); -
/** * Apply filter for set product regular price. */ apply_filters( 'epofw_set_product_regular_price_after', $epofw_final_regular, $quantity ); -
/** * Apply filter for set product sale price. */ apply_filters( 'epofw_set_product_sale_price_after', $epofw_final_sale, $quantity ); -
/** * Filter resolved slider display mode (single vs range). */ apply_filters( 'epofw_slider_mode', $slider_mode, $args, $epofw_args ); -
/** * Filter default min/max for range slider handles before clamping. */ apply_filters( 'epofw_slider_range_defaults', array( 'min' => $default_min_value, 'max' => $default_max_value, ), $args, $epofw_args ); -
/** * Filter pricing strategy for dual-handle (range) sliders. */ apply_filters( 'epofw_slider_range_pricing_strategy', $slider_range_pricing_strategy, $args, $epofw_args ); -
/** * Filters to override path. */ apply_filters( 'epofw_template_override_path', EPOFW_TEMPLATE_CONSTANT . '/' ); -
/** * Allows addons to inject additional validation fields for text fields. */ do_action( 'epofw_text_field_validation_settings', $epofw_field_type, $epofw_general_data, $epofw_field_name_prefix, $epofw_field_id, $epofw_get_post_id ); -
/** * Allows addons to inject additional validation fields for textarea fields. */ do_action( 'epofw_textarea_field_validation_settings', $epofw_field_type, $epofw_general_data, $epofw_field_name_prefix, $epofw_field_id, $epofw_get_post_id ); -
/** * Filter theme-specific cart fragments. */ apply_filters( 'epofw_theme_flavor_cart_fragments', $theme_fragments, $cart_subtotal, $cart_count ); -
/** * Filters for title with price. */ apply_filters( 'epofw_title_with_price', $label_title, $epofwtwp_args, $fields_data );
Generated from Extra Product Options for WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: