MKL Product Configurator for WooCommerce 2.2.1 has 125 actions and 254 filters, read directly from its source code on Nov 19, 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 MKL Product Configurator for WooCommerce fires an action
add_action( 'mkl_pc/storage/before_read', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value MKL Product Configurator for WooCommerce is about to use
add_filter( 'mkl_pc_user_can_edit_item_from_cart', function( $pc ) {
// Change $pc here.
return $pc;
}, 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.
Changes by version
2.2.0 β 2.2.1 Β· Nov 19, 2026 Β· 3 added, 0 removed
Added
- action
mkl_pc/storage/before_read - filter
wpml_original_element_id - filter
wpml_element_language_code
All hooks
-
/** * Filter mkl_pc_user_can_edit_item_from_cart. Whether or not to display the * edit link in the cart */ apply_filters( 'mkl_pc_user_can_edit_item_from_cart', mkl_pc( 'settings' )->get( 'show_edit_configuration_link' ) ); -
/** * Filter mkl_pc/sku_mode Filters the SKU display mode, set in the configurator * settings */ apply_filters( 'mkl_pc/sku_mode', mkl_pc( 'settings')->get( 'sku_mode', 'individual' ), $product ); -
/** * This action is documented in inc/db.php */ do_action( 'mkl_pc/storage/before_read', (int) $product_id ); -
/** * Filter the product's configuration JavaScript object which will be used in * the frontend */ apply_filters( 'mkl_pc_get_configurator_data_js_output', $output, $id, $data ); -
/** * This action is documented in templates/emails/quote-request-details.php */ do_action( 'mkl_pc/email/quote_request/after_details', $quote_request, $sent_to_admin, true, $email ); -
/** * Filters the list of attributes added to the configurator trigger element. */ apply_filters( 'get_configurator_element_attributes', $data_attributes, $product ); -
/** * Settings written when the configurator is installed for the first time. */ apply_filters( 'mkl_pc__initial_settings', array_merge( $this->get_defaults(), array( 'show_price_in_configurator' => 'on', 'show_active_choice_in_layer' => 'on', 'show_angle_name' => 'on', 'viewer_active_images_only' => 'on', 'viewer_2d_renderer' => 'canvas', 'purge_with_page_cache' => 'on', ) ) ); -
/** * Add extra field rows to the Background section (e.g. an image picker for an * "Image" mode). Runs inside an Underscore template, so callbacks may use `<# * #>` against `data`. */ do_action( 'mkl_pc_3d_background_extra_fields' ); -
/** * Add extra <option> elements to the background mode select (e.g. an "Image" * mode from an add-on). Runs inside an Underscore template, so callbacks may * use `<# #>` against `data`. */ do_action( 'mkl_pc_3d_background_mode_options' ); -
/** * Filter the 3D object fields that hold a file reference (`{attachment_id, * url}`). */ apply_filters( 'mkl_pc_3d_object_file_keys', array( 'gltf', 'light_cookie', 'env_hdri_file', 'env_cubemap_px', 'env_cubemap_nx', 'env_cubemap_py', 'env_cubemap_ny', 'env_cubemap_pz', 'env_cubemap_nz' ) ); -
/** * Whether the eager 3D models are preloaded from <head>, before any intent to * configure. */ apply_filters( 'mkl_pc_3d_preload_in_head', $opens_by_itself, $product_id ); -
/** * Filter the file extensions routed into configurator_assets/3D, whichever * uploader sent them. */ apply_filters( 'mkl_pc_3d_routed_extensions', self::DEFAULT_ROUTED_EXTENSIONS ); -
/** * Filter the size of the 3D cart screenshot, which is also the largest one * accepted. */ apply_filters( 'mkl_pc_3d_screenshot_dimensions', array( 'width' => $w, 'height' => $h ) ); -
/** * Filter the 3D settings that hold a file reference (`{attachment_id, url}`), * as dot paths. */ apply_filters( 'mkl_pc_3d_settings_file_paths', array( 'poster' ) ); -
/** * Fires when the 3D viewer is enqueued for a product: on its product page, or * for a shortcode showing it on any other page. Once per product and request. */ do_action( 'mkl_pc_3d_viewer_enqueued', $product_id ); -
/** * Filters the action buttons for a single add-on card. */ apply_filters( 'mkl_pc_addon_card_actions', '', $addon, $is_installed ); -
/** * Filters the add-on catalog shown in the Addons tab. */ apply_filters( 'mkl_pc_addons_catalog', include 'addons.php' ); -
/** * Fires at the top of the Addons tab, before the add-on list. */ do_action( 'mkl_pc_addons_tab_before' ); -
/** * Filter the allowlist of material property names usable in actions_3d. */ apply_filters( 'mkl_pc_allowed_3d_material_properties', $properties ); -
/** * Filter whether the configuration is loaded from the database instead of the * static file. */ apply_filters( 'mkl_pc_bypass_config_cache', $live, $product_id ); -
/** * Filter how long, in seconds, a request waits for another request that is * already rebuilding the same product's config file. */ apply_filters( 'mkl_pc_config_build_lock_wait', 5, $product_id ); -
/** * Filter the max-age sent with a rebuilt config file. Deliberately short: the * URL carries no version string, so a purge cannot reach anything that cached * it. Once this response has been sent the web server serves the file directly * and applies its own headers, so this only covers the rebuild itself. */ apply_filters( 'mkl_pc_config_file_max_age', 5 * MINUTE_IN_SECONDS ); -
/** * Filter the available configurator types. */ apply_filters( 'mkl_pc_configurator_types', array( 'configurator' => __( '2D configurator', 'product-configurator-for-woocommerce' ), '3d' => __( '3D configurator', 'product-configurator-for-woocommerce' ), ) ); -
/** * Filter the posts that hold content chunks for a layer structure. */ apply_filters( 'mkl_pc_content_owner_ids', array_values( array_unique( $ids ) ), $layers_owner_id ); -
/** * Filters the display modes available for a given layer */ apply_filters( 'mkl_pc_display_modes', $display_modes ); -
/** * Filters whether or not to override the images using the ID and the image * size specified in the settings. */ apply_filters( 'mkl_pc_do_not_override_images', false ); -
/** * Filters allowed token purposes (mint + consume). */ apply_filters( 'mkl_pc_frontend_action_token_purposes', $purposes ); -
/** * Whether to skip captcha for this token mint request (e.g. authenticated * users). */ apply_filters( 'mkl_pc_frontend_action_token_skip_captcha', is_user_logged_in(), $purpose, $request ); -
/** * Filters the configuration to add to cart */ apply_filters( 'mkl_pc_get_saved_configuration_content', $configuration_to_load ); -
/** * Filter the views a global layer is edited against. */ apply_filters( 'mkl_pc_global_layer_angles', $angles, $global_id ); -
/** * Filter what a global layer reports it can render. */ apply_filters( 'mkl_pc_global_layer_capabilities', $capabilities, $layer, $choices ); -
/** * Filter the capability tag labels. */ apply_filters( 'mkl_pc_global_layer_capability_labels', array( self::CAP_2D => __( 'Images', 'product-configurator-for-woocommerce' ), self::CAP_3D => __( '3D', 'product-configurator-for-woocommerce' ), ) ); -
/** * Filter the configurator type a global layer is edited as. */ apply_filters( 'mkl_pc_global_layer_configurator_type', $type, $global_id ); -
/** * Filter the owners whose caches are flushed when a global layer changes. */ apply_filters( 'mkl_pc_global_layer_consumers', $consumers, $global_id ); -
/** * Filter the mismatched-import warning. */ apply_filters( 'mkl_pc_global_layer_import_warning', $warning, $capabilities, $configurator_type ); -
/** * Filter the layer settings a link to a global layer cannot override. */ apply_filters( 'mkl_pc_global_layer_override_excluded_fields', $excluded ); -
/** * Filter the layer fields switched together on a linked global layer. */ apply_filters( 'mkl_pc_layer_override_groups', $groups ); -
/** * Decorative layer thumbnail by default (empty alt). Return a non-empty string * for an informative override. */ apply_filters( 'mkl_pc_layer_thumbnail_alt', '', null ); -
/** * Add extra items at the bottom of the layers βmoreβ menu. */ do_action( 'mkl_pc_layers_toolbar_dropdown' ); -
/** * Add extra items at the top of the layers βmoreβ menu (after Import). */ do_action( 'mkl_pc_layers_toolbar_dropdown_top' ); -
/** * Filter the image size the editor's stack preview is built from. */ apply_filters( 'mkl_pc_preview_sources_size', $size, $ids ); -
/** * Filter whether clearing a page cache also clears the cached configurations. */ apply_filters( 'mkl_pc_purge_with_page_cache', (bool) mkl_pc( 'settings' )->get( 'purge_with_page_cache' ) ); -
/** * Filters the client key used for rate limiting. */ apply_filters( 'mkl_pc_rate_limit_client_key', $key, $ip ); -
/** * Filters the rate limit rule for an action. */ apply_filters( 'mkl_pc_rate_limit_rule', $default, $action ); -
/** * Action mkl_pc_saved_configurator_data, triggered when an item is saved */ do_action( 'mkl_pc_saved_configurator_data', $id, $ref_id, $component, $data, $modified_choices ); -
/** * Action mkl_pc_saved_global_layer, triggered when a global layer is saved */ do_action( 'mkl_pc_saved_global_layer', $result, $layer, $content ); -
/** * Filter the renderer of the 2D viewer. */ apply_filters( 'mkl_pc_viewer_2d_renderer', $renderer, (int) $product_id ); -
/** * After the configuration of a stored quote request, in the admin */ do_action( 'mkl_pc/admin/quote_request/after_configuration', $request ); -
/** * In the status box of a stored quote request, before the save button */ do_action( 'mkl_pc/admin/quote_request/status_box', $post ); -
/** * Filter mkl_pc/cart_block/edit_link_in_quantity - Whether to show the edit * link next to the quantity in the cart block. When false, the link stays in * the item's details. */ apply_filters( 'mkl_pc/cart_block/edit_link_in_quantity', true ); -
/** * Filter merge payload image token per cart choice (attachment ID, temp * basename, etc.). */ apply_filters( 'mkl_pc/cart_item/merge_layer_image_id', $layer->get_image_id( 'image' ), $layer ); -
/** * mkl_pc/choice/color - Filters the colour a choice without an image draws in * the merged picture */ apply_filters( 'mkl_pc/choice/color', $this->get_choice( 'color' ), $this ); -
/** * mkl_pc/choice/image_id - Filters the image ID resolved for a choice */ apply_filters( 'mkl_pc/choice/image_id', $image_id, $type, $this ); -
/** * mkl_pc/choice/mask_id - Filters the mask resolved for a choice's image */ apply_filters( 'mkl_pc/choice/mask_id', $mask_id, $this ); -
/** * mkl_pc/choice/saved_in_current_language - Filters whether the names saved * with a configuration are displayed as they were saved */ apply_filters( 'mkl_pc/choice/saved_in_current_language', $matches, $saved_language, $current_language, $this ); -
/** * mkl_pc/choice/saved_value - Filters a value read back from a stored * configuration */ apply_filters( 'mkl_pc/choice/saved_value', $layer_data->$key, $key, $this ); -
/** * mkl_pc/choice/source - Filters where a choice is considered to come from */ apply_filters( 'mkl_pc/choice/source', $this->source, $this ); -
/** * mkl_pc/choice/verify_saved_image - Filters whether to check that the image * saved with a configuration still exists before using it. Disable to save a * query per layer, at the cost of rendering nothing for layers whose image was * deleted from the media library. */ apply_filters( 'mkl_pc/choice/verify_saved_image', true, $attachment_id, $this ); -
/** * Meta keys removed from a line before it gets a new configuration */ apply_filters( 'mkl_pc/configuration_editor/clear_meta_keys', $keys, $item ); -
/** * Fires once an order line got a configuration from the admin, before the * order totals are recalculated */ do_action( 'mkl_pc/configuration_editor/item_saved', $item, $order, $old_data ); -
/** * Whether an order's lines can be configured from the admin. Default: when * WooCommerce lets its items be edited. */ apply_filters( 'mkl_pc/configuration_editor/order_is_editable', $order->is_editable(), $order ); -
/** * Register more targets, with Configuration_Editor::register_target() */ do_action( 'mkl_pc/configuration_editor/register_targets', $this ); -
/** * Filter mkl_pc/configuration_meta_mode - the configuration meta mode */ apply_filters( 'mkl_pc/configuration_meta_mode', $mode, $product ); -
/** * Filter the summary of a configuration */ apply_filters( 'mkl_pc/configuration/summary', array_values( array_filter( $rows ) ), $this, $context ); -
/** * Filters whether or not the user can view the configuration from the order * item Default to true if the current user can "manage_woocommerce", or the * current user is the order's customer. */ apply_filters( 'mkl_pc/current_user_can_view_order_config', $current_user_can_view_config ); -
/** * Filters the allowed tags in the custom html fields. */ apply_filters( 'mkl_pc/custom_html/allowed_tags', $tags ); -
/** * mkl_pc/customer_can_see_image_download_link - Filters whether the image * download link should be added */ apply_filters( 'mkl_pc/customer_can_see_image_download_link', 'completed' != $order->get_status(), $item_id, $item, $order ); -
/** * Filters the data fetched using the Get method */ apply_filters( 'mkl_pc/db/get', $data, $that, $product_id ); -
/** * Filter mkl_pc/db/scan_images/choice: remap the images an add-on keeps in a * choice (Form builder's upload zones and zone masks, say), after an import. * Return the choice changed to have it saved. DB::remap_image_reference() * remaps one image the way layer masks are remapped. */ apply_filters( 'mkl_pc/db/scan_images/choice', $choice, $this, $product_id, $layer_id ); -
/** * Filters the button text "Edit item in cart" */ apply_filters( 'mkl_pc/edit_item_in_cart_button/label', mkl_pc( 'settings' )->get_label( 'edit_item_in_cart', esc_html_x( 'Edit item in cart', 'Label for the edit item in cart button', 'product-configurator-for-woocommerce' ) ) ); -
/** * Filter the files attached to a configurator email. */ apply_filters( 'mkl_pc/email/attachments', parent::get_attachments(), $this->id, $this->object, $this ); -
/** * Filter the main content of a configurator email. */ apply_filters( 'mkl_pc/email/main_content', $this->format_string( $this->get_option_or_transient( 'main_content', $this->get_default_main_content() ) ), $this->object, $this ); -
/** * Whether to serve the product as the bare configurator */ apply_filters( 'mkl_pc/frame/is_frame_request', false, $product_id ); -
/** * Fires when the bare configurator is about to be served */ do_action( 'mkl_pc/frame/setup', get_queried_object_id() ); -
/** * Filter mkl_pc/order_created/individual_meta/keep_html - whether to keep the * markup in the individual layer metas. Off by default: the point of the * individual metas is to be machine readable. */ apply_filters( 'mkl_pc/order_created/individual_meta/keep_html', false, $layer, $item ); -
/** * Filter mkl_pc/order_created/individual_meta/key - the meta key of an * individual layer meta */ apply_filters( 'mkl_pc/order_created/individual_meta/key', $key, $layer, $item ); -
/** * Filter mkl_pc/order_created/individual_meta/value - the meta value of an * individual layer meta */ apply_filters( 'mkl_pc/order_created/individual_meta/value', $value, $layer, $item ); -
/** * Whether accepting a quote creates a WooCommerce order and sends the customer * to pay it */ apply_filters( 'mkl_pc/quote_request/accept_creates_order', mkl_pc( 'quotes' )->woo_order_store->is_available(), $request ); -
/** * The details a customer account gives a quote request, keyed by a field's * maps_to */ apply_filters( 'mkl_pc/quote_request/account_details', $details, $user ); -
/** * The My account endpoint of quote requests */ apply_filters( 'mkl_pc/quote_request/account_endpoint', 'quote-requests' ); -
/** * The values the request form starts with for a signed-in customer. Return [] * to start empty. */ apply_filters( 'mkl_pc/quote_request/account_values', $values, $user_id, $context ); -
/** * Whether a product can be quoted */ apply_filters( 'mkl_pc/quote_request/can_quote', true, $product_id, $variation_id ); -
/** * Fires once a stored quote request got a new configuration from the admin */ do_action( 'mkl_pc/quote_request/configuration_updated', $request, $old ); -
/** * Fires after a quote request was stored and its emails sent. */ do_action( 'mkl_pc/quote_request/created', $request ); -
/** * Fires once a customer answered a quote request */ do_action( 'mkl_pc/quote_request/customer_answered', $request, $answer, $message, $order ); -
/** * The answers a customer can give a quote request now */ apply_filters( 'mkl_pc/quote_request/customer_answers', $answers, $request ); -
/** * The statuses of quote requests, as customers read them */ apply_filters( 'mkl_pc/quote_request/customer_status_labels', $labels, $request ); -
/** * The file of a customer quote template */ apply_filters( 'mkl_pc/quote_request/customer_template', $file, $template, $args ); -
/** * After a quote request, on the customer's page */ do_action( 'mkl_pc/quote_request/customer_view/after', $request ); -
/** * Whether native quote requests are enabled */ apply_filters( 'mkl_pc/quote_request/enabled', (bool) mkl_pc( 'settings' )->get( 'quote_request_enabled' ) ); -
/** * Filter a label typed in the quote request field list, for other translation * plugins */ apply_filters( 'mkl_pc/quote_request/field_label', $translated, $label, $field_id ); -
/** * Filter the quote request fields. */ apply_filters( 'mkl_pc/quote_request/fields', $fields, $context ); -
/** * Fires once a quote request was created as an order */ do_action( 'mkl_pc/quote_request/order_created', $order, $request ); -
/** * The file name of a quote request's PDF */ apply_filters( 'mkl_pc/quote_request/pdf_filename', $request->reference . '.pdf', $request ); -
/** * What makes the PDF of quote requests */ apply_filters( 'mkl_pc/quote_request/pdf_provider', null ); -
/** * Filter a product's quote request mode */ apply_filters( 'mkl_pc/quote_request/product_mode', $mode ? $mode : 'default', $product_id ); -
/** * Fires once the quote was emailed to the customer */ do_action( 'mkl_pc/quote_request/quote_sent', $request, $message ); -
/** * Filter a quote request reference */ apply_filters( 'mkl_pc/quote_request/reference', 'Q-' . wp_date( 'Ymd' ) . '-' . $suffix ); -
/** * Filter the response to a sent quote request (e.g. to add a redirect URL) */ apply_filters( 'mkl_pc/quote_request/response', $response, $quote ); -
/** * Number of days a stored quote request is kept. 0 keeps them for good. */ apply_filters( 'mkl_pc/quote_request/retention_days', $days ); -
/** * Filter a sanitized quote request value. Add-ons sanitize their own field * types here. */ apply_filters( 'mkl_pc/quote_request/sanitize_field', $value, $raw, $field ); -
/** * Filter the quote request schema sent to the browser and to headless clients */ apply_filters( 'mkl_pc/quote_request/schema', $schema, $parent_id ); -
/** * Whether My account shows the Quote requests tab */ apply_filters( 'mkl_pc/quote_request/show_account_tab', $shown ); -
/** * Fires once a quote request is stored, before its emails are sent. */ do_action( 'mkl_pc/quote_request/stored', $request ); -
/** * Filter the places a quote request can be kept */ apply_filters( 'mkl_pc/quote_request/stores', [ $email->get_id() => $email, $this->cpt_store->get_id() => $this->cpt_store, $this->woo_order_store->get_id() => $this->woo_order_store, ] ); -
/** * Validate a quote request before it is sent. Add errors to refuse it. */ apply_filters( 'mkl_pc/quote_request/validate', new \WP_Error(), $request, $args ); -
/** * Filter the validation of a quote request value. Add-ons validate their own * field types here. */ apply_filters( 'mkl_pc/quote_request/validate_field', $result, $value, $field ); -
/** * Filter 'mkl_pc/wc_cart_get_item_data/choice_thumbnail' */ apply_filters( 'mkl_pc/wc_cart_get_item_data/choice_thumbnail', $choice_image, $selected_choice ); -
/** * Filter whether the configurator offers "Add to quote" for a product. */ apply_filters( 'mkl_pc/yith-raq/can_quote_product', $show, $quote_product ); -
/** * Action mkl-pc-configurator-choices--after executed at the end of the choices * list template */ do_action( 'mkl-pc-configurator-choices--after' ); -
/** * This filter is documented in woocommerce/templates/emails/email-styles.php */ apply_filters( 'woocommerce_is_email_preview', false ); -
do_action( 'wpml_sync_custom_field', $owner_parent_id, '_mkl_product_configurator_layers' ); -
do_action( 'mkl_pc_saved_product_configuration', $id ); -
do_action( 'mkl_pc_saved_product_configuration_content', $id, $data ); -
apply_filters( 'mkl_pc/order_created/saved_data/label', mkl_pc( 'settings' )->get_label( 'configuration_cart_meta_label', __( 'Configuration', 'product-configurator-for-woocommerce' ) ), $item ); -
do_action( 'woocommerce_email_header', $email_heading, $email ); -
do_action( 'mkl_pc_saved_product_configuration_layers', $id, array() ); -
do_action( 'mkl_pc/choice/init', $this, $this->layer_data ); -
apply_filters( 'mkl_product_configurator_init_data', $init_data, $product ); -
apply_filters( "mkl/pc/setting/{$setting}", $default ); -
do_action( 'ywraq_quote_adjust_price', $item, $product ); -
apply_filters( 'mkl_pc_cart_item_choice', $before . '<strong>' . $label_html . '</strong>' . ( $key ? '<span class="semicol">:</span> ' : ' ' ) . $value_html . $after, $key, $choice['value'], $before, $after ); -
apply_filters( 'mkl_pc_cart_item_choice__classes', $classes, $choice['layer'] ); -
apply_filters( 'mkl_pc_cart_item_choice_after', '</div>', $choice['choice'] ); -
apply_filters( 'mkl_pc_cart_item_choice_before', '<div' . ( $classes ? ' class="' . esc_attr( $classes ) . '"' : '' ) . '>', $choice['choice'] ); -
apply_filters( 'mkl_pc_choice_set_selected_choice__choice', Utils::get_array_item( $this->choices['choices'], '_id', $this->choice_id ), $this ); -
apply_filters( 'mkl_pc_choice_set_selected_choice__choices', Utils::get_array_item( $content, 'layerId', $this->layer_id ), $this ); -
apply_filters( 'mkl_pc_choice_set_selected_choice__images', ( $this->choice ? Utils::get_array_item( $this->choice['images'], 'angleId', $this->angle_id ) : false ), $this ); -
apply_filters( 'mkl_pc_get_configurator_data', $data, $id ); -
apply_filters( 'mkl_pc_get_image_url_default_empty_image', includes_url( 'images/blank.gif' ) ); -
apply_filters( 'mkl_pc_images_merge__single_image_src', $image ); -
apply_filters( 'mkl_pc_verify_chunked_storage_integrity', $cached, $parent_id, $variation_id, $force_refresh ); -
apply_filters( 'mkl_pc_woocommerce_product_types', array('simple', 'variable') ); -
apply_filters( 'mkl_pc/add_to_cart_button/default_label', esc_html__( 'Add to cart', 'woocommerce' ) ); -
do_action( 'mkl_pc/global_configurators/source_changed', $product_id, $posted_id, $previous_source ); -
do_action( 'mkl_pc/global_configurators/unlinked', $product_id, (int) $global_id, false ); -
do_action_ref_array( 'mkl_pc/wc_cart_add_item_data/adding_choice', array( $choice, &$this->content ) ); -
apply_filters( 'mkl_pc/wc_cart_add_item_data/choice_weight', floatval( $weight ), $layer ); -
apply_filters( 'mkl_product_configurator/data/set/content', $data, $id ); -
apply_filters( 'mkl_product_configurator/data/set/layers', $data, $id ); -
apply_filters( 'mkl-pc-serve-image-process-layer-image', $this->get_image_path_for_merging( $layer->image ), $layer ); -
apply_filters( 'mkl/pc/theme_id', mkl_pc( 'settings' )->get( 'mkl_pc__theme' ) ); -
do_action( 'tmpl-pc-configurator-choice-item' ); -
do_action( 'tmpl-pc-configurator-choice-item--after' ); -
apply_filters( 'woocommerce_get_item_data', [], $temp_item_data ); -
apply_filters( 'woocommerce_order_item_display_meta_key', $pair['key'], $meta, $order_item ); -
woocommerce_order_item_display_meta_value
filter Used by 5 plugins β Copy link Customise this hookapply_filters( 'woocommerce_order_item_display_meta_value', $pair['value'], $meta, $order_item ); -
apply_filters( 'woocommerce_quantity_input_max', $product->backorders_allowed() ? '' : $product->get_stock_quantity(), $product ); -
apply_filters( 'woocommerce_quantity_input_min', 1, $product ); -
apply_filters( 'wpml_object_id', $term_id, 'product_cat', false, $language_code ); -
do_action( 'wpml_register_single_string', 'Product Configurator settings', $field_options['title'], isset( $options[$field] ) ? $options[$field] : '' ); -
apply_filters( 'wpml_translate_single_string', $label, self::STRING_CONTEXT, $this->get_string_name( $field_id ) ); -
do_action( 'yith_ywraq_email_after_raq_table', $raq_data ); -
do_action( 'yith_ywraq_email_before_raq_table', $raq_data ); -
apply_filters( 'configurator_convert_base_price', false, $product ); -
apply_filters( 'load_configurator_on_page', ( $product && mkl_pc_is_configurable( $post->ID ) ) || is_a( $post, 'WP_Post' ) && ( has_shortcode( $post->post_content, 'mkl_configurator_button' ) || has_shortcode( $post->post_content, 'mkl_configurator' ) || is_a( $post, 'WP_Post' ) && get_post_meta( $post->ID, 'mkl_load_configurator_on_page', true ) ) ); -
apply_filters( 'mkl_configurator_button_data_attributes', $data_attributes, $product_id, $atts ); -
apply_filters( 'mkl_configurator_data_attributes', $data_attributes, $product_id, $atts ); -
apply_filters( 'mkl_pc__settings_defaults', array( 'save_images' => 'save_to_disk', 'show_choice_description' => false, 'show_layer_description' => false, 'preview_image_size' => 'full', 'thumbnail_size' => 'thumbnail', 'mkl_pc__theme' => 'float', ) ); -
apply_filters( 'mkl_pc_3d_allowed_zip_extensions', self::DEFAULT_ALLOWED_ZIP_EXTENSIONS ); -
apply_filters( 'mkl_pc_3d_max_extracted_bytes', self::DEFAULT_MAX_EXTRACTED_BYTES, $attachment_id ); -
apply_filters( 'mkl_pc_3d_max_zip_bytes', self::DEFAULT_MAX_ZIP_BYTES, $attachment_id ); -
apply_filters( 'mkl_pc_3d_max_zip_files', self::DEFAULT_MAX_ZIP_FILES, $attachment_id ); -
apply_filters( 'mkl_pc_3d_preload_urls', array_keys( $urls ), $product_id ); -
apply_filters( 'mkl_pc_3d_screenshot_quote_max_age', $days * DAY_IN_SECONDS ); -
apply_filters( 'mkl_pc_3d_screenshot_temp_max_age', $default_max_age ); -
apply_filters( 'mkl_pc_3d_settings_sections', array( array( 'id' => 'environment', 'title' => __( 'Environment', 'product-configurator-for-woocommerce' ), 'icon' => MKL_PC_ASSETS_URL . 'icons/3d/world.svg', 'template' => __DIR__ . '/3d-settings-sections/environment.php', ), array( 'id' => 'background', 'title' => __( 'Background', 'product-configurator-for-woocommerce' ), 'icon' => MKL_PC_ASSETS_URL . 'icons/image.svg', 'template' => __DIR... ); -
apply_filters( 'mkl_pc_3d_should_unzip_attachment', false, $attachment_id, $file ); -
do_action( 'mkl_pc_admin_documentation_content', $this->ID, $this->_product ); -
do_action( 'mkl_pc_admin_general_tab' ); -
do_action( 'mkl_pc_admin_general_tab_before_start_button' ); -
do_action( 'mkl_pc_admin_global_configurator_content', $this->ID, $this->_product ); -
apply_filters( 'mkl_pc_admin_home_actions', array( ), $this->ID, $this->_product ); -
do_action( 'mkl_pc_admin_home_actions_after', $this->ID, $this->_product ); -
do_action( 'mkl_pc_admin_home_tab' ); -
apply_filters( 'mkl_pc_admin_icon_registry', array() ); -
do_action( 'mkl_pc_admin_instructions_after', $this->ID ); -
do_action( 'mkl_pc_admin_instructions_before_content', $this->ID, $this->_product ); -
do_action( 'mkl_pc_admin_objects3d_add_tiles' ); -
do_action( 'mkl_pc_admin_order_item', $layer ); -
apply_filters( 'mkl_pc_admin_scripts', $scripts ); -
do_action( 'mkl_pc_admin_scripts_product_page' ); -
do_action( 'mkl_pc_admin_templates_after' ); -
do_action( 'mkl_pc_admin_templates_before' ); -
do_action( 'mkl_pc_after_template', $template_file, $return_instead_of_echo, $extract_these ); -
apply_filters( 'mkl_pc_angle_default_settings', $settings ); -
do_action( 'mkl_pc_angle_fields' ); -
do_action( 'mkl_pc_angle_settings' ); -
apply_filters( 'mkl_pc_angle_settings_sections', $sections ); -
do_action( 'mkl_pc_before_check_update' ); -
do_action( 'mkl_pc_before_save_product_configuration', $id, $raw_data ); -
do_action( "mkl_pc_before_save_product_configuration_{$component}", $id, $raw_data ); -
do_action( 'mkl_pc_before_template', $template_file, $return_instead_of_echo, $extract_these ); -
apply_filters( 'mkl_pc_bg_image', MKL_PC_ASSETS_URL.'images/default-bg.jpg' ); -
apply_filters( 'mkl_pc_cache_dir', array( 'path' => trailingslashit( $upload_dir['basedir'] ) . $dir, 'url' => $url ) ); -
apply_filters( 'mkl_pc_cart_item_choice_data', [ 'className' => $classes, 'key' => $choice['name'], 'name' => $choice['name'], 'value' => $choice['value'], 'choice' => $choice ], $choice ); -
apply_filters( 'mkl_pc_choice_default_settings', $fields ); -
do_action( 'mkl_pc_choice_fields' ); -
apply_filters( 'mkl_pc_choice_items_attributes', array( 'class' => 'choice-item', ) ); -
apply_filters( 'mkl_pc_choice_settings_sections', $sections ); -
apply_filters( 'mkl_pc_choice_sleep_properties', [ 'product_id', 'variation_id', 'layer_id', 'choice_id', 'angle_id', 'layer_data', 'content_id' ], $this ); -
do_action( 'mkl_pc_chunked_storage_finalized', $parent_id, $variation_id, $verify ); -
apply_filters( 'mkl_pc_config_file_name', 'product_configuration_' . $product_id . '.' . $format, $product_id, $format ); -
apply_filters( 'mkl_pc_configuration_price_shortcode_output', $output, $price, $atts, $config_id ); -
apply_filters( 'mkl_pc_configuration_saved_message_success', __( 'The configuration was saved successfully!', 'product-configurator-for-woocommerce' ) ); -
apply_filters( 'mkl_pc_configuration_visibility', $this->configuration_visibility, $this ); -
apply_filters( 'mkl_pc_configure_button', '<button class="configure-product configure-product-' . $product_type . ' ' . esc_attr( $this->button_class ) . '" ' . $attributes . ' type="button"><span class="configure-button--label">' . esc_html( $label ) . '</span><span class="loading-icon" aria-hidden="true"><i></i></span></button>' ); -
apply_filters( 'mkl_pc_configure_button_a11y_description', '<h2 class="screen-reader-text">' . esc_html_x( 'Press the Configure button to enter the product configurator (next element)', 'Accessibility description for the configure button', 'product-configurator-for-woocommerce' ) . '</h2>', $product ); -
do_action( 'mkl_pc_container' ); -
do_action( 'mkl_pc_customizer_settings', $wp_customize, $this ); -
do_action( 'mkl_pc_customizer_settings_before', $wp_customize, $this ); -
apply_filters( 'mkl_pc_db_fields', [ 'layerId' => [ 'sanitize' => 'intval', 'escape' => 'intval', ], 'choiceId' => [ 'sanitize' => 'intval', 'escape' => 'intval', ], '_id' => [ 'sanitize' => 'intval', 'escape' => 'intval', ], 'id' => [ 'sanitize' => 'intval', 'escape' => 'intval', ], 'layer_id' => [ 'sanitize' => 'intval', 'escape' => 'intval', ], 'angle_id' => [ 'sanitize' => 'intval', 'escape' => 'intval', ], 'choice_id' => [ ... ); -
apply_filters( 'mkl_pc_default_config_url', admin_url( 'admin-ajax.php?action=pc_get_data&data=init&view=' . $format . '&fe=1&id=' . $product_id ), $product_id, $format ); -
apply_filters( 'mkl_pc_edit_configuration_label', mkl_pc( 'settings' )->get_label( 'edit_configuration_label', __( 'Edit configuration', 'product-configurator-for-woocommerce' ) ) ); -
apply_filters( 'mkl_pc_frontend_action_token_captcha_provider', 'auto', $purpose, $request ); -
apply_filters( 'mkl_pc_frontend_action_token_require_captcha', false, $purpose, $request ); -
apply_filters( 'mkl_pc_frontend_action_token_ttl', 10 * MINUTE_IN_SECONDS ); -
do_action( 'mkl_pc_frontend_configurator__main_view' ); -
do_action( 'mkl_pc_frontend_configurator_after_add_to_cart' ); -
do_action( 'mkl_pc_frontend_configurator_cart_form' ); -
do_action( 'mkl_pc_frontend_configurator_summary' ); -
do_action( 'mkl_pc_frontend_configurator_toolbar' ); -
apply_filters( 'mkl_pc_frontend_js_config', $args ); -
do_action( 'mkl_pc_frontend_templates_after' ); -
do_action( 'mkl_pc_frontend_templates_before' ); -
apply_filters( 'mkl_pc_frontend_templates_parts', array( array( 'path' => $root, 'file' => 'main-view.php' ), array( 'path' => $root, 'file' => 'add-to-cart-modal.php' ), array( 'path' => $root, 'file' => 'toolbar.php' ), array( 'path' => $root, 'file' => 'product-viewer.php' ), array( 'path' => $root, 'file' => 'layer-item.php' ), array( 'path' => $root, 'file' => 'choices.php' ), array( 'path' => $root, 'file' => 'choice-item.php' ), array( ... ); -
apply_filters( 'mkl_pc_get_configurator_gzip_data_js_output', ! $disable_gzip ); -
apply_filters( 'mkl_pc_image_placeholder_max_age', DAY_IN_SECONDS ); -
apply_filters( 'mkl_pc_installed_themes', $this->themes ); -
do_action( 'mkl_pc_is_loaded' ); -
apply_filters( 'mkl_pc_item_meta', (array) $meta, $layer, $product, $item_key, $context ); -
apply_filters( 'mkl_pc_item_meta/wrap_choice_name', true, $layer ); -
apply_filters( 'mkl_pc_js_config', array( 'inline' => false, 'where' => 'out', 'data_mode' => mkl_pc( 'settings')->get( 'async_data' ) ? 'async' : 'default', 'bg_image' => $bg_image ? $bg_image : apply_filters( 'mkl_pc_bg_image', MKL_PC_ASSETS_URL.'images/default-bg.jpg'), 'close_configurator_on_add_to_cart' => ( bool ) mkl_pc( 'settings')->get( 'close_configurator_on_add_to_cart' ), 'close_choices_when_selecting_choice' => ( bo... ); -
apply_filters( 'mkl_pc_layer_default_settings', $settings ); -
do_action( 'mkl_pc_layer_fields' ); -
do_action( 'mkl_pc_layer_settings' ); -
apply_filters( 'mkl_pc_layer_settings_sections', $sections ); -
apply_filters( 'mkl_pc_layer_types', array( 'simple' => esc_html__( 'Simple', 'product-configurator-for-woocommerce' ), 'multiple' => esc_html__( 'Multiple choice', 'product-configurator-for-woocommerce' ), 'group' => esc_html__( 'Group', 'product-configurator-for-woocommerce' ), 'form' => esc_html__( 'Form', 'product-configurator-for-woocommerce' ), 'summary' => esc_html__( 'Summary', 'product-configurator-for-woocommerce' ), 'te... ); -
do_action( 'mkl_pc_layers' ); -
do_action( 'mkl_pc_layers_after' ); -
do_action( 'mkl_pc_layers_before' ); -
apply_filters( 'mkl_pc_merge_cache_max_age', MONTH_IN_SECONDS ); -
apply_filters( 'mkl_pc_merged_image_browser_max_age', WEEK_IN_SECONDS ); -
apply_filters( 'mkl_pc_new_configuration_data', $configuration_data ); -
apply_filters( 'mkl_pc_object3d_default_settings', $settings ); -
do_action( 'mkl_pc_object3d_fields' ); -
apply_filters( 'mkl_pc_object3d_item_types', array( 'gltf' => esc_html__( '3D model', 'product-configurator-for-woocommerce' ), 'light' => esc_html__( 'Light', 'product-configurator-for-woocommerce' ), 'environment' => esc_html__( 'Environment', 'product-configurator-for-woocommerce' ), 'environment_hdri' => esc_html__( 'HDRI environment', 'product-configurator-for-woocommerce' ), 'environment_cubemap' => esc_html__( 'Cubemap environment'... ); -
do_action( 'mkl_pc_object3d_settings' ); -
apply_filters( 'mkl_pc_object3d_settings_sections', array( '_object3d' => array( 'id' => 'object3d', 'label' => \__( '3D Object', 'product-configurator-for-woocommerce' ), 'priority' => 5, 'fields' => array(), ), '_light' => array( 'id' => 'light', 'label' => \__( 'Light settings', 'product-configurator-for-woocommerce' ), 'priority' => 6, 'collapsible' => true, 'fields' => array(), ), '_environment' => array( 'id' => 'environment', 'label' => \... ); -
apply_filters( 'mkl_pc_order_item_meta', $meta, $layer, $product ); -
apply_filters( 'mkl_pc_preview_sources_max', 500 ); -
apply_filters( 'mkl_pc_product_post_types', [ 'product_variation', 'product' ] ); -
apply_filters( 'mkl_pc_reset_button_classes', [ 'mkl-footer--action-button' ] ); -
do_action( 'mkl_pc_saved_global_layer_content', $global_id, $choices ); -
do_action( "mkl_pc_saved_product_configuration_{$component}", $id, $data ); -
do_action( 'mkl_pc_scripts_product_page_after' ); -
do_action( 'mkl_pc_scripts_product_page_before' ); -
do_action( 'mkl_pc_settings_before_tabs', $active ); -
do_action( 'mkl_pc_settings_content_after', $active ); -
apply_filters( 'mkl_pc_settings_tabs', [ 'settings' => __( 'Settings', 'product-configurator-for-woocommerce' ), 'addons' => __( 'Addons', 'product-configurator-for-woocommerce' ), 'tools' => __( 'Tools', 'product-configurator-for-woocommerce' ), ], $active ); -
apply_filters( 'mkl_pc_show_form', ! $g_product, $post ? $post->ID : false ); -
do_action( 'mkl_pc_templates_empty_viewer' ); -
apply_filters( 'mkl_pc_them_color_variables', $rules ); -
apply_filters( 'mkl_pc_theme_color_settings', array( 'primary' => [ 'default' => '', 'label' => __( 'Accent color', 'product-configurator-for-woocommerce' ) ], 'layers_button_text_color' => [ 'default' => '', 'label' => __( 'Layers text color', 'product-configurator-for-woocommerce' ) ], 'choices_button_text_color' => [ 'default' => '', 'label' => __( 'Choices text color', 'product-configurator-for-woocommerce' ) ], 'active_layer_button_bg... ); -
apply_filters( 'mkl_pc_translatable_settings', array_keys( $this->get_translatable_options_defaults() ) ); -
apply_filters( 'mkl_pc_translatable_settings_defaults', [ 'mkl_pc__button_label' => __( 'Configure', 'product-configurator-for-woocommerce' ), 'sku_glue' => '', 'sku_label' => __( 'SKU', 'product-configurator-for-woocommerce' ), 'mc_max_items_message' => __( 'You have reached the maximum number of selectable items', 'product-configurator-for-woocommerce' ), 'mc_max_items_message_global' => __( 'You have reached the maximum number of selectable items... ); -
do_action( 'mkl_pc_updated_plugin' ); -
apply_filters( 'mkl_pc/add_to_cart_button/label', $label ); -
do_action( 'mkl_pc/choice/sleep', $this ); -
do_action( 'mkl_pc/choice/wakeup', $this ); -
apply_filters( 'mkl_pc/configuration/get_configured_price', $defaults, $this, $layers, $args ); -
apply_filters( 'mkl_pc/css/product_configurator.css', $stylesheet ); -
apply_filters( 'mkl_pc/display_add_to_cart_button', true, $product ); -
apply_filters( 'mkl_pc/do_not_show_image_download_link', false ); -
apply_filters( 'mkl_pc/elementor_field/configuration_value', $field['value'], $configurator_data_raw ); -
apply_filters( 'mkl_pc/get_cart_icon', '<svg xmlns="http://www.w3.org/2000/svg" width="37.118" height="33" viewBox="0 0 37.118 33"><path id="Path_2" data-name="Path 2" d="M34.031-9.475a1.506,1.506,0,0,1-.548.9,1.5,1.5,0,0,1-.935.322H13.664l.387,2.062H31.389a1.406,1.406,0,0,1,1.16.58,1.56,1.56,0,0,1,.322,1.289l-.387,1.611A3.491,3.491,0,0,1,34-1.386a3.5,3.5,0,0,1,.548,1.9,3.474,3.474,0,0,1-1.063,2.546,3.579,3.579,0,0,1-5.092,0A3.511,3... ); -
apply_filters( 'mkl_pc/get_product_price', $price, $product ); -
apply_filters( 'mkl_pc/global_configurators/apply_category_ids', $expanded, (int) $global_id ); -
apply_filters( 'mkl_pc/global_configurators/block_delete_when_in_use', true, $post, $consumers ); -
apply_filters( 'mkl_pc/global_configurators/category_includes_children', true, (int) $global_id ); -
apply_filters( 'mkl_pc/global_configurators/copy/single_meta_keys', array_merge( self::get_structured_single_meta_keys(), array( '_mkl_product_configurator_last_updated', '_mkl_product_configurator_storage_format_version', '_mkl_product_configurator_integrity_cache', ) ) ); -
apply_filters( 'mkl_pc/global_configurators/copy/structured_single_meta_keys', array( '_mkl_product_configurator_angles', '_mkl_product_configurator_conditions', '_mkl_product_configurator_settings_3d', '_mkl_product_configurator_objects3d', ) ); -
do_action( 'mkl_pc/global_configurators/created_from_product', $new_id, $source_product_id ); -
do_action( 'mkl_pc/global_configurators/linked', $product_id, $global_id, $wipe_product_configurator_data ); -
do_action( 'mkl_pc/global_configurators/local_data_deleted', $product_id, $global_id ); -
apply_filters( 'mkl_pc/js/configurator/dependencies', array('jquery', 'backbone', 'wp-util', 'wp-hooks' ) ); -
apply_filters( 'mkl_pc/js/product_configurator/dependencies', $deps ); -
do_action( 'mkl_pc/next_step/after' ); -
do_action( 'mkl_pc/next_step/before' ); -
apply_filters( 'mkl_pc/next_step/button_classes', $classes ); -
do_action( 'mkl_pc/order_created/after_save_layer_meta', $layer, $order_item, $order_item->get_order() ); -
do_action( 'mkl_pc/order_created/after_saved_data', $item, $order, $configurator_data ); -
apply_filters( 'mkl_pc/order_created/get_data/label', esc_html( mkl_pc( 'settings' )->get_label( 'configuration_cart_meta_label', esc_html_x( 'Configuration', 'Label for the configuration meta data', 'product-configurator-for-woocommerce' ) ) ), $order_item, $configurator_data ); -
apply_filters( 'mkl_pc/order_created/save_layer_meta', $item_data, $layer, $order_item, [], $items_count ); -
apply_filters( 'mkl_pc/order_image_size', $size, $order_item, $configurator_data ); -
do_action( 'mkl_pc/previous_step/after' ); -
do_action( 'mkl_pc/previous_step/before' ); -
apply_filters( 'mkl_pc/previous_step/button_classes', '' ); -
do_action( 'mkl_pc/register_settings', $this ); -
do_action( 'mkl_pc/reset_button/before_label' ); -
apply_filters( 'mkl_pc/reset_configurator_on_ajax_add_to_cart', ( bool ) mkl_pc( 'settings' )->get( 'reset_configurator_on_ajax_add_to_cart', false ), $post ? $post->ID : 0 ); -
apply_filters( 'mkl_pc/sku_label', '<span class="sku-label">' . mkl_pc( 'settings')->get_label( 'sku_label', __( 'SKU:', 'product-configurator-for-woocommerce' ) ) . '</span> ', $product ); -
apply_filters( 'mkl_pc/wc_cart_get_item_data/choice', [ 'name' => $layer_name, 'value' => '<span class="mkl_pc-choice-value">' . $choice_image . $item_data['value'] . '</span>', 'layer' => $selected_choice ], $selected_choice, $cart_item ); -
apply_filters( 'mkl_pc/wc_cart_get_item_data/choices', $choices, $cart_item ); -
apply_filters( 'mkl_pc/wc_cart_get_item_data/display_choice_image', true ); -
apply_filters( 'mkl_pc/yith-raq/add_to_quote_response', array( 'result' => 'true' === $result ? 'added' : 'updated', 'message' => $message, 'item_key' => $item_key, 'product_name' => $product->get_name(), 'image_url' => $this->get_item_image_url( $item_key ), 'list_url' => $rq->get_raq_page_url(), 'count' => count( $rq->raq_content ), 'redirect' => 'yes' === get_option( 'ywraq_after_click_action', 'no' ), ), $item_key, $rq->raq_content ); -
do_action_ref_array( 'mkl_pc/yith-raq/added_product', array( &$rq->raq_content, $item_id, $layers ) ); -
apply_filters( 'mkl_product_configurator_content_data', array( 'content' => $this->get( 'content', $post_id ) ), $post_id ); -
apply_filters( 'mkl_product_configurator_get_front_end_data', $init_data, $product ); -
apply_filters( 'mkl_product_configurator_get_front_end_data/product_type', $product->get_type(), $product ); -
apply_filters( "mkl_product_configurator/data/set/{$component}", $data, $id ); -
apply_filters( 'mkl_product_configurator/data/set/choice', $raw_data[ $key ]['choices'][ $choice_index ], $id, $raw_data, $modified_choices ); -
apply_filters( 'mkl_set_configurator_data_sanitize', true ); -
apply_filters( 'mkl_wc_general_metaboxe_classes', array( 'show_if_simple' ) ); -
apply_filters( 'mkl/order/admin_meta/display_value', $display_value, $order_item, $configurator_data ); -
apply_filters( 'mkl/order/override_saved_meta', strpos( $meta->value, 'order-configuration-details' ) ); -
apply_filters( 'PC_lang', $pc_lang ); -
apply_filters( 'the_title', $product->get_title(), $id ); -
do_action( 'tmpl-mkl-pc-atc-added' ); -
do_action( 'tmpl-mkl-pc-atc-redirection-content' ); -
do_action( 'tmpl-mkl-pc-atq-added' ); -
do_action( 'tmpl-mkl-pc-configurator-add-to-cart--modal' ); -
do_action( 'tmpl-mkl-pc-configurator-layer-item-button' ); -
do_action( 'tmpl-mkl-pc-quote-request-form' ); -
do_action( 'tmpl-mkl-pc-quote-request-sent' ); -
do_action( 'tmpl-mkl-pc-setting--repeater' ); -
do_action( 'tmpl-mkl-pc-setting--repeater-option' ); -
do_action( 'tmpl-pc-configurator-choice-group-item--after' ); -
do_action( 'tmpl-pc-configurator-choice-group-item--before' ); -
do_action( 'tmpl-pc-configurator-choice-item-attributes' ); -
apply_filters( 'tmpl-pc-configurator-choice-item-label', '{{{data.name}}}' ); -
apply_filters( 'wc_aelia_cs_get_product_price', $price, $product_id, $base_currency, $price_type ); -
apply_filters( 'wc_session_expiration', WEEK_IN_SECONDS ); -
apply_filters( 'woocommerce_add_to_cart_fragments', array( 'div.widget_shopping_cart_content' => '<div class="widget_shopping_cart_content">' . $mini_cart . '</div>', ) ); -
apply_filters( 'woocommerce_add_to_cart_product_id', $product_id ); -
apply_filters( 'woocommerce_add_to_cart_validation', true, $product_id, $quantity ); -
do_action( 'woocommerce_ajax_added_to_cart', $product_id ); -
apply_filters( 'woocommerce_cart_item_permalink', $_product->is_visible() ? $_product->get_permalink( $cart_item ) : '', $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_thumbnail', $product->get_image(), $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_visible', true, $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_product_price_class', 'price' ); -
do_action( 'woocommerce_set_cart_cookies', true ); -
apply_filters( 'wpml_active_languages', null, array( 'skip_missing' => 0 ) ); -
apply_filters( 'wpml_element_language_code', null, [ 'element_id' => $to, 'element_type' => 'product' ] ); -
apply_filters( 'wpml_original_element_id', null, $post_id, 'post_product' ); -
apply_filters( 'yith_ywraq_before_print_button', true, $quote_product ); -
apply_filters( 'yith_ywraq_error_adding_to_list_message', __( 'Error occurred while adding product to Request a Quote list.', 'yith-woocommerce-request-a-quote' ) ); -
apply_filters( 'yith_ywraq_hide_price_template', wp_kses_post( WC()->cart->get_product_subtotal( $_product, $raq['quantity'] ) ), $product_id ); -
apply_filters( 'yith_ywraq_item_remove_link', sprintf( '<a href="#" data-remove-item="%s" data-wp_nonce="%s" data-product_id="%d" class="yith-ywraq-item-remove remove" title="%s">×</a>', esc_attr( $key ), esc_attr( wp_create_nonce( 'remove-request-quote-' . $product_id ) ), esc_attr( $product_id ), esc_attr__( 'Remove this item', 'yith-woocommerce-request-a-quote' ) ), $key ); -
apply_filters( 'yith_ywraq-show_btn_single_page', 'yes' ); -
apply_filters( 'ywraq_ajax_add_item_is_valid', true, $product_id ); -
apply_filters( 'ywraq_item_thumbnail', ! wp_is_mobile() ); -
apply_filters( 'ywraq_product_image', $_product->get_image(), $raq, $_product ); -
apply_filters( 'ywraq_quantity_input_value', $raq['quantity'] ); -
apply_filters( 'ywraq_quantity_max_value', $_product->backorders_allowed() ? '' : $_product->get_stock_quantity(), $_product ); -
apply_filters( 'ywraq_quantity_min_value', 0, $_product ); -
apply_filters( 'ywraq_quantity_step_value', 1, $_product ); -
apply_filters( 'ywraq_request_quote_view_item_data', $item_data, $raq, $_product ); -
apply_filters( 'ywraq_sku_label', __( ' SKU:', 'yith-woocommerce-request-a-quote' ) );
Generated from MKL Product Configurator 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: