Art WooCommerce Order One Click 3.1.9 has 21 actions and 46 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 Art WooCommerce Order One Click fires an action
add_action( 'awooc_before_button', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Art WooCommerce Order One Click is about to use
add_filter( 'woocommerce_quantity_input_max', function( $value, $arg2 ) {
// 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
-
/** * Button Template */ do_action( 'awooc_before_button' ); -
/** * Hook: awooc_popup_before_column */ do_action( 'awooc_popup_after_column', $elements, $product ); -
/** * Hook: awooc_popup_before_column */ do_action( 'awooc_popup_before_column', $elements, $product ); -
/** * Hook: awooc_popup_column_left */ do_action( 'awooc_popup_column_left', $elements, $product ); -
/** * Hook: awooc_popup_column_right */ do_action( 'awooc_popup_column_right', $elements, $product ); -
do_action( 'woocommerce_after_add_to_cart_button' ); -
do_action( 'woocommerce_before_add_to_cart_button' ); -
apply_filters( 'woocommerce_quantity_input_max', $this->get_product()->get_max_purchase_quantity(), $this->get_product() ); -
apply_filters( 'woocommerce_quantity_input_min', $this->get_product()->get_min_purchase_quantity(), $this->get_product() ); -
do_action( 'woocommerce_after_add_to_cart_quantity' ); -
do_action( 'woocommerce_before_add_to_cart_quantity' ); -
do_action( 'woocommerce_after_add_to_cart_form' ); -
do_action( 'woocommerce_before_add_to_cart_form' ); -
do_action( 'awooc_after_loop_add_to_cart_link', $product, $args ); -
do_action( 'awooc_before_loop_add_to_cart_link', $product, $args ); -
apply_filters( 'awooc_popup_price_html', sprintf( '<span class="awooc-price-label">%s</span><span class="awooc-price-value">%s</span>', apply_filters( 'awooc_popup_price_label', __( 'Price: ', 'art-woocommerce-order-one-click' ) ), wc_price( $this->price() ) ), $this->get_product() ); -
apply_filters( 'woocommerce_add_to_cart_form_action', $product->get_permalink() ); -
do_action( 'awooc_after_button' ); -
do_action( 'awooc_after_created_order', $product_id, $this->order, $address, $product_qty ); -
do_action( 'awooc_after_mail_send', $product_id, $this->order->get_id() ); -
do_action( 'awooc_attributes_button' ); -
apply_filters( 'awooc_button_args', wp_parse_args( $args, $defaults ), $product ); -
apply_filters( 'awooc_button_label', awooc_custom_button_label( $product ) ); -
apply_filters( 'awooc_classes_button', implode( ' ', awooc_mode_classes( $product ) ) ); -
do_action( 'awooc_create_order', $this->order, $contact_form, $posted_data ); -
apply_filters( 'awooc_data_ajax', [ 'elements' => 'full', 'productId' => $product->get_id(), 'productQty' => $send_data['product_qty'], 'toPopup' => ( new Popup( $send_data ) )->get_response(), 'toMail' => ( new Mail( $send_data ) )->get_response(), 'toAnalytics' => ( new Analytics( $send_data ) )->get_response(), ], $product ); -
apply_filters( 'awooc_disable_add_to_card_style', ob_get_clean() ); -
apply_filters( 'awooc_enable_add_to_card_style', ob_get_clean() ); -
apply_filters( 'awooc_html_comments', true ); -
apply_filters( 'awooc_id_button', 'awooc-custom-order-button-' . $product->get_id() ); -
apply_filters( 'awooc_letter_args', [ 'letter_data' => [ 'name' => $posted_text, 'email' => $posted_email, 'phone' => $posted_tel, ], 'letter_meta' => [ 'ip' => [ 'label' => esc_html__( 'IP', 'art-woocommerce-order-one-click' ), 'value' => $submission->get_meta( 'remote_ip' ), ], 'time' => [ 'label' => esc_html__( 'Date', 'art-woocommerce-order-one-click' ), 'value' => $submission->get_meta( 'timestamp' ), ], 'url' => [ 'label' =... ); -
apply_filters( 'awooc_letter_locale', get_option( 'WPLANG' ) ); -
apply_filters( 'awooc_locate_template', $template_path ); -
apply_filters( 'awooc_mode_classes_button', $mode_classes ); -
apply_filters( 'awooc_order_address_arg', [ 'first_name' => $posted_text, 'email' => $posted_email, 'phone' => $posted_tel, ], $posted_data ); -
do_action( 'awooc_popup_after_form' ); -
apply_filters( 'awooc_popup_attr_label', esc_html__( 'Attributes: ', 'art-woocommerce-order-one-click' ) ); -
do_action( 'awooc_popup_before_form' ); -
apply_filters( 'awooc_popup_image_alt', '' ); -
apply_filters( 'awooc_popup_image_classes', esc_attr( 'awooc-form-custom-order-img' ) ); -
apply_filters( 'awooc_popup_image_html', sprintf( '<img src="%s" alt="%s" class="%s" width="%s" height="%s">', esc_url( $full_size_image[0] ), apply_filters( 'awooc_popup_image_alt', '' ), apply_filters( 'awooc_popup_image_classes', esc_attr( 'awooc-form-custom-order-img' ) ), esc_attr( $full_size_image[1] ), esc_attr( $full_size_image[2] ) ), $this->product ); -
apply_filters( 'awooc_popup_price_label', __( 'Price: ', 'art-woocommerce-order-one-click' ) ); -
apply_filters( 'awooc_popup_qty_html', sprintf( '<span class="awooc-qty-label">%s</span>%s', apply_filters( 'awooc_popup_qty_label', __( 'Quantity: ', 'art-woocommerce-order-one-click' ) ), $this->get_quantity_input() ), $this->get_product() ); -
apply_filters( 'awooc_popup_qty_label', __( 'Quantity: ', 'art-woocommerce-order-one-click' ) ); -
apply_filters( 'awooc_popup_setting', [ 'mailsent_timeout' => 3000, 'invalid_timeout' => 5000, 'cf7_form_id' => $this->main->get_selected_form_id(), 'price_decimal_sep' => get_option( 'woocommerce_price_decimal_sep' ), 'price_num_decimals' => get_option( 'woocommerce_price_num_decimals' ), 'price_thousand_sep' => get_option( 'woocommerce_price_thousand_sep' ), 'css' => [ 'width' => 'calc(100vw - 1rem)', 'maxWidth' => '600px', 'maxH... ); -
apply_filters( 'awooc_popup_sku_html', sprintf( '<span class="awooc-sku-label">%s</span><span class="awooc-sku-value">%s</span>', apply_filters( 'awooc_popup_sku_label', __( 'SKU: ', 'art-woocommerce-order-one-click' ) ), $this->sku() ), $this->get_product() ); -
apply_filters( 'awooc_popup_sku_label', __( 'SKU: ', 'art-woocommerce-order-one-click' ) ); -
apply_filters( 'awooc_popup_sum_label', __( 'Amount: ', 'art-woocommerce-order-one-click' ) ); -
apply_filters( 'awooc_popup_title_html', sprintf( '<h2 class="%s"></h2>', esc_attr( 'awooc-form-custom-order-title awooc-popup-item awooc-popup-title skeleton-loader' ) ), $product ); -
apply_filters( 'awooc_quantity_input_args', $args, $this ); -
apply_filters( 'awooc_select_elements_item', [ 'title' => __( 'Title', 'art-woocommerce-order-one-click' ), 'image' => __( 'Image', 'art-woocommerce-order-one-click' ), 'price' => __( 'Price', 'art-woocommerce-order-one-click' ), 'sku' => __( 'SKU', 'art-woocommerce-order-one-click' ), 'attr' => __( 'Attributes', 'art-woocommerce-order-one-click' ), 'qty' => __( 'Quantity', 'art-woocommerce-order-one-click' ), 'sum' => __( 'Amount', 'art-... ); -
apply_filters( 'awooc_select_operating_mode', [ 'dont_show_add_to_card' => __( 'Catalog mode', 'art-woocommerce-order-one-click' ), 'show_add_to_card' => __( 'Normal mode', 'art-woocommerce-order-one-click' ), 'in_stock_add_to_card' => __( 'Pre-order mode', 'art-woocommerce-order-one-click' ), 'no_stock_no_price' => __( 'Special mode', 'art-woocommerce-order-one-click' ), ] ); -
apply_filters( 'awooc_selected_form_id', get_option( 'woocommerce_awooc_select_form' ) ); -
apply_filters( 'awooc_settings_section_main', [ [ 'type' => 'wrap_open', 'id' => 'woocommerce_awooc_wrap_open', ], [ 'type' => 'main_open', 'id' => 'woocommerce_awooc_main_open', ], [ 'name' => __( 'General settings', 'art-woocommerce-order-one-click' ), 'type' => 'title', 'id' => 'woocommerce_awooc_settings_catalog_mode', ], [ 'title' => __( 'Operating mode', 'art-woocommerce-order-one-click' ), 'desc' => __( 'Select the mode of operation... ); -
apply_filters( 'awooc_settings_sections', [ '' => __( 'General', 'art-woocommerce-order-one-click' ), ] ); -
apply_filters( 'awooc_template_path', 'art-woocommerce-order-one-click/' ); -
apply_filters( 'awooc_thumbnail_name', 'shop_single' ); -
apply_filters( 'awooc_using_cf7', true ); -
apply_filters( "woocommerce_get_sections_{$this->id}", $sections ); -
apply_filters( "woocommerce_get_settings_{$this->id}", $settings, $current_section ); -
apply_filters( 'woocommerce_loop_add_to_cart_link', sprintf( '<a href="%s" aria-describedby="woocommerce_loop_add_to_cart_link_describedby_%s" data-quantity="%s" class="%s" %s>%s</a>', esc_url( $product->add_to_cart_url() ), esc_attr( $product->get_id() ), esc_attr( isset( $args['quantity'] ) ? $args['quantity'] : 1 ), esc_attr( isset( $args['class'] ) ? $args['class'] : 'button' ), isset( $args['attributes'] ) ? wc_implode_html_attributes( $arg... ); -
apply_filters( 'woocommerce_quantity_input_inputmode', has_filter( 'woocommerce_stock_amount', 'intval' ) ? 'numeric' : '' ); -
apply_filters( 'woocommerce_quantity_input_pattern', has_filter( 'woocommerce_stock_amount', 'intval' ) ? '[0-9]*' : '' ); -
do_action( "woocommerce_update_options_{$this->id}_{$current_section}" ); -
apply_filters( 'wpml_object_id', $select_form, 'wpcf7_contact_form', true, ICL_LANGUAGE_CODE );
Generated from Art WooCommerce Order One Click'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: