WooCommerce 11.3.0 has 881 actions and 1971 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 WooCommerce fires an action
add_action( 'woocommerce_email_customer_details', function( $order, $sent_to_admin, $plain_text, $email ) {
// Your code runs here.
}, 10, 4 );
// Change a value WooCommerce is about to use
add_filter( 'woocommerce_email_footer_text', function( $email_footer_text, $email ) {
// Change $email_footer_text here.
return $email_footer_text;
}, 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
-
/** * Hook for woocommerce_email_customer_details. */ do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email ); -
/** * Woocommerce_email_order_details */ do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email ); -
woocommerce_email_order_meta
action/** * Woocommerce_email_order_meta */ do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email ); -
woocommerce_email_header
action/** * Action hook for email header. */ do_action( 'woocommerce_email_header', $email_heading, null ); -
/** * Notify that a non-option setting has been updated. */ do_action( 'woocommerce_update_non_option_setting', array( 'id' => $key, 'type' => $field['type'], 'value' => $this->settings[ $key ], ) ); -
/** * Filter whether or not the cart is displaying prices including tax. */ apply_filters( "woocommerce_cart_{__FUNCTION__}", TaxDisplayMode::INCLUSIVE === $this->get_tax_price_display_mode() ); -
woocommerce_order_item_name
filter/** * Filter the order item name. */ apply_filters( 'woocommerce_order_item_name', $item->get_name(), $item, $is_visible ); -
woocommerce_is_email_preview
filter/** * Filter to determine if this is an email preview. */ apply_filters( 'woocommerce_is_email_preview', false ); -
/** * Filters an object before it is inserted via the REST API. */ apply_filters( "woocommerce_rest_pre_insert_{$this->post_type}_object", $coupon, $request, $creating ); -
/** * Filter the variation option name. */ apply_filters( 'woocommerce_variation_option_name', $label, $filter_item, $attribute_name, $product ); -
/** * Filters if taxes should be removed from locations outside the store base * location. */ apply_filters( 'woocommerce_adjust_non_base_location_prices', true ); -
/** * Email Order Item Visibility hook. */ apply_filters( 'woocommerce_order_item_visible', true, $item->item ); -
/** * Hook: woocommerce_after_add_to_cart_button. */ do_action( 'woocommerce_after_add_to_cart_button' ); -
/** * Hook: woocommerce_before_add_to_cart_button. */ do_action( 'woocommerce_before_add_to_cart_button' ); -
woocommerce_update_options
action/** * Completes the saving process for options. */ do_action( 'woocommerce_update_options' ); -
/** * Hook to customize the regular expression that validates dates entered in the * WooCommerce admin editors. */ apply_filters( 'woocommerce_date_input_html_pattern', '[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])' ); -
/** * Hook for the woocommerce_email_fulfillment_details. */ do_action( 'woocommerce_email_fulfillment_details', $order, $fulfillment, $sent_to_admin, $plain_text, $email ); -
/** * Hook for the woocommerce_email_fulfillment_meta. */ do_action( 'woocommerce_email_fulfillment_meta', $order, $fulfillment, $sent_to_admin, $plain_text, $email ); -
/** * Allow other plugins to add additional product information. */ do_action( 'woocommerce_order_item_meta_end', $item_id, $item->item, $order, $plain_text ); -
/** * Allow other plugins to add additional product information. */ do_action( 'woocommerce_order_item_meta_start', $item_id, $item->item, $order, $plain_text ); -
/** * Filters the separator used between a variation product title and its * attributes. */ apply_filters( 'woocommerce_product_variation_title_attributes_separator', ' - ', $product ); -
/** * Fires after a single item is created or updated via the REST API. */ do_action( "woocommerce_rest_insert_{$this->post_type}", $post, $request, true ); -
/** * Filter the data for a response. */ apply_filters( "woocommerce_rest_prepare_{$this->post_type}_object", $response, $object, $request ); -
/** * Filter the message shown after a checkout is complete. */ apply_filters( 'woocommerce_thankyou_order_received_text', esc_html( __( 'Thank you. Your order has been received.', 'woocommerce' ) ), $order ); -
/** * Filters if an item being added to the cart passed validation checks. */ apply_filters( 'woocommerce_add_to_cart_validation', true, $this->get_product_id( $product ), $request['quantity'], $this->get_variation_id( $product ), $request['variation'], $request['cart_item_data'] ); -
woocommerce_admin_disabled
filter/** * Filter whether to disable admin tracking. */ apply_filters( 'woocommerce_admin_disabled', false ); -
/** * Email Order Item Quantity hook. */ apply_filters( 'woocommerce_email_order_item_quantity', $qty_display, $item->item ); -
/** * Hook: woocommerce_email_stock_notification_product. */ do_action( 'woocommerce_email_stock_notification_product', $product, $notification, $plain_text, $email ); -
woocommerce_order_item_class
filter/** * Email Order Item Thumbnail hook. */ apply_filters( 'woocommerce_order_item_class', 'order_item', $item->item, $order ); -
/** * Provides an opportunity to override the permission check made before acting * on an object in relation to REST API requests. */ apply_filters( 'woocommerce_rest_check_permissions', $permission, $context, $object_id, 'user' ); -
/** * Filter the data for a response. */ apply_filters( "woocommerce_rest_prepare_{$this->post_type}", $response, $post, $request ); -
/** * Filter a term item returned from the API. */ apply_filters( "woocommerce_rest_prepare_{$this->taxonomy}", $response, $item, $request ); -
/** * Filter to check if it should suppress the image upload error, false by * default. */ apply_filters( 'woocommerce_rest_suppress_image_upload_error', false, $upload, $variation->get_id(), array( $image ) ); -
woocommerce_settings_updated
action/** * Fires when WooCommerce settings are updated. */ do_action( 'woocommerce_settings_updated', $updated_settings, $this->rest_base ); -
/** * Hook: woocommerce_after_add_to_cart_form. */ do_action( 'woocommerce_after_add_to_cart_form' ); -
/** * Hook: woocommerce_after_add_to_cart_quantity. */ do_action( 'woocommerce_after_add_to_cart_quantity' ); -
/** * Hook: woocommerce_before_add_to_cart_form. */ do_action( 'woocommerce_before_add_to_cart_form' ); -
/** * Hook: woocommerce_before_add_to_cart_quantity. */ do_action( 'woocommerce_before_add_to_cart_quantity' ); -
/** * Filter to disable the compatibility layer for the blockified templates. */ apply_filters( 'woocommerce_disable_compatibility_layer', false ); -
woocommerce_email_headers
filter/** * Filter the headers of the low stock notification email. */ apply_filters( 'woocommerce_email_headers', '', 'low_stock', $product, null ); -
/** * Filters the order status to set after payment complete. */ apply_filters( 'woocommerce_payment_complete_order_status', $this->needs_processing() ? OrderStatus::PROCESSING : OrderStatus::COMPLETED, $this->get_id(), $this ); -
/** * Allows offloading the filter data to external services like Elasticsearch. */ apply_filters( 'woocommerce_pre_product_filter_data', null, 'price', $query_vars, array() ); -
/** * Filters the product filter data before it is returned. */ apply_filters( 'woocommerce_product_filter_data', $results, 'price', $query_vars, array() ); -
/** * Filter the eligible items considered when deciding whether the Customer * Review Request email should fire for an order. */ apply_filters( 'woocommerce_review_order_eligible_items', $order->get_items(), $order ); -
/** * Filter the title shown after a checkout is complete. */ apply_filters( 'woocommerce_thankyou_order_received_title', esc_html__( 'Order cancelled', 'woocommerce' ), $order ); -
woocommerce_update_option
action/** * Fire an action before saved. */ do_action( 'woocommerce_update_option', $option ); -
/** * Fires after a customer is created via the REST API. */ do_action( "{$this->get_hook_prefix()}created", $user_data, $request ); -
/** * Fires after a customer is deleted via the REST API. */ do_action( "{$this->get_hook_prefix()}deleted", $user_data, $response, $request ); -
/** * Filter the add to cart form action. */ apply_filters( 'woocommerce_add_to_cart_form_action', $action_url ); -
/** * Allows filtering of payment gateway suggestion specs */ apply_filters( 'woocommerce_admin_payment_gateway_suggestion_specs', $specs ); -
/** * Trigger action after saving to the DB. */ do_action( "woocommerce_after_{$this->object_type}_object_save", $this, $this->data_store ); -
/** * Hook: woocommerce_after_main_content */ do_action( 'woocommerce_after_main_content' ); -
woocommerce_after_shop_loop
action/** * Fire the standard shop hooks when paginating so we can display the * pagination. If the pagination is not enabled, this hook will not be fired. */ do_action( 'woocommerce_after_shop_loop' ); -
/** * Filters whether apply base tax for local pickup shipping method or not. */ apply_filters( 'woocommerce_apply_base_tax_for_local_pickup', true ); -
/** * Trigger action before saving to the DB. Allows you to adjust object props * before save. */ do_action( "woocommerce_before_{$this->object_type}_object_save", $this, $this->data_store ); -
/** * Hook: woocommerce_before_main_content */ do_action( 'woocommerce_before_main_content' ); -
woocommerce_before_shop_loop
action/** * Fire the standard shop hooks when paginating so we can display result counts * etc. If the pagination is not enabled, this hook will not be fired. */ do_action( 'woocommerce_before_shop_loop' ); -
woocommerce_cart_item_name
filter/** * Filter the product name. */ apply_filters( 'woocommerce_cart_item_name', $cart_item_name, $cart_item, $cart_item_key ); -
woocommerce_check_cart_items
action/** * Provides an opportunity to check cart items before checkout. This generally * occurs during checkout validation. */ do_action( 'woocommerce_check_cart_items' ); -
/** * Filters the default orderby option. */ apply_filters( 'woocommerce_default_catalog_orderby', get_option( 'woocommerce_default_catalog_orderby', '' ) ); -
/** * Filter the attachments of the low stock notification email. */ apply_filters( 'woocommerce_email_attachments', array(), 'low_stock', $product, null ); -
/** * Fires after the core address fields in emails. */ do_action( 'woocommerce_email_customer_address_section', 'billing', $order, $sent_to_admin, false ); -
/** * Filters local pickup shipping methods. */ apply_filters( 'woocommerce_local_pickup_methods', array( 'legacy_local_pickup', 'local_pickup' ) ); -
woocommerce_new_order
action/** * Fires when a new order is created. */ do_action( 'woocommerce_new_order', $order->get_id(), $order ); -
/** * Hook to add tax label to pickup cost. */ apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $order, $tax_display ); -
/** * Filters whether the persistent cart is enabled. */ apply_filters( 'woocommerce_persistent_cart_enabled', true ); -
/** * Fires after a single item is created or updated via the REST API. */ do_action( 'woocommerce_rest_insert_product_review', $product_review, $request, true ); -
/** * Filter the query_vars used in `get_items` for the constructed query. */ apply_filters( "woocommerce_rest_pre_insert_{$this->post_type}", $coupon, $request ); -
/** * Filter the order statuses that are eligible to receive the review-request * email. */ apply_filters( 'woocommerce_review_order_eligible_statuses', array( OrderStatus::COMPLETED ), $this->object ); -
/** * Filters the list of taxonomies that support custom ordering. Filter was * introduced long ago is only documented in 10.6.0. */ apply_filters( 'woocommerce_sortable_taxonomies', array( 'product_cat' ) ); -
/** * Fires when an item is added to the cart from a user request. */ do_action( 'internal_woocommerce_cart_item_added_from_user_request', $variation_id ? $variation_id : $product_id, $quantity ); -
/** * Fires when an item is removed from the cart from a user request. */ do_action( 'internal_woocommerce_cart_item_removed_from_user_request', $cart_item_key, WC()->cart ); -
loop_shop_per_page
filter/** * Filters the number of products shown per page in a product loop. */ apply_filters( 'loop_shop_per_page', wc_get_default_products_per_row() * wc_get_default_product_rows_per_page() ); -
wc_get_template
filter/** * Allow 3rd party plugins to filter the template file location. */ apply_filters( 'wc_get_template', $located, $file, array(), WC()->template_path(), $wc_templates_dir ); -
/** * Filter to customize the display of dimensions for a product in its product * page. */ apply_filters( 'wc_product_enable_dimensions_display', $product->has_weight() || $product->has_dimensions() ); -
widget_title
filter/** * Filter the widget's title. */ apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); -
/** * Filter sold individually quantity for add to cart requests. */ apply_filters( 'woocommerce_add_to_cart_sold_individually_quantity', 1, $request['quantity'], $product_id, $variation_id, $request['cart_item_data'] ); -
/** * It can be used to modify shipping partner suggestions spec. */ apply_filters( 'woocommerce_admin_shipping_partner_suggestions_specs', DefaultShippingPartners::get_all() ); -
/** * Fires after an order email has been resent. */ do_action( 'woocommerce_after_resend_order_email', $order, 'customer_invoice' ); -
/** * Hook: woocommerce_archive_description. */ do_action( 'woocommerce_archive_description' ); -
/** * Filter the backorder meta key. Make sure to use the same filter as used in * set_backorder_meta(). */ apply_filters( 'woocommerce_backordered_item_meta_name', __( 'Backordered', 'woocommerce' ), $this ); -
/** * Fires before an order email is resent. */ do_action( 'woocommerce_before_resend_order_emails', $order, 'customer_invoice' ); -
/** * Determines the interval at which to cancel unpaid orders in minutes. */ apply_filters( 'woocommerce_cancel_unpaid_orders_interval_minutes', absint( $held_duration ) ); -
/** * Filter the cart contents. */ apply_filters( 'woocommerce_cart_contents_changed', $cart_contents ); -
/** * Filter the product permalink. */ apply_filters( 'woocommerce_cart_item_permalink', $product->get_permalink(), $cart_item, $cart_item['key'] ); -
/** * This filter is documented below. */ apply_filters( 'woocommerce_cart_ready_to_calc_shipping', true ); -
/** * Determines the cart shortcode tag used for the cart page. */ apply_filters_deprecated( 'woocommerce_cart_shortcode_tag', array( '' ), '8.3.0', 'woocommerce_create_pages' ); -
/** * Provides an opportunity to modify the customer ID associated with the * current checkout process. */ apply_filters( 'woocommerce_checkout_customer_id', get_current_user_id() ); -
/** * Determines the checkout shortcode tag used on the checkout page. */ apply_filters_deprecated( 'woocommerce_checkout_shortcode_tag', array( '' ), '8.3.0', 'woocommerce_create_pages' ); -
woocommerce_coupon_error
filter/** * Filter the coupon error message. */ apply_filters( 'woocommerce_coupon_error', is_numeric( $e->getMessage() ) ? $coupon->get_coupon_error( $e->getMessage() ) : $e->getMessage(), $e->getCode(), $coupon ); -
/** * Allows modifying the email introduction content. */ apply_filters( 'woocommerce_email_stock_notification_intro_content', $this->format_string( $this->get_option_or_transient( 'intro_content', $this->get_default_intro_content() ) ), $this->object, $this ); -
/** * Filter the email subject for customer refunded order. */ apply_filters( 'woocommerce_email_subject_customer_refunded_order', $this->format_string( $subject ), $this->object, $this ); -
/** * Allows 3rd parties to alter whether the customer note should be displayed on * the admin. */ apply_filters( 'woocommerce_enable_order_notes_field', 'yes' === get_option( 'woocommerce_enable_order_comments', 'yes' ) ); -
/** * Filter for the path of the downloadable file. */ apply_filters( 'woocommerce_file_download_path', $meta_value['file'], $product, $key ); -
/** * Filters the size for the full gallery image. */ apply_filters( 'woocommerce_gallery_full_size', apply_filters( 'woocommerce_product_thumbnails_large_size', 'full' ) ); -
/** * Filters the size for the gallery image. */ apply_filters( 'woocommerce_gallery_image_size', 'woocommerce_single' ); -
/** * Filters the size for the gallery thumbnail. */ apply_filters( 'woocommerce_gallery_thumbnail_size', array( $gallery_thumbnail['width'], $gallery_thumbnail['height'] ) ); -
/** * Filter the geolocation database storage path. */ apply_filters_deprecated( 'woocommerce_geolocation_local_database_path', array( $database_path, 2 ), '3.9.0', 'woocommerce_maxmind_geolocation_database_path' ); -
woocommerce_get_asset_url
filter/** * Filters the asset URL. */ apply_filters( 'woocommerce_get_asset_url', plugins_url( $path, Constants::get_constant( 'WC_PLUGIN_FILE' ) ), $path ); -
/** * Fires when the Helper fails to activate a product. */ do_action( 'woocommerce_helper_subscription_activate_error', $product_id, $product_key, $activation_response ); -
/** * Fires when the Helper activates a product successfully. */ do_action( 'woocommerce_helper_subscription_activate_success', $product_id, $product_key, $activation_response ); -
/** * Filter: woocommerce_hold_stock_for_checkout Allows enable/disable hold stock * functionality on checkout. */ apply_filters( 'woocommerce_hold_stock_for_checkout', wc_string_to_bool( get_option( 'woocommerce_manage_stock', 'yes' ) ) ); -
woocommerce_is_purchasable
filter/** * Filters whether a product is purchasable. */ apply_filters( 'woocommerce_is_purchasable', $this->exists() && $this->is_viewable() && '' !== $this->get_price(), $this ); -
/** * Filters the number of results returned by the JSON search endpoints. */ apply_filters( 'woocommerce_json_search_limit', 30 ); -
/** * Filter to suppress the requests for and showing of marketplace promotions. */ apply_filters( 'woocommerce_marketplace_suppress_promotions', false ); -
/** * Determines the my account shortcode tag used on the my account page. */ apply_filters( 'woocommerce_my_account_shortcode_tag', 'woocommerce_my_account' ); -
/** * Hook: woocommerce_no_products_found. */ do_action( 'woocommerce_no_products_found' ); -
/** * Email Order Item Thumbnail hook. */ apply_filters( 'woocommerce_order_item_thumbnail', $image, $item->item ); -
/** * Hook fired when there is a connection error with WooCommerce.com. */ do_action( 'woocommerce_page_wc_addons_connection_error', $response->get_error_message() ); -
/** * Allows connection error to be handled. */ do_action( 'woocommerce_page_wc-addons_connection_error', $raw_promotions->get_error_message() ); -
/** * Filters the size for the full gallery image. */ apply_filters( 'woocommerce_product_thumbnails_large_size', 'full' ); -
/** * Filters the minimum quantity which can be purchased at once. */ apply_filters( 'woocommerce_quantity_input_min', 1, $this ); -
/** * Filter to change the product quantity minimum in the order editor of the * admin area. */ apply_filters( 'woocommerce_quantity_input_min_admin', '0', $product, 'refund' ); -
/** * Fires when cart item is removed from the session. */ do_action( 'woocommerce_remove_cart_item_from_session', $key, $values, $product ); -
/** * Trigger action after removing all order line items from the database. */ do_action( 'woocommerce_removed_order_items', $this, null ); -
/** * Filter whether an object is trashable. */ apply_filters( "woocommerce_rest_{$this->post_type}_object_trashable", $supports_trash, $object ); -
/** * Fires after a single object is deleted or trashed via the REST API. */ do_action( "woocommerce_rest_delete_{$this->post_type}_object", $object, $response, $request ); -
/** * Fires after a single product attribute is created or updated via the REST * API. */ do_action( 'woocommerce_rest_insert_product_attribute', $attribute, $request, true ); -
/** * Filter order note object returned from the REST API. */ apply_filters( 'woocommerce_rest_prepare_order_note', $response, $note, $request ); -
/** * Filter product reviews object returned from the REST API. */ apply_filters( 'woocommerce_rest_prepare_product_review', $response, $review, $request ); -
/** * Action hook to adjust item before save. */ do_action( 'woocommerce_rest_set_order_item', $item, $posted ); -
woocommerce_sale_badge_text
filter/** * Filters the product sale badge text. */ apply_filters( 'woocommerce_sale_badge_text', __( 'Sale', 'woocommerce' ), $product ); -
/** * Filter to customize the Cost of Goods Sold value that gets saved for a given * order, or to suppress the saving of the value (so that custom storage can be * used). */ apply_filters( 'woocommerce_save_order_cogs_value', $cogs_value, $order ); -
/** * Fires when a shipping method's enabled status is toggled. */ do_action( 'woocommerce_shipping_zone_method_status_toggled', $instance_id, $method->id, $zone_id, (bool) $updates['is_enabled'] ); -
woocommerce_show_page_title
filter/** * Hook: woocommerce_show_page_title */ apply_filters( 'woocommerce_show_page_title', true ); -
/** * Filters whether the single product gallery flexslider is enabled. */ apply_filters( 'woocommerce_single_product_flexslider_enabled', get_theme_support( 'wc-product-gallery-slider' ) ); -
/** * Filter the valid order statuses for payment. */ apply_filters( 'woocommerce_valid_order_statuses_for_payment', array( OrderStatus::PENDING, OrderStatus::FAILED ), $this ); -
/** * Filter: 'woocommerce_customer_get_[billing|shipping]_[prop]' */ apply_filters( "{$this->get_hook_prefix()}{$address_type}_{$prop}", $value, $this ); -
/** * Fires after a customer is updated via the REST API. */ do_action( "{$this->get_hook_prefix()}updated", $user_data, $request ); -
/** * Fires after a scheduled action has been completed. */ do_action( 'action_scheduler_completed_action', $action_id ); -
action_scheduler_init
action/** * Fires when Action Scheduler is ready: it is safe to use the procedural API * after this point. */ do_action( 'action_scheduler_init' ); -
admin_head
action/** * This action is documented in wp-admin/admin-header.php */ do_action( 'admin_head' ); -
deprecated_function_run
action/** * Fires when a deprecated function is called. */ do_action( 'deprecated_function_run', $function, $replacement, $version ); -
/** * Fires when a cart item quantity is updated from a user request. */ do_action( 'internal_woocommerce_cart_item_updated_from_user_request', $cart_item_key, $quantity, $old_quantity, WC()->cart ); -
oembed_ttl
filter/** * Filter the oEmbed cache time-to-live (TTL). */ apply_filters( 'oembed_ttl', DAY_IN_SECONDS, $url, array(), '' ); -
the_content
filter/** * This filter is documented in wp-includes/post-template.php. We follow * core/content block to replace ]]> with ]> */ apply_filters( 'the_content', str_replace( ']]>', ']]>', $product->get_description() ) ); -
/** * Filters the Woo plugin data before saving it in transient used for updates. */ apply_filters( 'update_woo_com_subscription_details', $item, $data, $plugin['_product_id'] ); -
wc_migrator_error_occurred
action/** * Fires when an error occurs during migration. */ do_action( 'wc_migrator_error_occurred', 'fetch', $e->getMessage(), array( 'batch_args' => $batch_args, 'platform' => $this->parsed_args['platform'], ) ); -
wc_product_has_unique_sku
filter/** * Gives plugins an opportunity to verify SKU uniqueness themselves. Filter * added to keep backwards compatibility with `wc_product_has_unique_sku()`. * See: https://github.com/woocommerce/woocommerce/pull/62628 */ apply_filters( 'wc_product_has_unique_sku', false, $product_id, $new_sku ); -
/** * Gives plugins an opportunity to verify SKU uniqueness themselves. Filter * added to keep backwards compatibility with `wc_product_has_unique_sku()`. * See: https://github.com/woocommerce/woocommerce/pull/62628 */ apply_filters( 'wc_product_pre_has_unique_sku', true, $product_id, $new_sku ); -
wc_session_expiration
filter/** * Filters the session expiration. */ apply_filters( 'wc_session_expiration', $default_expiration_seconds ); -
woo_com_base_url
filter/** * Filter the base URL used to install the Woo hosted plugins. */ apply_filters( 'woo_com_base_url', 'https://woocommerce.com/' ); -
/** * Trigger the single product add to cart action that prints the markup. */ do_action( "woocommerce_{$product_type}_add_to_cart" ); -
/** * Single product add to cart action. */ do_action( "woocommerce_{$product->get_type()}_add_to_cart" ); -
woocommerce_add_cart_item
filter/** * Filters the item being added to the cart. */ apply_filters( 'woocommerce_add_cart_item', array_merge( $request['cart_item_data'], array( 'key' => $cart_id, 'product_id' => $this->get_product_id( $product ), 'variation_id' => $this->get_variation_id( $product ), 'variation' => $request['variation'], 'quantity' => $request_quantity, 'data' => $product, 'data_hash' => wc_get_cart_item_data_hash( $product ), ) ), $cart_id ); -
/** * Filter cart item data for add to cart requests. */ apply_filters( 'woocommerce_add_cart_item_data', $request['cart_item_data'], $product_id, $variation_id, $request['quantity'] ); -
woocommerce_add_to_cart
action/** * Fires when an item is added to the cart. */ do_action( 'woocommerce_add_to_cart', $cart_id, $this->get_product_id( $product ), $request_quantity, $this->get_variation_id( $product ), $request['variation'], $request['cart_item_data'] ); -
/** * Filters the change the quantity to add to cart. */ apply_filters( 'woocommerce_add_to_cart_quantity', $quantity, $product_id, $variation_id ); -
/** * Deprecated action in favor of product_attributes_type_selector filter. */ do_action( 'woocommerce_admin_attribute_types' ); -
woocommerce_admin_features
filter/** * Filter allowing WooCommerce Admin features to be changed after legacy * compatibility defaults are seeded. */ apply_filters( 'woocommerce_admin_features', array_keys( self::get_legacy_feature_compatibility_defaults() ) ); -
/** * Fires before the payment gateways settings fields are rendered. */ do_action( 'woocommerce_admin_field_payment_gateways' ); -
/** * Get additional feature config */ apply_filters( 'woocommerce_admin_get_feature_config', wc_admin_get_feature_config() ); -
/** * Modify the template/content of the default homepage. */ apply_filters( 'woocommerce_admin_onboarding_homepage_template', $template ); -
/** * Filter the list of industries. */ apply_filters( 'woocommerce_admin_onboarding_industries', $industries ); -
/** * The woocommerce_admin_preload_options filter */ apply_filters( 'woocommerce_admin_preload_options', array() ); -
/** * The woocommerce_admin_preload_settings filter */ apply_filters( 'woocommerce_admin_preload_settings', array() ); -
/** * Filters the term list rendered in the products list table taxonomy column. */ apply_filters( 'woocommerce_admin_product_term_list', implode( ', ', $termlist ), 'product_cat', $this->object->get_id(), $termlist, $terms ); -
woocommerce_admin_reports
filter/** * Filter the list and add reports to the legacy _WooCommerce > Reports_. */ apply_filters( 'woocommerce_admin_reports', $reports ); -
/** * Filter for the WooCommerce Admin REST controllers. */ apply_filters( 'woocommerce_admin_rest_controllers', $controllers ); -
/** * Action hook fired after the order details. */ do_action( 'woocommerce_after_order_details', $order ); -
/** * Hook: woocommerce_after_single_variation. */ do_action( 'woocommerce_after_single_variation' ); -
/** * Hook: woocommerce_after_variations_form. */ do_action( 'woocommerce_after_variations_form' ); -
/** * Hook: woocommerce_after_variations_table. */ do_action( 'woocommerce_after_variations_table' ); -
/** * Filter allow marketplace suggestions. */ apply_filters( 'woocommerce_allow_marketplace_suggestions', true ); -
/** * Filter the IDs before retrieving report data. */ apply_filters( "woocommerce_analytics_{$field}", $ids, $query_args, $field, $this->context ); -
/** * Fires when orders stats are deleted. */ do_action( 'woocommerce_analytics_delete_order_stats', $order_id, $customer_id ); -
/** * This filter is documented in includes/wc-update-functions.php */ apply_filters( 'woocommerce_analytics_disable_action_scheduling', false ); -
/** * Filter the list of excluded order statuses for customer history and * analytics reports. */ apply_filters( 'woocommerce_analytics_excluded_order_statuses', $excluded_statuses ); -
/** * Fires when a customer is updated. */ do_action( 'woocommerce_analytics_update_customer', $customer_id ); -
woocommerce_applied_coupon
action/** * Action ran after a coupon is applied. */ do_action( 'woocommerce_applied_coupon', $coupon_code ); -
/** * Filter coupons to remove when applying an individual use coupon. */ apply_filters( 'woocommerce_apply_individual_use_coupon', array(), $coupon, $applied_coupons ); -
/** * Filters if a coupon can be applied alongside other individual use coupons. */ apply_filters( 'woocommerce_apply_with_individual_use_coupon', false, $coupon, $individual_use_coupon, $applied_coupons ); -
/** * Fires immediately before an order is deleted from the database. */ do_action( 'woocommerce_before_delete_order', $id, $order ); -
/** * Hook: woocommerce_before_single_variation. */ do_action( 'woocommerce_before_single_variation' ); -
/** * Fires immediately before an order is trashed. */ do_action( 'woocommerce_before_trash_order', $id, $order ); -
/** * Hook: woocommerce_before_variations_form. */ do_action( 'woocommerce_before_variations_form' ); -
/** * Fires after cart block data is registered. */ do_action( 'woocommerce_blocks_cart_enqueue_data' ); -
/** * Filter the brand's thumbnail size. */ apply_filters( 'woocommerce_brand_thumbnail_size', 'shop_catalog' ); -
/** * Filters the Home breadcrumb URL. */ apply_filters( 'woocommerce_breadcrumb_home_url', $default_home_url ); -
/** * Filters the main term used in product breadcrumbs. */ apply_filters( 'woocommerce_breadcrumb_main_term', $terms[0], $terms ); -
/** * Filters the arguments used to fetch product terms for breadcrumbs. */ apply_filters( 'woocommerce_breadcrumb_product_terms_args', array( 'orderby' => 'parent', 'order' => 'DESC', ) ); -
woocommerce_bulk_action_ids
filter/** * Allows 3rd parties to modify order IDs about to be affected by a bulk * action. */ apply_filters( 'woocommerce_bulk_action_ids', $ids, $action, 'order' ); -
/** * Filter the product thumbnail displayed in the WooCommerce cart. */ apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), $cart_item, $cart_item_key ); -
/** * Note that woocommerce_cart_needs_payment is only used in * WC_Checkout::process_checkout() to keep backwards compatibility. Use * woocommerce_order_needs_payment instead. */ apply_filters( 'woocommerce_cart_needs_payment', $order->needs_payment(), WC()->cart ); -
/** * Filters message about more than 1 product being added to cart. */ apply_filters( 'woocommerce_cart_product_cannot_add_another_message', $message, $product_data ); -
/** * Controls the zero rate tax ID. */ apply_filters( 'woocommerce_cart_remove_taxes_zero_rate_id', 'zero-rated' ); -
woocommerce_catalog_orderby
filter/** * Filters the catalog orderby options. */ apply_filters( 'woocommerce_catalog_orderby', array( 'menu_order' => __( 'Default', 'woocommerce' ), 'popularity' => __( 'Popularity', 'woocommerce' ), 'rating' => __( 'Average rating', 'woocommerce' ), 'date' => __( 'Latest', 'woocommerce' ), 'price' => __( 'Price: low to high', 'woocommerce' ), 'price-desc' => __( 'Price: high to low', 'woocommerce' ), ) ); -
/** * Filter to customize the checkout message when a user must be logged in. */ apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'woocommerce' ) ); -
/** * The woocommerce_component_settings_preload_endpoints filter */ apply_filters( 'woocommerce_component_settings_preload_endpoints', array() ); -
/** * Hook: woocommerce_customer_save_address. */ do_action( 'woocommerce_customer_save_address', $user_id, $address_type ); -
/** * Action: woocommerce_customer_stock_notifications_signup */ do_action( 'woocommerce_customer_stock_notifications_signup', $notification ); -
/** * In view context, return the default status if no status has been set. */ apply_filters( 'woocommerce_default_order_status', OrderStatus::PENDING ); -
woocommerce_delete_order
action/** * Fires immediately after an order is deleted. */ do_action( 'woocommerce_delete_order', $id ); -
/** * Fires when a refund is deleted. */ do_action( 'woocommerce_delete_order_refund', $id ); -
/** * This filter is documented in ../wc-user-functions.php */ apply_filters( 'woocommerce_disable_admin_bar', true ); -
/** * Filter the capability required to dismiss a given notice. */ apply_filters( 'woocommerce_dismiss_admin_notice_capability', 'manage_woocommerce', $notice_name ); -
/** * Action hook to add custom content after fulfillment details in email. */ do_action( 'woocommerce_email_after_fulfillment_table', $order, $fulfillment, $sent_to_admin, $plain_text, $email ); -
/** * Action hook to add custom content after order details in email. */ do_action( 'woocommerce_email_after_order_table', $order, $sent_to_admin, $plain_text, $email ); -
/** * Action hook to add custom content before fulfillment details in email. */ do_action( 'woocommerce_email_before_fulfillment_table', $order, $fulfillment, $sent_to_admin, $plain_text, $email ); -
/** * Action hook to add custom content before order details in email. */ do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text, $email ); -
/** * Filter whether to display the section divider in the email body. */ apply_filters( 'woocommerce_email_body_display_section_divider', true ); -
/** * Filter whether to display the order number in the order details heading of * emails. */ apply_filters( 'woocommerce_email_display_order_number', true, $order, $email ); -
/** * Filter the email heading for customer refunded order. */ apply_filters( 'woocommerce_email_heading_customer_refunded_order', $this->format_string( $heading ), $this->object, $this ); -
/** * Filter the context array logged for each transactional email attempt. */ apply_filters( 'woocommerce_email_log_context', $context, $email_id, $email ); -
/** * Filter whether to log this transactional email attempt. */ apply_filters( 'woocommerce_email_log_enabled', true, $email_id, $email ); -
/** * Filters whether a zero cost shipping row shows 'Free!' in place of the * repeated method name. */ apply_filters( 'woocommerce_email_order_shipping_show_free_label', $order->has_shipping_method( 'free_shipping' ), $order ); -
woocommerce_email_skipped
action/** * Fires when a transactional email is not sent for a reason other than being * disabled. */ do_action( 'woocommerce_email_skipped', self::SKIP_REASON_NO_RECIPIENT, $this->id, $this ); -
/** * Filter whether to add the filter post clauses */ apply_filters( 'woocommerce_enable_post_clause_filtering', $wp_query->is_main_query(), $wp_query ); -
/** * Filter the filename of a downloadable product file before it is served. */ apply_filters( 'woocommerce_file_download_filename', self::derive_filename_from_file_path( $file_path ), $product_id ); -
/** * Flush the rewrite rules after install or update. */ do_action( 'woocommerce_flush_rewrite_rules' ); -
woocommerce_format_log_entry
filter/** * Filter the formatted log entry before it is written. */ apply_filters( 'woocommerce_format_log_entry', $entry, array( 'timestamp' => $timestamp, 'level' => $level, 'message' => $message, 'context' => $context, ) ); -
/** * Action to perform after a fulfillment is fulfilled. */ do_action( 'woocommerce_fulfillment_after_fulfill', $data ); -
/** * Filter to modify the fulfillment data before it is fulfilled. */ apply_filters( 'woocommerce_fulfillment_before_fulfill', $data ); -
/** * Trigger the fulfillment created notification on creating a fulfilled * fulfillment. */ do_action( 'woocommerce_fulfillment_created_notification', $order_id, $fulfillment, wc_get_order( $order_id ) ); -
woocommerce_gateway_icon
filter/** * Filter the gateway icon. */ apply_filters( 'woocommerce_gateway_icon', $icon, $this->id ); -
woocommerce_get_breadcrumb
filter/** * Filters the breadcrumb trail array. */ apply_filters( 'woocommerce_get_breadcrumb', $wc_crumbs, null ); -
/** * Filters the default and shop base country address field settings, which * apply when the checkout country changes. */ apply_filters( 'woocommerce_get_country_locale_base', $locale['default'] ); -
/** * Customizes the SQL query that populates product counts in layered * navigation. */ apply_filters( 'woocommerce_get_filtered_term_product_counts_query', $query ); -
/** * Filter WooCommerce formatted order total. */ apply_filters( 'woocommerce_get_formatted_order_total', $formatted_total, $this, $tax_display, $display_refunded ); -
woocommerce_get_item_data
filter/** * Filters cart item data. */ apply_filters( 'woocommerce_get_item_data', array(), $cart_item ); -
/** * Modifies the product object returned by \WC_Order_Item_Product::get_product. */ apply_filters( 'woocommerce_get_product_from_item', $product, $this, $this->get_order() ); -
/** * Fires when the Helper connection process is initiated. */ do_action( 'woocommerce_helper_connect_start' ); -
woocommerce_helper_connected
action/** * Fires when the Helper connection process has completed successfully. */ do_action( 'woocommerce_helper_connected' ); -
/** * Fires when the Helper fails to activate a product. */ do_action( 'woocommerce_helper_subscription_deactivate_error', $product_id, $product_key, $deactivation_response ); -
/** * Fires when the Helper activates a product successfully. */ do_action( 'woocommerce_helper_subscription_deactivate_success', $product_id, $product_key, $deactivation_response ); -
/** * Filter to customize the Cost of Goods Sold value that gets loaded for a * given order. */ apply_filters( 'woocommerce_load_order_cogs_value', $cogs_value, $order ); -
/** * Filter the threshold size of a log file at which point it will get rotated. */ apply_filters( 'woocommerce_log_file_size_limit', $default ); -
/** * Filter to customize the arguments for the add to cart template for the loop. */ apply_filters( 'woocommerce_loop_add_to_cart_args', wp_parse_args( $args, $defaults ), $product ); -
/** * Filters the add to cart button class. */ apply_filters( 'woocommerce_loop_add_to_cart_link', $html, $product, $args ); -
woocommerce_low_stock
action/** * Action to signal that the value of 'stock_quantity' for a product is about * to change. */ do_action( 'woocommerce_low_stock', wc_get_product( $change['product']->get_id() ) ); -
woocommerce_mail_content
filter/** * This filter is documented in * src/Internal/Admin/EmailPreview/EmailPreview.php */ apply_filters( 'woocommerce_mail_content', $inlined ); -
/** * Filter the geolocation database storage path. */ apply_filters( 'woocommerce_maxmind_geolocation_database_path', $database_path ); -
/** * Filter whether MaxMind geolocation notices should be displayed. */ apply_filters( 'woocommerce_maxmind_geolocation_display_notices', true ); -
woocommerce_no_stock
action/** * Action to signal that the value of 'stock_quantity' for a variation is about * to change. */ do_action( 'woocommerce_no_stock', wc_get_product( $change['product']->get_id() ) ); -
woocommerce_note_loaded
action/** * Fires when an admin note is loaded. */ do_action( 'woocommerce_note_loaded', $note ); -
/** * Action hook fired when the onboarding profile (or onboarding wizard, or * profiler) is completed. */ do_action( 'woocommerce_onboarding_profile_completed' ); -
/** * Action hook fired after an address in the order customer details. */ do_action( 'woocommerce_order_details_after_customer_address', 'billing', $order ); -
/** * Controls the grace period within which we do not require any sort of email * verification step before rendering the 'order received' or 'order pay' * pages. */ apply_filters( 'woocommerce_order_email_verification_grace_period', 10 * MINUTE_IN_SECONDS, $order, 'order-received' ); -
/** * Provides an opportunity to override the (potential) requirement for shoppers * to verify their email address before we show information such as the order * summary, or order payment page. */ apply_filters( 'woocommerce_order_email_verification_required', true, $order, 'order-received' ); -
/** * Trigger notification emails. */ apply_filters( 'woocommerce_order_is_partially_refunded', ( $remaining_refund_amount - $args['amount'] ) > 0 || ( ! empty( $args['line_items'] ) && $order->has_free_item() && ( $remaining_refund_items - $refund_item_count ) > 0 ), $order->get_id(), $refund->get_id() ); -
/** * Filter order item quantity. */ apply_filters( 'woocommerce_order_item_quantity', $item->get_quantity(), $order, $item ); -
/** * Action fired after updating order properties. */ do_action( 'woocommerce_order_object_updated_props', $order, $updated_props ); -
/** * Indicates if known (non-guest) shoppers need to be logged in before we let * them access the order received page. */ apply_filters( 'woocommerce_order_received_verify_known_shoppers', true ); -
/** * Fires after updating meta for a order refund. */ do_action( 'woocommerce_order_refund_object_updated_props', $refund, $updated_props ); -
/** * Run an action to save order attribution data. */ do_action( 'woocommerce_order_save_attribution_data', $order, $params ); -
/** * Filters whether or not the product has enough stock. */ apply_filters( 'woocommerce_pay_order_product_has_enough_stock', ( $product->get_stock_quantity() >= ( $held_stock + $required_stock ) ), $product, $order ); -
/** * Filters whether or not the product is in stock for this pay for order. */ apply_filters( 'woocommerce_pay_order_product_in_stock', $product->is_in_stock(), $product, $order ); -
woocommerce_paypal_icon
filter/** * Filters the PayPal icon image. */ apply_filters( 'woocommerce_paypal_icon', $icon ); -
/** * Filter the supported currencies for PayPal. */ apply_filters( 'woocommerce_paypal_supported_currencies', PayPalConstants::SUPPORTED_CURRENCIES ); -
/** * Filters whether the gateway should use Orders v2 API. */ apply_filters( 'woocommerce_paypal_use_orders_v2', PayPalHelper::is_orders_v2_migration_eligible() ); -
woocommerce_pos_email_header
action/** * Hook for the woocommerce_email_header. */ do_action( 'woocommerce_pos_email_header', $email_heading, $email ); -
/** * Save meta for shop order. */ do_action( 'woocommerce_process_shop_order_meta', $post_id, $post ); -
/** * Filter the aria-describedby description for the add to cart button. */ apply_filters( 'woocommerce_product_add_to_cart_aria_describedby', '', $this ); -
/** * Filters the woocommerce_hide_out_of_stock_items option to override the * default behavior in product filtering by attribute. */ apply_filters( 'woocommerce_product_attributes_filterer_hide_out_of_stock', 'yes' === get_option( 'woocommerce_hide_out_of_stock_items' ) ); -
/** * Action to signal that the value of 'stock_quantity' for a product is about * to change. */ do_action( 'woocommerce_product_before_set_stock', $product ); -
/** * Filter the arguments used by the product CSV importer. */ apply_filters( 'woocommerce_product_csv_importer_args', $args, $importer_class ); -
/** * Controls whether shortcodes should be resolved and validated using the * Approved Download Directory feature. */ apply_filters( 'woocommerce_product_downloads_approved_directory_validation_for_shortcodes', true ); -
/** * This action can be used to modify the object further before it is created - * it will be passed by reference. */ do_action( 'woocommerce_product_duplicate_before_save', $duplicate, $product ); -
/** * This filter is documented in * includes/import/abstract-wc-product-importer.php */ apply_filters( 'woocommerce_product_importer_default_time_limit', 20 ); -
/** * Filter product importer parsed data. */ apply_filters( 'woocommerce_product_importer_parsed_data', $this->parsed_data, $this ); -
/** * Filter product attribute after initialization. */ apply_filters( 'woocommerce_product_importer_read_attribute', $attribute_object, $attribute, $product ); -
/** * Filter product attribute after initialization. */ apply_filters( 'woocommerce_product_read_attribute', $attribute, $meta_value, $product ); -
/** * Filters the comment form arguments. */ apply_filters( 'woocommerce_product_review_comment_form_args', $comment_form ); -
/** * Action to signal that the value of 'stock_quantity' for a product has * changed. */ do_action( 'woocommerce_product_set_stock', $product ); -
woocommerce_product_tabs
filter/** * Filter the product tabs in the product details block. */ apply_filters( 'woocommerce_product_tabs', array() ); -
/** * Filters the maximum quantity which can be purchased at once. */ apply_filters( 'woocommerce_quantity_input_max', $this->is_sold_individually() ? 1 : ( $this->backorders_allowed() || ! $this->managing_stock() ? -1 : $this->get_stock_quantity() ), $this ); -
/** * Filter the placeholder shown in the quantity input. */ apply_filters( 'woocommerce_quantity_input_placeholder', 0, $product ); -
/** * Filters the step for the quantity input for this product. */ apply_filters( 'woocommerce_quantity_input_step', 1, $this ); -
/** * Filter to change the product quantity stepping in the order editor of the * admin area. */ apply_filters( 'woocommerce_quantity_input_step_admin', $step, $product, 'edit' ); -
/** * Filters the legacy order report query result. */ apply_filters( 'woocommerce_reports_get_order_report_data', $wpdb->$query_type( $query ), $data ); -
/** * Allows modifying the order statuses used in the top seller query inside the * dashboard status widget. */ apply_filters( 'woocommerce_reports_order_statuses', array( OrderStatus::COMPLETED, OrderStatus::PROCESSING, OrderStatus::ON_HOLD ) ); -
/** * Filter whether an item is trashable. */ apply_filters( "woocommerce_rest_{$this->post_type}_trashable", $supports_trash, $post ); -
/** * Filter the allowed roles for the REST API. */ apply_filters( 'woocommerce_rest_customer_allowed_roles', array( 'customer', 'subscriber' ) ); -
/** * Filter arguments, before passing to WP_User_Query, when querying users via * the REST API. */ apply_filters( 'woocommerce_rest_customer_query', $prepared_args, $request ); -
/** * Fires after a single item is deleted or trashed via the REST API. */ do_action( "woocommerce_rest_delete_{$this->post_type}", $post, $response, $request ); -
/** * Fires after a shipping zone is deleted via the REST API. */ do_action( 'woocommerce_rest_delete_shipping_zone_method', $method, $zone, $response, $request ); -
woocommerce_rest_delete_tax
action/** * Fires after a tax class is deleted via the REST API. */ do_action( 'woocommerce_rest_delete_tax', (object) $tax_class, $response, $request ); -
/** * Fires after a single term is created or updated via the REST API. */ do_action( "woocommerce_rest_insert_{$taxonomy}", $term, $request, true ); -
/** * Fires after a single object is created or updated via the REST API. */ do_action( "woocommerce_rest_insert_{$this->post_type}_object", $object, $request, true ); -
/** * Fires after a customer is created or updated via the REST API. */ do_action( 'woocommerce_rest_insert_customer', $user_data, $request, true ); -
/** * Fires after a order note is created or updated via the REST API. */ do_action( 'woocommerce_rest_insert_order_note', $note, $request, true ); -
/** * Fires after a single item is created or updated via the REST API. */ do_action( 'woocommerce_rest_insert_product', $post, $request, true ); -
woocommerce_rest_insert_tax
action/** * Fires after a tax is created or updated via the REST API. */ do_action( 'woocommerce_rest_insert_tax', $tax, $request, true ); -
/** * Fires after a single item is created or updated via the REST API. */ do_action( 'woocommerce_rest_insert_webhook_object', $webhook, $request, true ); -
/** * Filter customer data returned from the REST API. */ apply_filters( 'woocommerce_rest_prepare_customer', $response, $user_data, $request ); -
/** * Filter customer download data returned from the REST API. */ apply_filters( 'woocommerce_rest_prepare_customer_download', $response, $download, $request ); -
/** * Filter payment gateway objects returned from the REST API. */ apply_filters( 'woocommerce_rest_prepare_payment_gateway', $response, $gateway, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report', $response, $report, $request ); -
woocommerce_rest_prepare_tax
filter/** * Filter tax object returned from the REST API. */ apply_filters( 'woocommerce_rest_prepare_tax', $response, (object) $tax_class, $request ); -
/** * Filter webhook delivery object returned from the REST API. */ apply_filters( 'woocommerce_rest_prepare_webhook_delivery', $response, $log, $request ); -
/** * Allow extensions be notified before the item is removed. */ do_action( 'woocommerce_rest_remove_order_item', $item ); -
woocommerce_rest_tax_query
filter/** * Filter arguments, before passing to $wpdb->get_results(), when querying * taxes via the REST API. */ apply_filters( 'woocommerce_rest_tax_query', $prepared_args, $request ); -
woocommerce_session_handler
filter/** * Filter to overwrite the session class that handles session data for users. */ apply_filters( 'woocommerce_session_handler', 'WC_Session_Handler' ); -
/** * Filter the instance settings values before saving. */ apply_filters( "woocommerce_shipping_{$method->id}_instance_settings_values", $instance_settings, $method ); -
/** * Filter to not require shipping postcode for shipping calculation, even if it * is required at checkout. This can be used to allow shipping calculations to * be done without a postcode. */ apply_filters( 'woocommerce_shipping_calculator_enable_postcode', true ); -
/** * Filter to not require shipping state for shipping calculation, even if it is * required at checkout. This can be used to allow shipping calculations to be * done without a state. */ apply_filters( 'woocommerce_shipping_calculator_enable_state', true ); -
/** * Filters the default shipping method for a package. */ apply_filters( 'woocommerce_shipping_chosen_method', $default, $package['rates'], $chosen_method ); -
/** * Filter whether shipping prices include tax. */ apply_filters( 'woocommerce_shipping_prices_include_tax', false ); -
/** * Fires for custom columns in the shipping providers configure modal. */ do_action( "woocommerce_shipping_providers_column_{$class}" ); -
woocommerce_shop_loop
action/** * Hook: woocommerce_shop_loop. */ do_action( 'woocommerce_shop_loop' ); -
woocommerce_sidebar
action/** * Hook: woocommerce_sidebar. */ do_action( 'woocommerce_sidebar' ); -
/** * Filter product image thumbnail HTML string. */ apply_filters( 'woocommerce_single_product_image_thumbnail_html', $html, $first_media_id ); -
/** * Filter product video thumbnail HTML string. */ apply_filters( 'woocommerce_single_product_video_thumbnail_html', $html, $first_media_id, $first_media_item ); -
woocommerce_single_variation
action/** * Hook: woocommerce_single_variation. */ do_action( 'woocommerce_single_variation' ); -
woocommerce_states
filter/** * Allows filtering of country states in WC. */ apply_filters( 'woocommerce_states', $states ); -
/** * Fires after the Checkout Block/Store API request has populated and validated * the order. */ do_action( 'woocommerce_store_api_checkout_order_processed', $this->order ); -
/** * Fires when the Checkout Block/Store API updates a customer from the API * request data. */ do_action( 'woocommerce_store_api_checkout_update_customer_from_request', $customer, $request ); -
/** * Filters the Store API nonce check. */ apply_filters( 'woocommerce_store_api_disable_nonce_check', false ); -
/** * Filters a quantity for a cart item in Store API. This allows extensions to * control the qty of items. */ apply_filters( "woocommerce_store_api_product_quantity_{$value_type}", $value, $product, $cart_item ); -
/** * Filters the arguments for registering the attribute taxonomy. */ apply_filters( "woocommerce_taxonomy_args_{$taxonomy_name}", array( 'labels' => array( 'name' => $attr_name, ), 'hierarchical' => false, 'show_ui' => false, 'show_in_rest' => true, 'query_var' => true, 'rewrite' => false, 'public' => false, ) ); -
/** * Filters the object types associated with the attribute taxonomy. */ apply_filters( "woocommerce_taxonomy_objects_{$taxonomy_name}", array( 'product' ) ); -
/** * Filters the message shown when an order has failed. */ apply_filters( 'woocommerce_thankyou_order_failed_text', $order_failed_text, $order ); -
/** * Filters the ID of the order shown on the thanks page. */ apply_filters( 'woocommerce_thankyou_order_id', absint( $order_id ) ); -
/** * Add global tracks event properties. */ apply_filters( 'woocommerce_tracks_event_properties', $client_tracking_properties, false ); -
woocommerce_trash_order
action/** * Fires immediately after an order is trashed. */ do_action( 'woocommerce_trash_order', $id ); -
/** * Fires when an order refund is updated. */ do_action( 'woocommerce_update_order_refund', $refund->get_id(), $refund ); -
/** * Filter the HTML fragments returned with a checkout update, keyed by the * selector each one replaces. */ apply_filters( 'woocommerce_update_order_review_fragments', array( '.woocommerce-checkout-review-order-table' => $woocommerce_order_review, '.woocommerce-checkout-payment' => $woocommerce_checkout_payment, ) ); -
/** * Fire an action for this direct update so it can be detected by other code. */ do_action( 'woocommerce_updated_product_price', $product_id ); -
/** * Filter valid order statuses for cancel. */ apply_filters( 'woocommerce_valid_order_statuses_for_cancel', array( OrderStatus::PENDING, OrderStatus::FAILED ), $order ); -
/** * Filter the valid order statuses for reordering. */ apply_filters( 'woocommerce_valid_order_statuses_for_order_again', array( OrderStatus::COMPLETED ) ); -
/** * Filters the query arguments used to retrieve variation children of a * variable product. */ apply_filters( 'woocommerce_variable_children_args', $all_args, $product, false ); -
/** * Action to signal that the value of 'stock_quantity' for a variation is about * to change. */ do_action( 'woocommerce_variation_before_set_stock', $product ); -
woocommerce_variation_prices
filter/** * Filters the variation prices array for a variable product. */ apply_filters( 'woocommerce_variation_prices', $transient_cached_prices_array[ $hash_display ], $product, true ); -
/** * Filter the variation prices array before storing in transient cache. */ apply_filters( 'woocommerce_variation_prices_array', $original_display_prices_array, $variation, true ); -
/** * Action to signal that the value of 'stock_quantity' for a variation has * changed. */ do_action( 'woocommerce_variation_set_stock', $product ); -
/** * Filters the cache TTL for queries that find entities associated with a term * or taxonomy. */ apply_filters( 'woocommerce_version_string_invalidator_taxonomy_lookup_ttl', self::DEFAULT_TAXONOMY_LOOKUP_CACHE_TTL, 'product' ); -
/** * Filters the HTTP arguments for the webhook delivery. */ apply_filters( 'woocommerce_webhook_http_args', $http_args, $arg, $this->get_id() ); -
wp_plugin_dependencies_slug
filter/** * Apply the WP Core "wp_plugin_dependencies_slug" filter to get the correct * plugin slug. */ apply_filters( 'wp_plugin_dependencies_slug', $slug ); -
wp_search_stopwords
filter/** * This filter is documented in wp-includes/class-wp-query.php. */ apply_filters( 'wp_search_stopwords', $stopwords ); -
/** * Experimental filter for extensions to register a block template part for a * product type. */ apply_filters( "__experimental_woocommerce_{$product_type}_add_to_cart_with_options_block_template_part", false, $product_type ); -
/** * Filters the list of allowed Block Names */ apply_filters( '__experimental_woocommerce_blocks_add_data_attributes_to_block', array() ); -
/** * Filters the list of allowed block namespaces. */ apply_filters( '__experimental_woocommerce_blocks_add_data_attributes_to_namespace', array() ); -
/** * Filter to control what features are available for each payment gateway. */ apply_filters( '__experimental_woocommerce_blocks_payment_gateway_features_list', $features, $this->get_name() ); -
/** * Allow custom sanitization of an additional field. */ apply_filters_deprecated( '__experimental_woocommerce_blocks_sanitize_additional_field', array( $field_value, $field_key ), '8.7.0', 'woocommerce_sanitize_additional_field', 'This action has been graduated, use woocommerce_sanitize_additional_field instead.' ); -
/** * Filters the allowed methods for store API batch requests. */ apply_filters( '__experimental_woocommerce_store_api_batch_request_methods', array( 'POST', 'PUT', 'PATCH', 'DELETE' ) ); -
{$filter}_notification
action/** * This action is documented in includes/class-wc-emails.php in the * send_transactional_email method. */ do_action_ref_array( "{$filter}_notification", $args ); -
/** * Filter the collection params. */ apply_filters( "{$this->get_hook_prefix()}collection_params", $params, $this ); -
/** * Filter collection query args before executing the query. */ apply_filters( "{$this->get_hook_prefix()}collection_query_args", $this->collection_query->get_query_args( $request ), $request, $this ); -
/** * Filter the data for a response. */ apply_filters( "{$this->get_hook_prefix()}item_response", $response, $item, $request ); -
/** * Filter the item schema for this route. */ apply_filters( "{$this->get_hook_prefix()}item_schema", $this->add_additional_fields_schema( $this->get_schema() ) ); -
/** * Filter whether an object is trashable. */ apply_filters( "{$this->get_hook_prefix()}object_trashable", EMPTY_TRASH_DAYS > 0, $order ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_post_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_url", $url ); -
/** * Action hook for email template classes to trigger the sending of an email. */ do_action_ref_array( "{current_filter()}_notification", $args ); -
/** * Filters the list of classes that are permitted as nested properties of a * schedule object. */ apply_filters( 'action_scheduler_allowed_nested_schedule_classes', self::DEFAULT_NESTED_CLASSES ); -
/** * Allow custom processing before updating a table schema. */ do_action( 'action_scheduler_before_schema_update', $table, $this->db_version ); -
/** * Sets the order-by clause used in the action claim query. */ apply_filters( 'action_scheduler_claim_actions_order_by', 'ORDER BY priority ASC, attempts ASC, scheduled_date_gmt ASC, action_id ASC', $claim_id, $hooks ); -
/** * Filter the batch size when cleaning the queue. */ apply_filters( 'action_scheduler_cleanup_batch_size', $this->batch_size ); -
/** * Filter whether the database supports the SKIP LOCKED modifier for queries. */ apply_filters( 'action_scheduler_db_supports_skip_locked', $is_supported ); -
/** * Filter the statuses when cleaning the queue. */ apply_filters( 'action_scheduler_default_cleaner_statuses', $this->default_statuses_to_purge ); -
/** * Filter whether failed actions are purged. Return false to disable failed * action cleanup. */ apply_filters( 'action_scheduler_enable_failed_action_cleanup', true ); -
/** * Filters whether Action Scheduler rejects schedule blobs referencing * unexpected classes. */ apply_filters( 'action_scheduler_enforce_schedule_allowed_classes', true ); -
/** * Fires to allow extensions to verify and ensure their recurring actions are * scheduled. */ do_action( 'action_scheduler_ensure_recurring_actions' ); -
/** * Allows 3rd party code to add extra action counts (used in filters in the * list table). */ apply_filters( 'action_scheduler_extra_action_counts', $extra_actions ); -
/** * Notify 3rd party code of exceptions when deleting a completed action older * than the retention period */ do_action( "action_scheduler_failed_{$context}_action_deletion", $action_id, $e, $lifespan, count( $actions_to_delete ) ); -
/** * Runs when action execution fails. */ do_action( 'action_scheduler_failed_execution', $action_id, $e, $context ); -
/** * Runs when action validation fails. */ do_action( 'action_scheduler_failed_validation', $action_id, $e, $context ); -
action_scheduler_pre_init
action/** * Fires in the early stages of Action Scheduler init hook. */ do_action( 'action_scheduler_pre_init' ); -
/** * When an external object cache is in use, and when wp_cache_flush_runtime() * is not available, then normally the cache will not be flushed after * processing a batch of actions (to avoid a performance penalty for other * processes). */ apply_filters( 'action_scheduler_queue_runner_flush_cache', false ); -
/** * Controls the failure threshold for recurring actions. */ apply_filters( 'action_scheduler_recurring_action_failure_threshold', 5 ); -
/** * If a recurring action is assessed as consistently failing, it will not be * rescheduled. This hook provides a way to observe and optionally override * that assessment. */ apply_filters( 'action_scheduler_recurring_action_is_consistently_failing', $first_action_id_with_the_same_hook === $first_failing_action_id, $action ); -
/** * Filter the minimum scheduled date age for action deletion. */ apply_filters( 'action_scheduler_retention_period', $this->month_in_seconds ); -
/** * Set the retention period in seconds for actions with a failed status. If the * action_scheduler_default_cleaner_statuses filter includes a failed status, * this filter result will be ignored, and the retention period for failed * actions will match that of other statuses. */ apply_filters( 'action_scheduler_retention_period_for_failed', 3 * $this->month_in_seconds ); -
/** * Allow 3rd party code to change the instantiated action for a given hook, * args, schedule and group. */ apply_filters( 'action_scheduler_stored_action_instance', $action, $hook, $args, $schedule, $group, $priority ); -
/** * Fires when a stored schedule blob references a class Action Scheduler did * not expect. */ do_action( 'action_scheduler_unexpected_schedule_class', $offending_class, $this->outer_class, $this->potential_offenders, $rejected ); -
add_meta_boxes
action/** * From wp-admin/includes/meta-boxes.php. */ do_action( 'add_meta_boxes', $this->screen_id, $this->order ); -
/** * Provides an opportunity to inject custom meta boxes into the order editor * screen. This hook is an analog of `add_meta_boxes_<POST_TYPE>` as provided * by WordPress core. */ do_action( "add_meta_boxes_{$this->screen_id}", $this->order ); -
/** * Fires immediately after adding metadata. */ do_action( "added_{$this->object_type}_meta", $meta->id, $this->get_id(), $meta->key, $meta->value ); -
admin_head-{$hook_suffix}
action/** * This action is documented in wp-admin/admin-header.php */ do_action( "admin_head-{$hook_suffix}" ); -
after_password_reset
action/** * Fires after the user's password has been reset via WooCommerce. */ do_action( 'after_password_reset', $user, $new_pass ); -
before_woocommerce_init
action/** * Action triggered before WooCommerce initialization begins. */ do_action( 'before_woocommerce_init' ); -
before_woocommerce_pay_form
action/** * Triggered right before the Pay for Order form, after validation of the order * and customer. */ do_action( 'before_woocommerce_pay_form', $order, $order_button_text, $available_gateways ); -
comment_row_actions
filter/** * Filters the action links displayed for each review in the Reviews list * table. */ apply_filters( 'comment_row_actions', array_filter( $actions ), $item ); -
comment_text
filter/** * This filter is documented in wp-includes/comment-template.php */ apply_filters( 'comment_text', $comment_text, $comment, $args ); -
comments_clauses
filter/** * This filter is documented in wp-includes/class-wp-comment-query.php */ apply_filters_ref_array( 'comments_clauses', array( $clauses, &$comment_query ) ); -
/** * Fires immediately after deleting metadata. */ do_action( "deleted_{$this->object_type}_meta", $meta->id, $this->get_id(), $meta->key, $meta->value ); -
/** * Filters whether to trigger an error for deprecated functions. (Same as WP * core) */ apply_filters( 'deprecated_function_trigger_error', true ); -
/** * Modify the optional set of payments settings sections to be rendered using * React. */ apply_filters( 'experimental_woocommerce_admin_payment_reactify_render_sections', $optional_reactified_sections ); -
/** * Experimental: Filter the Variations SQL query allowing extensions to add * additional SQL clauses. */ apply_filters( 'experimental_woocommerce_analytics_variations_additional_clauses', $query_args, $this->subquery ); -
/** * Experimental: Filter the list of parameters provided when querying data from * the data store. */ apply_filters( 'experimental_woocommerce_analytics_variations_collection_params', $this->get_collection_params() ); -
/** * Experimental: Filter the list of parameters provided when querying data from * the data store. */ apply_filters( 'experimental_woocommerce_analytics_variations_stats_collection_params', $this->get_collection_params() ); -
formatted_woocommerce_price
filter/** * Filter formatted price. */ apply_filters( 'formatted_woocommerce_price', number_format( $price, $args['decimals'], $args['decimal_separator'], $args['thousand_separator'] ), $price, $args['decimals'], $args['decimal_separator'], $args['thousand_separator'], $original_price ); -
/** * This action is documented in /wp-admin/edit.php (it is a core WordPress * hook). */ apply_filters( "handle_bulk_actions-{$screen}", $redirect_to, $action, $ids ); -
illegal_user_logins
filter/** * WordPress 4.4 - filters the list of blocked usernames. */ apply_filters( 'illegal_user_logins', array() ); -
is_woocommerce
filter/** * Filters whether the current request is being handled by a WooCommerce * template. */ apply_filters( 'is_woocommerce', is_shop() || is_product_taxonomy() || is_product() ); -
/** * Fires for each custom column in the Custom Order Table in the administrative * screen. */ do_action( "manage_{$this->screen->id}_custom_column", $column_name, $order ); -
order_edit_form_tag
action/** * Fires inside the order edit form tag. */ do_action( 'order_edit_form_tag', $this->order ); -
order_edit_form_top
action/** * Fires at the top of the order edit form. Can be used as a replacement for * edit_form_top hook for HPOS. */ do_action( 'order_edit_form_top', $this->order ); -
plugin_locale
filter/** * Filter to adjust the WooCommerce locale to use for translations. */ apply_filters( 'plugin_locale', determine_locale(), 'woocommerce' ); -
plugins_update_check_locales
filter/** * Filters the locales requested for plugin translations. */ apply_filters( 'plugins_update_check_locales', $locales ); -
postmeta_form_keys
filter/** * Filters values for the meta key dropdown in the Custom Fields meta box. */ apply_filters( 'postmeta_form_keys', null, $order ); -
postmeta_form_limit
filter/** * Compatibility filter for 'postmeta_form_limit', which filters the number of * custom fields to retrieve for the drop-down in the Custom Fields meta box. */ apply_filters( 'postmeta_form_limit', 30 ); -
pre_as_enqueue_async_action
filter/** * Provides an opportunity to short-circuit the default process for enqueuing * async actions. */ apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique ); -
pre_as_schedule_cron_action
filter/** * Provides an opportunity to short-circuit the default process for enqueuing * cron actions. */ apply_filters( 'pre_as_schedule_cron_action', null, $timestamp, $schedule, $hook, $args, $group, $priority, $unique ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * recurring actions. */ apply_filters( 'pre_as_schedule_recurring_action', null, $timestamp, $interval_in_seconds, $hook, $args, $group, $priority, $unique ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * single actions. */ apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ); -
query_vars
filter/** * Filter the publicly allowed query vars. */ apply_filters( 'query_vars', $wp->public_query_vars ); -
raw_woocommerce_price
filter/** * Filter raw price. */ apply_filters( 'raw_woocommerce_price', $negative ? $price * -1 : $price, $original_price ); -
/** * Filter the brand taxonomy. */ apply_filters( 'register_taxonomy_product_brand', array( 'hierarchical' => true, 'update_count_callback' => '_wc_term_recount', 'label' => __( 'Brands', 'woocommerce' ), 'labels' => array( 'name' => __( 'Product brands', 'woocommerce' ), 'singular_name' => __( 'Brand', 'woocommerce' ), 'menu_name' => __( 'Brands', 'woocommerce' ), 'template_name' => _x( 'Products by Brand', 'Template name', 'woocommerce' ), 'search_items' => __( 'Search Brands... ); -
/** * Filter additional fields for objects of this type. */ apply_filters( "rest_{$this->get_object_type()}_additional_fields", $fields, 'user' ); -
/** * Filter collection parameters for the posts controller. */ apply_filters( "rest_{$this->post_type}_collection_params", $params, $this->post_type ); -
/** * Filter collection parameters for the terms controller. */ apply_filters( "rest_{$this->taxonomy}_collection_params", $params, $taxonomy_obj ); -
rest_additional_fields
filter/** * Filter additional fields for objects of this type. */ apply_filters( 'rest_additional_fields', $fields, 'user' ); -
rest_delete_product_review
action/** * Fires after a product review is deleted via the REST API. */ do_action( 'rest_delete_product_review', $product_review, $response, $request ); -
/** * Filter a product review (comment) before it is inserted via the REST API. */ apply_filters( 'rest_pre_insert_product_review', $prepared_review, $request ); -
/** * Filter whether a product review is trashable. */ apply_filters( 'rest_product_review_trashable', ( EMPTY_TRASH_DAYS > 0 ), $product_review ); -
site_status_test_result
filter/** * This filter is documented in wp-admin/includes/class-wp-site-health.php */ apply_filters( 'site_status_test_result', $this->run_test( $test_id ) ); -
term_links-product_cat
filter/** * This filter is documented in wp-includes/category-template.php */ apply_filters( 'term_links-product_cat', $links ); -
/** * Fires immediately after updating metadata. */ do_action( "updated_{$this->object_type}_meta", $meta->id, $this->get_id(), $meta->key, $meta->value ); -
/** * Filter to allow changing where order data is stored, even when there are * orders pending synchronization. */ apply_filters( 'wc_allow_changing_orders_storage_while_sync_is_pending', false ); -
/** * Filters the error message for a batch processing. */ apply_filters( 'wc_batch_processing_log_message', $error_message, $error, $batch_processor, $batch, $error_context ); -
/** * Controls the failure threshold for batch processors. That is, the number of * times we'll attempt to process a batch that has resulted in a failure. Once * above this threshold, the processor won't be re-scheduled and will be * removed from the queue. */ apply_filters( 'wc_batch_processing_max_attempts', self::FAILING_PROCESS_MAX_ATTEMPTS_DEFAULT, $batch_processor, $process_details ); -
wc_currency_settings
filter/** * The wc_currency_settings hook */ apply_filters( 'wc_currency_settings', array( 'code' => $code, 'precision' => wc_get_price_decimals(), 'symbol' => html_entity_decode( get_woocommerce_currency_symbol( $code ) ), 'symbolPosition' => get_option( 'woocommerce_currency_pos' ), 'decimalSeparator' => PriceSeparators::get_decimal(), 'thousandSeparator' => PriceSeparators::get_thousand(), 'priceFormat' => html_entity_decode( get_woocommerce_price_format() ), ) ); -
wc_empty_cart_message
filter/** * Filter empty cart message text. */ apply_filters( 'wc_empty_cart_message', __( 'Your cart is currently empty.', 'woocommerce' ) ); -
wc_help_tip
filter/** * Filter the help tip. */ apply_filters( 'wc_help_tip', '<span class="woocommerce-help-tip" tabindex="0" aria-label="' . esc_attr( $aria_label ) . '" data-tip="' . $sanitized_tip . '"></span>', $sanitized_tip, $tip, $allow_html ); -
wc_logs_load_tab
action/** * Action fires when the Logs tab starts loading. */ do_action( 'wc_logs_load_tab', $params['view'] ); -
wc_logs_render_page
action/** * Action fires only if there is not a built-in rendering method for the * current default log handler. */ do_action( 'wc_logs_render_page', $handler ); -
wc_logs_settings_form_fields
action/** * Action fires after the built-in logging settings controls have been * rendered. */ do_action( 'wc_logs_settings_form_fields', $this->logging_is_enabled() ); -
/** * Renders after the 'blank state' message for the order list table has * rendered. */ do_action( 'wc_marketplace_suggestions_orders_empty_state' ); -
wc_migrator_batch_processed
action/** * Fires when a batch has been processed during migration. */ do_action( 'wc_migrator_batch_processed', $batch_results, $source_data_batch, $mapped_products ); -
/** * Fires when a migration session completes. */ do_action( 'wc_migrator_session_completed', $this->parsed_args['platform'], $final_stats ); -
wc_migrator_session_started
action/** * Fires when a migration session starts. */ do_action( 'wc_migrator_session_started', $this->parsed_args['platform'], array( 'session_id' => $this->session->get_id(), 'filters' => $this->parsed_args['filters'], 'fields' => $this->fields_to_process, 'is_dry_run' => $this->parsed_args['dry_run'], 'resume' => $this->parsed_args['resume'], ) ); -
wc_object_cache_get_engine
filter/** * Filters the underlying cache engine to be used by an instance of * ObjectCache. */ apply_filters( 'wc_object_cache_get_engine', $engine, $this ); -
/** * Filter to allow sites to opt back into single-output behavior. */ apply_filters( 'wc_order_attribution_allow_multiple_elements', true ); -
/** * Filter to allow tracking. */ apply_filters( 'wc_order_attribution_allow_tracking', true ); -
/** * Filter the lifetime of the cookie used for source tracking. */ apply_filters( 'wc_order_attribution_cookie_lifetime_months', 0.00001 ); -
/** * Filter to enable debug mode. */ apply_filters( 'wc_order_attribution_debug_mode_enabled', 'no' ); -
/** * Filter the description for the order attribution field. */ apply_filters( 'wc_order_attribution_field_description', $description, $field_name ); -
/** * Filter the formatted source for the order origin. */ apply_filters( 'wc_order_attribution_origin_formatted_source', ucfirst( trim( $source, '()' ) ), $source ); -
/** * Filter the label for the order origin. */ apply_filters( 'wc_order_attribution_origin_label', $label, $source_type, $source, $formatted_source ); -
/** * Filter the session length for source tracking. */ apply_filters( 'wc_order_attribution_session_length_minutes', 30 ); -
/** * Filter set of actions used to stamp the checkout order attribution HTML * container element. */ apply_filters( 'wc_order_attribution_stamp_checkout_html_actions', array( 'woocommerce_checkout_billing', 'woocommerce_after_checkout_billing_form', 'woocommerce_checkout_shipping', 'woocommerce_after_order_notes', 'woocommerce_checkout_after_customer_details', ) ); -
/** * Filter the prefix for the meta fields. */ apply_filters( 'wc_order_attribution_tracking_field_prefix', 'wc_order_attribution_' ); -
/** * Filter the fields to show in the source data metabox. */ apply_filters( 'wc_order_attribution_tracking_fields', $this->default_fields ); -
/** * Filter to enable base64 encoding for cookie values. */ apply_filters( 'wc_order_attribution_use_base64_cookies', false ); -
wc_order_is_editable
filter/** * Filter to check if an order is editable. */ apply_filters( 'wc_order_is_editable', in_array( $this->get_status(), array( OrderStatus::PENDING, OrderStatus::ON_HOLD, OrderStatus::AUTO_DRAFT ), true ), $this ); -
/** * Filters whether the order milestone easter egg feature is enabled. */ apply_filters( 'wc_order_milestone_egg_enabled', true ); -
wc_order_milestone_egg_map
filter/** * Filters the map of milestone order IDs to their milestone data. */ apply_filters( 'wc_order_milestone_egg_map', $milestone_map ); -
wc_order_payment_card_info
filter/** * Filter to allow payment gateways to provide payment card info for an order. */ apply_filters( 'wc_order_payment_card_info', array(), $order ); -
/** * Allows adding to the addresses that receive payment gateway enabled * notifications. */ apply_filters( 'wc_payment_gateway_enabled_notification_email_addresses', array(), $this->object ); -
/** * Hook that is called when the payment gateways have been initialized. */ do_action( 'wc_payment_gateways_initialized', $this ); -
wc_price
filter/** * Filters the string of price markup. */ apply_filters( 'wc_price', $return, $price, $args, $unformatted_price, $original_price ); -
/** * Gives plugins an opportunity to verify Unique ID uniqueness themselves. */ apply_filters( 'wc_product_has_global_unique_id', $global_unique_id_found, $product_id, $global_unique_id ); -
/** * Filter the product category used for the product permalink. */ apply_filters( 'wc_product_post_type_link_product_cat', $deepest_term, $terms, $post ); -
/** * Gives plugins an opportunity to verify Unique ID uniqueness themselves. */ apply_filters( 'wc_product_pre_has_global_unique_id', null, $product_id, $global_unique_id ); -
wc_product_pre_lock_on_sku
filter/** * Filter to bail early on the SKU lock query. */ apply_filters( 'wc_product_pre_lock_on_sku', null, $product ); -
/** * Filters whether a namespace should be loaded. */ apply_filters( 'wc_rest_should_load_namespace', str_starts_with( $rest_route, $ns ), $ns, $rest_route, $known_namespaces ); -
wc_session_expiring
filter/** * Filters the session expiration. */ apply_filters( 'wc_session_expiring', $default_expiring_seconds ); -
wc_session_use_secure_cookie
filter/** * Filter whether to use a secure cookie. */ apply_filters( 'wc_session_use_secure_cookie', wc_site_is_https() && is_ssl() ); -
wc_shipping_enabled
filter/** * Filters whether shipping is enabled. */ apply_filters( 'wc_shipping_enabled', get_option( 'woocommerce_ship_to_countries' ) !== 'disabled' ); -
wc_tax_enabled
filter/** * Filters whether store-wide taxes are enabled. */ apply_filters( 'wc_tax_enabled', get_option( 'woocommerce_calc_taxes' ) === 'yes' ); -
wc_tracks_use_batch_requests
filter/** * Filters whether to use batch requests for tracking pixels. */ apply_filters( 'wc_tracks_use_batch_requests', $use_batching ); -
/** * Filters the boot script-module dependencies for the wc-payment-settings * page. */ apply_filters( 'wc-payment-settings_boot_dependencies', $boot_dependencies ); -
wc-payment-settings_init
action/** * Fires when the wc-payment-settings page is initialized so extensions can * register routes and menu items. */ do_action( 'wc-payment-settings_init' ); -
/** * Filters the boot script-module dependencies for the * wc-payment-settings-wp-admin page. */ apply_filters( 'wc-payment-settings-wp-admin_boot_dependencies', $boot_dependencies ); -
/** * Fires when the wc-payment-settings admin page is initialized so extensions * can register routes and menu items. */ do_action( 'wc-payment-settings-wp-admin_init' ); -
/** * Filter account settings. */ apply_filters( "woocommerce_{$this->id}_settings", $account_settings ); -
/** * Developers can add additional flat rates based on this one via this action * since @version 2.4. */ do_action( "woocommerce_{$this->id}_shipping_add_rate", $this, $rate ); -
/** * Filters the list of columns. */ apply_filters( "woocommerce_{$this->order_type}_list_table_columns", array( 'cb' => '<input type="checkbox" />', 'order_number' => esc_html__( 'Order', 'woocommerce' ), 'order_date' => esc_html__( 'Date', 'woocommerce' ), 'order_status' => esc_html_x( 'Status', 'Order status', 'woocommerce' ), 'billing_address' => esc_html__( 'Billing', 'woocommerce' ), 'shipping_address' => esc_html__( 'Ship to', 'woocommerce' ), 'order_total' => esc_html__( 'Total', 'woocommer... ); -
/** * Filters the list of CSS class names for the orders list table. */ apply_filters( "woocommerce_{$this->order_type}_list_table_css_classes", array_merge( parent::get_table_classes(), array( 'wc-orders-list-table', 'wc-orders-list-table-' . $this->order_type, ) ), $this->order_type ); -
/** * Fires for each custom column for a specific order type. This hook takes * precedence over the generic action * `manage_{$this->screen->id}_custom_column`. */ do_action( "woocommerce_{$this->order_type}_list_table_custom_column", $column_name, $order ); -
/** * Allows 3rd parties to set the default list of statuses for a given order * type. */ apply_filters( "woocommerce_{$this->order_type}_list_table_default_statuses", array_intersect( array_keys( wc_get_order_statuses() ), get_post_stati( array( 'show_in_admin_all_list' => true ), 'names' ) ) ); -
/** * Filters whether to remove the 'Months' drop-down from the order list table. */ apply_filters( "woocommerce_{$this->order_type}_list_table_disable_months_filter", false ); -
/** * Allows 3rd parties to modify the count of orders by status. */ apply_filters( "woocommerce_{$this->order_type}_list_table_order_count", $count, $status ); -
/** * Filters the list of CSS class names for a given order row in the orders list * table. */ apply_filters( "woocommerce_{$this->order_type}_list_table_order_css_classes", array( 'order-' . $order->get_id(), 'type-' . $order->get_type(), 'status-' . $order->get_status(), ), $order ); -
/** * Same as `woocommerce_order_list_table_prepare_items_query_args` but for a * specific order type. */ apply_filters( "woocommerce_{$this->order_type}_list_table_prepare_items_query_args", $order_query_args ); -
/** * Allows 3rd parties to filter the initial request vars before defaults and * other logic is applied. */ apply_filters( "woocommerce_{$this->order_type}_list_table_request", $this->request ); -
/** * Whether we should render a blank state so that custom count queries can be * used. */ apply_filters( "woocommerce_{$this->order_type}_list_table_should_render_blank_state", null, $this ); -
/** * Filters the list of sortable columns. */ apply_filters( "woocommerce_{$this->order_type}_list_table_sortable_columns", array( 'order_number' => 'ID', 'order_date' => 'date', 'order_total' => 'order_total', ) ); -
woocommerce_{$type}fields
filter/** * Important note on this filter: Changes to address fields can and will be * overridden by the woocommerce_default_address_fields. The locales/default * locales apply on top based on country selection. If you want to change * things like the required status of an address field, filter * woocommerce_default_address_fields instead. */ apply_filters( "woocommerce_{$type}fields", $address_fields, $country ); -
/** * Filter WooCommerce ability definition classes. */ apply_filters( 'woocommerce_ability_definition_classes', self::CORE_ABILITY_DEFINITION_CLASSES ); -
woocommerce_account_content
action/** * My Account content. */ do_action( 'woocommerce_account_content' ); -
/** * Filter how many pending (awaiting confirmation) notifications the My Account * stock-notifications tab lists above the active table. */ apply_filters( 'woocommerce_account_customer_stock_notifications_pending_limit', self::DEFAULT_PER_PAGE ); -
/** * Filter the per-page count for the My Account stock-notifications table. */ apply_filters( 'woocommerce_account_customer_stock_notifications_per_page', self::DEFAULT_PER_PAGE ); -
/** * My Account dashboard. */ do_action( 'woocommerce_account_dashboard' ); -
/** * Filters the array of My Account > Orders columns. */ apply_filters( 'woocommerce_account_orders_columns', array( 'order-number' => __( 'Order', 'woocommerce' ), 'order-date' => __( 'Date', 'woocommerce' ), 'order-status' => __( 'Status', 'woocommerce' ), 'order-total' => __( 'Total', 'woocommerce' ), 'order-actions' => __( 'Actions', 'woocommerce' ), ) ); -
woocommerce_activated_plugin
action/** * WooCommerce is activated hook. */ do_action( 'woocommerce_activated_plugin', $activated_plugin ); -
/** * Filters the item name in quotes for the add to cart message. */ apply_filters( 'woocommerce_add_to_cart_item_name_in_quotes', sprintf( _x( '“%s”', 'Item name in quotes', 'woocommerce' ), wp_strip_all_tags( get_the_title( $product_id ) ) ), $product_id ); -
/** * Filters the quantity HTML for the add to cart message. */ apply_filters( 'woocommerce_add_to_cart_qty_html', ( 1 !== $qty ? wc_stock_amount( $qty ) . ' × ' : '' ), $product_id ); -
/** * Filter the registered address providers. */ apply_filters( 'woocommerce_address_providers', array() ); -
/** * Filter allowed promo notes for experimental-activate-promo. */ apply_filters( 'woocommerce_admin_allowed_promo_notes', [] ); -
/** * Provides an opportunity to modify the list of order billing fields displayed * on the admin. */ apply_filters( 'woocommerce_admin_billing_fields', array( 'first_name' => array( 'label' => __( 'First name', 'woocommerce' ), 'show' => false, ), 'last_name' => array( 'label' => __( 'Last name', 'woocommerce' ), 'show' => false, ), 'company' => array( 'label' => __( 'Company', 'woocommerce' ), 'show' => false, ), 'address_1' => array( 'label' => __( 'Address line 1', 'woocommerce' ), 'show' => false, ), 'address_2' => array( 'label' => __( 'A... ); -
/** * Filters the product name for display in the latest reviews. */ apply_filters( 'woocommerce_admin_dashboard_recent_reviews', $comment->post_title, $comment ); -
/** * Filter to override default task lists. */ apply_filters( 'woocommerce_admin_experimental_onboarding_tasklists', self::$lists ); -
/** * Filter user data fields exposed over the WordPress user endpoint. */ apply_filters( 'woocommerce_admin_get_user_data_fields', array( 'variable_product_tour_shown' ) ); -
woocommerce_admin_installed
action/** * Run after WooCommerce Admin has been installed or updated. */ do_action( 'woocommerce_admin_installed' ); -
woocommerce_admin_is_loading
filter/** * Some routes or features like onboarding hide the wp-admin navigation and * masterbar. Setting `woocommerce_admin_is_loading` to true allows us to * preemptively hide these elements while the JS app loads. This class needs to * be removed by those feature components (like <ProfileWizard />). */ apply_filters( 'woocommerce_admin_is_loading', false ); -
/** * An array of deprecated notes to delete on update. */ apply_filters( 'woocommerce_admin_obsolete_notes_names', array() ); -
/** * Provides an opportunity to modify the action buttons within the order list * table. */ apply_filters( 'woocommerce_admin_order_actions', $actions, $order ); -
/** * Fires after the order action buttons (within the actions column for the * order list table) are rendered. */ do_action( 'woocommerce_admin_order_actions_end', $order ); -
/** * Fires before the order action buttons (within the actions column for the * order list table) are registered. */ do_action( 'woocommerce_admin_order_actions_start', $order ); -
/** * Filter buyer name in list table orders. */ apply_filters( 'woocommerce_admin_order_buyer_name', $buyer, $order ); -
/** * Hook allowing extenders to render custom content within the Order details * box. */ do_action( 'woocommerce_admin_order_data_after_payment_info', $order ); -
/** * Hook allowing extenders to render custom content besides the Order header. */ do_action( 'woocommerce_admin_order_data_header_right', $order ); -
/** * Filter Order statuses that will count towards milestones. */ apply_filters( 'woocommerce_admin_order_milestone_statuses', $this->allowed_statuses ); -
/** * Filter to allow for disabling order milestones. */ apply_filters( 'woocommerce_admin_order_milestones_enabled', true ); -
/** * Filter to customize the order details data that the * woocommerce_get_order_details action will send. */ apply_filters( 'woocommerce_admin_order_preview_get_order_details', array( 'data' => $order->get_data(), 'is_editable' => $is_editable, 'order_number' => $order->get_order_number(), 'item_html' => self::get_order_preview_item_html( $order ), 'actions_html' => self::get_order_preview_actions_html( $order ), 'ship_to_billing' => wc_ship_to_billing_address_only(), 'needs_shipping' => $order->needs_shipping_address(), 'formatted_billing_address' => $billing_address... ); -
/** * Allow plugins to determine whether refunds UI should be rendered in the * template. */ apply_filters( 'woocommerce_admin_order_should_render_refunds', 0 < $order->get_total() - $order->get_total_refunded() || 0 < absint( $order->get_item_count() - $order->get_item_count_refunded() ), $order->get_id(), $order ); -
/** * Fires when a payments extension suggestion incentive is dismissed. */ do_action( 'woocommerce_admin_payments_extension_suggestion_incentive_dismissed', $id, $this->suggestion_id, $context ); -
/** * Filter the list of plugins to activate. */ apply_filters( 'woocommerce_admin_plugins_pre_activate', $plugins ); -
/** * Filter the list of plugins to install. */ apply_filters( 'woocommerce_admin_plugins_pre_install', $plugins ); -
/** * Set props before save. */ do_action( 'woocommerce_admin_process_product_object', $product ); -
/** * Set variation props before save. */ do_action( 'woocommerce_admin_process_variation_object', $variation, $i ); -
/** * Filter to determine if the rule evaluator should log the results. */ apply_filters( 'woocommerce_admin_remote_specs_evaluator_should_log', $should_log ); -
/** * Filter to allow for disabling sales record milestones. */ apply_filters( 'woocommerce_admin_sales_record_milestone_enabled', true ); -
/** * Sanitize the value of an option. */ apply_filters( 'woocommerce_admin_settings_sanitize_option', $value, $option, $raw_value ); -
/** * Sanitize the value of an option by option name. */ apply_filters( "woocommerce_admin_settings_sanitize_option_{$option_name}", $value, $option, $raw_value ); -
/** * Provides an opportunity to modify the list of order shipping fields * displayed on the admin. */ apply_filters( 'woocommerce_admin_shipping_fields', array( 'first_name' => array( 'label' => __( 'First name', 'woocommerce' ), 'show' => false, ), 'last_name' => array( 'label' => __( 'Last name', 'woocommerce' ), 'show' => false, ), 'company' => array( 'label' => __( 'Company', 'woocommerce' ), 'show' => false, ), 'address_1' => array( 'label' => __( 'Address line 1', 'woocommerce' ), 'show' => false, ), 'address_2' => array( 'label' => __( 'A... ); -
/** * Filter to determine if admin features should be loaded. */ apply_filters( 'woocommerce_admin_should_load_features', $should_load ); -
/** * Filter the length (number of terms) rendered in the list. */ apply_filters( 'woocommerce_admin_terms_metabox_datalimit', 50 ); -
/** * Filter WooPayments onboarding task additional data. */ apply_filters( 'woocommerce_admin_woopayments_onboarding_task_additional_data', null ); -
/** * Filter WooPayments onboarding task badge. */ apply_filters( 'woocommerce_admin_woopayments_onboarding_task_badge', '' ); -
/** * Fires after the back in stock notifications table is rendered on My Account. */ do_action( 'woocommerce_after_account_customer_stock_notifications', $has_items ); -
/** * Fires after the pending (awaiting confirmation) stock notifications table is * rendered on My Account. */ do_action( 'woocommerce_after_account_customer_stock_notifications_pending', $has_pending ); -
/** * Filter to change the first argument passed to the * `woocommerce_after_dashboard_status_widget` action. */ apply_filters( 'woocommerce_after_dashboard_status_widget_parameter', null ); -
/** * Fires after getting shipping rates for a package. */ do_action( 'woocommerce_after_get_rates_for_package', $package, $shipping_method ); -
woocommerce_after_my_account
action/** * Deprecated woocommerce_after_my_account action. */ do_action( 'woocommerce_after_my_account' ); -
/** * Hook to display custom attribute terms. */ do_action( 'woocommerce_after_product_attribute_settings', $attribute, $i ); -
/** * When products ordering update completed. */ do_action( 'woocommerce_after_product_ordering', $product_id, $menu_orders ); -
/** * Hook to output something after quantity input field */ do_action( 'woocommerce_after_quantity_input_field' ); -
/** * Hook: woocommerce_after_save_address_validation. */ do_action( 'woocommerce_after_save_address_validation', $user_id, $address_type, $address, $customer ); -
/** * After a term has had it's order set. */ do_action( 'woocommerce_after_set_term_order', $term, $index, $taxonomy ); -
/** * Hook: woocommerce_after_shop_loop_item. */ do_action( 'woocommerce_after_shop_loop_item' ); -
/** * Hook: woocommerce_after_shop_loop_item_title. */ do_action( 'woocommerce_after_shop_loop_item_title' ); -
/** * When a single product has gotten its ordering updated. */ do_action( 'woocommerce_after_single_product_ordering', $id, $index ); -
/** * Hook: woocommerce_after_single_product_summary. */ do_action( 'woocommerce_after_single_product_summary' ); -
/** * The woocommerce_after_subcategory hook. */ do_action( 'woocommerce_after_subcategory', $category ); -
/** * The woocommerce_after_subcategory_title hook. */ do_action( 'woocommerce_after_subcategory_title', $category ); -
/** * Fires after order items are removed. */ do_action( 'woocommerce_ajax_order_items_removed', $item_id ?? 0, $item ?? false, $changed_stock ?? false, $order ); -
/** * Filter the ability to restore email locale. */ apply_filters( 'woocommerce_allow_restoring_email_locale', true, $this ); -
/** * Filter whether to allow sending queued transactional emails. */ apply_filters( 'woocommerce_allow_send_queued_transactional_email', true, $filter, $args ); -
/** * The return value can be controlled via * woocommerce_allow_shipping_partner_suggestions filter. */ apply_filters( 'woocommerce_allow_shipping_partner_suggestions', true ); -
/** * Filter the ability to switch email locale. */ apply_filters( 'woocommerce_allow_switching_email_locale', true, $this ); -
/** * Filter query args given for the report. */ apply_filters( "woocommerce_analytics_{$snake_name}_query_args", $this->get_query_vars() ); -
/** * Filter report query results. */ apply_filters( "woocommerce_analytics_{$snake_name}_select_query", $results, $args ); -
/** * Called before the data is fetched. */ apply_filters( "woocommerce_analytics_{$this->context}_query_args", $query_args ); -
/** * Called after the data is fetched. The results can be modified here. */ apply_filters( "woocommerce_analytics_{$this->context}_select_query", $results, $args ); -
/** * Filter SQL clauses by type and context. */ apply_filters( "woocommerce_analytics_clauses_{$type}", $clauses, $this->context ); -
/** * Filter SQL clauses by type and context. */ apply_filters( "woocommerce_analytics_clauses_{$type}_{$this->context}", $clauses ); -
/** * Filter the customer roles, used to check if the user is a customer. */ apply_filters( 'woocommerce_analytics_customer_roles', array( 'customer' ) ); -
/** * Fires when coupon's reports are removed from database. */ do_action( 'woocommerce_analytics_delete_coupon', 0, $order_id ); -
/** * Fires when a customer is deleted. */ do_action( 'woocommerce_analytics_delete_customer', $customer_id ); -
/** * Fires when product's reports are removed from database. */ do_action( 'woocommerce_analytics_delete_product', 0, $order_id ); -
/** * Fires when tax's reports are removed from database. */ do_action( 'woocommerce_analytics_delete_tax', 0, $order_id ); -
/** * Filter the analytics import interval. */ apply_filters( 'woocommerce_analytics_import_interval', 12 * HOUR_IN_SECONDS ); -
/** * Filter whether an order is a test order excluded from analytics. */ apply_filters( 'woocommerce_analytics_is_test_order', $is_test, $check_order ); -
/** * Fires when a new report customer is created. */ do_action( 'woocommerce_analytics_new_customer', $customer_id ); -
/** * Filter orderby query parameter enum. */ apply_filters( "woocommerce_analytics_orderby_enum_{$this->rest_base}", $orderby_enum ); -
/** * Filters the maximum number of parent orders re-imported per double-counted * refunds fix batch. */ apply_filters( 'woocommerce_analytics_refund_double_count_batch_size', self::REFUND_DOUBLE_COUNT_BATCH_SIZE ); -
/** * Filters the number of order IDs checked per double-counted refunds fix * batch. */ apply_filters( 'woocommerce_analytics_refund_double_count_range_size', self::REFUND_DOUBLE_COUNT_RANGE_SIZE ); -
/** * Filter the batch size for regenerating a report table. */ apply_filters( 'woocommerce_analytics_regenerate_batch_size', $batch_size, static::$name, $action ); -
/** * Fires when report data regeneration begins. */ do_action( 'woocommerce_analytics_regenerate_init', $days, $skip_existing ); -
/** * Determines if a report will utilize caching. */ apply_filters( 'woocommerce_analytics_report_should_use_cache', true, $this->cache_key ); -
/** * Filters the default set of order statuses considered actionable in * Analytics. */ apply_filters( 'woocommerce_analytics_settings_default_actionable_order_statuses', $builtin_default ); -
/** * Filters the default set of order statuses excluded from Analytics report * totals. */ apply_filters( 'woocommerce_analytics_settings_default_excluded_order_statuses', $builtin_default ); -
/** * Fires when coupon's reports are updated. */ do_action( 'woocommerce_analytics_update_coupon', $coupon_id, $order_id ); -
/** * Fires when order's stats reports are updated. */ do_action( 'woocommerce_analytics_update_order_stats', $order->get_id() ); -
/** * Filters order stats data. */ apply_filters( 'woocommerce_analytics_update_order_stats_data', $data, $order ); -
/** * Fires when product's reports are updated. */ do_action( 'woocommerce_analytics_update_product', $order_item_id, $order->get_id() ); -
/** * Fires when tax's reports are updated. */ do_action( 'woocommerce_analytics_update_tax', $tax_item->get_rate_id(), $order->get_id() ); -
/** * Filter to modify the query arguments for anonymizing refunded orders. */ apply_filters( 'woocommerce_anonymize_refunded_orders_query_args', array( 'date_created' => '<' . strtotime( '-' . $option['number'] . ' ' . $option['unit'] ), 'limit' => $limit, 'status' => OrderInternalStatus::REFUNDED, 'type' => 'shop_order', 'anonymized' => false, ) ); -
woocommerce_api_request_url
filter/** * Filter to adjust the url of an incoming API request. */ apply_filters( 'woocommerce_api_request_url', $api_request_url, $request, $ssl ); -
woocommerce_apidocs_url
filter/** * The WooCommerce API documentation URL. */ apply_filters( 'woocommerce_apidocs_url', 'https://woocommerce.com/wc-apidocs/' ); -
woocommerce_apply_tracking
filter/** * Don't track users if a filter has been applied to turn it off. * `woocommerce_apply_tracking` will be deprecated. Please use * `woocommerce_apply_user_tracking` instead. */ apply_filters( 'woocommerce_apply_tracking', true ); -
/** * Don't track users if a filter has been applied to turn it off. * `woocommerce_apply_tracking` will be deprecated. Please use * `woocommerce_apply_user_tracking` instead. */ apply_filters( 'woocommerce_apply_user_tracking', true ); -
woocommerce_attribute_added
action/** * Attribute added. */ do_action( 'woocommerce_attribute_added', $id, $data ); -
/** * After deleting an attribute. */ do_action( 'woocommerce_attribute_deleted', $id, $name, $taxonomy ); -
/** * Filter to alter the count of products that will be processed in each step of * the product attributes lookup table regeneration process. */ apply_filters( 'woocommerce_attribute_lookup_regeneration_step_size', $step_size ?? self::PRODUCTS_PER_GENERATION_STEP ); -
/** * Filter attribute taxonomies. */ apply_filters( 'woocommerce_attribute_taxonomies', $raw_attribute_taxonomies ); -
/** * Filters the row actions for a global product attribute taxonomy on the * Products > Attributes screen. */ apply_filters( 'woocommerce_attribute_taxonomy_row_actions', $actions, $tax, $taxonomy ); -
/** * Attribute updated. */ do_action( 'woocommerce_attribute_updated', $id, $data, $old_slug ); -
/** * Filter the email instructions order status. */ apply_filters( 'woocommerce_bacs_email_instructions_order_status', OrderStatus::ON_HOLD, $order ); -
/** * Filter the order status for BACS payment. */ apply_filters( 'woocommerce_bacs_process_payment_order_status', OrderStatus::ON_HOLD, $order ); -
/** * Modify the delay interval for the batch processor's watchdog events. */ apply_filters( 'woocommerce_batch_processor_watchdog_delay_seconds', HOUR_IN_SECONDS ); -
/** * Filters the list of available list table view links before the actual query * runs. This can be used to, e.g., remove counts from the links. */ apply_filters( "woocommerce_before_{$this->order_type}_list_table_view_links", $view_links ); -
/** * Fires before the back in stock notifications table is rendered on My * Account. */ do_action( 'woocommerce_before_account_customer_stock_notifications', $has_items ); -
/** * Fires before the stock notifications pagination is rendered on My Account. */ do_action( 'woocommerce_before_account_customer_stock_notifications_pagination' ); -
/** * Fires before the pending (awaiting confirmation) stock notifications table * is rendered on My Account. */ do_action( 'woocommerce_before_account_customer_stock_notifications_pending', $has_pending ); -
/** * Before deleting an attribute. */ do_action( 'woocommerce_before_attribute_delete', $id, $name, $taxonomy ); -
/** * Fires before the cart is emptied. */ do_action( 'woocommerce_before_cart_emptied', $clear_persistent_cart ); -
/** * Fires before a product variation is permanently deleted. */ do_action( 'woocommerce_before_delete_product_variation', $variation_id ); -
/** * Hook - woocommerce_before_edit_account_form. */ do_action( 'woocommerce_before_edit_account_form' ); -
/** * Fires before getting shipping rates for a package. */ do_action( 'woocommerce_before_get_rates_for_package', $package, $shipping_method ); -
/** * Deprecated woocommerce_before_my_account action. */ do_action( 'woocommerce_before_my_account' ); -
/** * Hook to output something before the quantity input field. */ do_action( 'woocommerce_before_quantity_input_field' ); -
/** * Hook: woocommerce_before_shop_loop_item. */ do_action( 'woocommerce_before_shop_loop_item' ); -
/** * Hook: woocommerce_before_shop_loop_item_title. */ do_action( 'woocommerce_before_shop_loop_item_title' ); -
/** * Hook: woocommerce_before_single_product. */ do_action( 'woocommerce_before_single_product' ); -
/** * Hook: woocommerce_before_single_product_summary. */ do_action( 'woocommerce_before_single_product_summary' ); -
/** * The woocommerce_before_subcategory hook. */ do_action( 'woocommerce_before_subcategory', $category ); -
/** * The woocommerce_before_subcategory_title hook. */ do_action( 'woocommerce_before_subcategory_title', $category ); -
/** * Fires when the IntegrationRegistry is initialized. */ do_action( "woocommerce_blocks_{$this->registry_identifier}_registration", $this ); -
/** * Fires after checkout block data is registered. */ do_action( 'woocommerce_blocks_checkout_enqueue_data' ); -
/** * Fires after cart block scripts are enqueued. */ do_action( 'woocommerce_blocks_enqueue_cart_block_scripts_after' ); -
/** * Fires before cart block scripts are enqueued. */ do_action( 'woocommerce_blocks_enqueue_cart_block_scripts_before' ); -
/** * Fires after checkout block scripts are enqueued. */ do_action( 'woocommerce_blocks_enqueue_checkout_block_scripts_after' ); -
/** * Fires before checkout block scripts are enqueued. */ do_action( 'woocommerce_blocks_enqueue_checkout_block_scripts_before' ); -
/** * When extensions implement their equivalent blocks of the template hook * functions, they can use this filter to register their old hooked data here, * so in the blockified template, the old hooked functions can be removed in * favor of the new blocks while keeping the old hooked functions working in * classic templates. */ apply_filters( 'woocommerce_blocks_hook_compatibility_additional_data', array(), $class_name ); -
woocommerce_blocks_loaded
action/** * Fires when the woocommerce blocks are loaded and ready to use. */ do_action( 'woocommerce_blocks_loaded' ); -
/** * Gives opportunity to return routes without invoking the compute intensive * REST API. */ apply_filters( 'woocommerce_blocks_pre_get_routes_from_namespace', array(), $namespace, 'view' ); -
/** * Filter hook to modify the selected filter items. */ apply_filters( 'woocommerce_blocks_product_filters_selected_items', array(), $filter_params ); -
/** * Filter to manipulate (add/modify/remove) attributes in the HTML code of the * generated add to cart button. */ apply_filters( 'woocommerce_blocks_product_grid_add_to_cart_attributes', $attributes, $product ); -
/** * Filters whether or not the product grid is cacheable. */ apply_filters( 'woocommerce_blocks_product_grid_is_cacheable', true, $this->query_args ); -
/** * Filters the HTML for products in the grid. */ apply_filters( 'woocommerce_blocks_product_grid_item_html', "<li class=\"wc-block-grid__product\"> <a href=\"{$data->permalink}\" class=\"wc-block-grid__product-link\"> {$data->badge} {$data->image} {$data->title} </a> {$data->price} {$data->rating} {$data->button} </li>", $data, $product ); -
/** * Filters the list of script dependencies. */ apply_filters( 'woocommerce_blocks_register_script_dependencies', $script_data['dependencies'], $handle ); -
/** * Pass an error object to allow validation of an additional field. */ do_action( "woocommerce_blocks_validate_location_{$location}_fields", $errors, $fields, $group ); -
/** * Filters the maximum allowed file size for blueprint uploads. */ apply_filters( 'woocommerce_blueprint_upload_max_file_size', self::MAX_FILE_SIZE ); -
/** * Filter Brands settings. */ apply_filters( 'woocommerce_brands_settings_fields', array( array( 'name' => __( 'Brands Archives', 'woocommerce' ), 'type' => 'title', 'desc' => '', 'id' => 'brands_archives', ), array( 'name' => __( 'Show description', 'woocommerce' ), 'desc' => __( 'Choose to show the brand description on the archive page. Turn this off if you intend to use the description widget instead. Please note: this is only for themes that do not show the description.',... ); -
woocommerce_breadcrumb
action/** * WooCommerce Breadcrumb hook */ do_action( 'woocommerce_breadcrumb', $breadcrumbs, $args ); -
/** * Handle price - remove dates and set to lowest. */ apply_filters( 'woocommerce_bulk_edit_save_price_product_types', array( ProductType::SIMPLE, ProductType::EXTERNAL ) ); -
/** * Filter to modify the Cost of Goods Sold value that gets calculated for a * given order. */ apply_filters( 'woocommerce_calculated_order_cogs_value', $cogs_value, $this ); -
/** * Filter to modify the Cost of Goods Sold value that gets calculated for a * given order item. */ apply_filters( 'woocommerce_calculated_order_item_cogs_value', $value, $this ); -
/** * Filters whether an unpaid order should be automatically cancelled. */ apply_filters( 'woocommerce_cancel_unpaid_order', in_array( $order->get_created_via(), array( 'checkout', 'store-api' ), true ), $order ); -
woocommerce_cart_collaterals
action/** * Cart collaterals hook. */ do_action( 'woocommerce_cart_collaterals' ); -
woocommerce_cart_emptied
action/** * Fires after the cart is emptied. */ do_action( 'woocommerce_cart_emptied', $clear_persistent_cart ); -
/** * Filter the backorder notification shown for a cart item. */ apply_filters( 'woocommerce_cart_item_backorder_notification', '<p class="backorder_notification">' . esc_html__( 'Available on backorder', 'woocommerce' ) . '</p>', $product_id, $cart_item, $cart_item_key ); -
/** * Filter message about item removed from the cart because it has since been * modified. */ apply_filters( 'woocommerce_cart_item_removed_because_modified_message', $message, $product ); -
/** * Filter message about item removed from the cart. */ apply_filters( 'woocommerce_cart_item_removed_message', $message, $product ); -
/** * Allows filter if product have enough stock to get added to the cart. */ apply_filters( 'woocommerce_cart_item_required_stock_is_not_enough', $product->get_stock_quantity() < ( $held_stock + $required_stock ), $product, $values ); -
/** * Fired after qty has been changed. */ do_action( 'woocommerce_cart_item_set_quantity', $cart_item_key, $quantity, $this ); -
/** * Filter whether this cart item is visible in the cart. */ apply_filters( 'woocommerce_cart_item_visible', true, $cart_item, $cart_item_key ); -
/** * Fires when cart is loaded from session. */ do_action( 'woocommerce_cart_loaded_from_session', $this->cart ); -
/** * Provides a means of overriding the default 'no shipping available' HTML * string. */ apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'woocommerce' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ), $formatted_destination ); -
/** * Filters message about product unable to be purchased. */ apply_filters( 'woocommerce_cart_product_cannot_be_purchased_message', $message, $product_data ); -
/** * Filters message about product not having enough stock accounting for what's * already in the cart. */ apply_filters( 'woocommerce_cart_product_not_enough_stock_already_in_cart_message', $message, $product_data, $stock_quantity, $stock_quantity_in_cart ); -
/** * Filters message about product not having enough stock. */ apply_filters( 'woocommerce_cart_product_not_enough_stock_message', $message, $product_data, $stock_quantity ); -
/** * Filters message about product being out of stock. */ apply_filters( 'woocommerce_cart_product_out_of_stock_message', $message, $product_data ); -
/** * Filters whether hooks should be initialized for the current cart session. */ apply_filters( 'woocommerce_cart_session_initialize', true, $this ); -
/** * Filters the shipping packages for the cart. */ apply_filters( 'woocommerce_cart_shipping_packages', array( array( 'contents' => $this->get_items_needing_shipping(), 'contents_cost' => array_sum( wp_list_pluck( $this->get_items_needing_shipping(), 'line_total' ) ), 'applied_coupons' => $this->get_applied_coupons(), 'user' => array( 'ID' => get_current_user_id(), ), 'destination' => array( 'country' => $this->get_customer()->get_shipping_country(), 'state' => $this->get_customer()->get_shipping... ); -
woocommerce_cart_updated
action/** * Fires when cart is updated. */ do_action( 'woocommerce_cart_updated' ); -
/** * Filters ordered by messages. */ apply_filters( 'woocommerce_catalog_orderedby', array( 'menu_order' => __( 'Default sorting', 'woocommerce' ), 'popularity' => __( 'Sorted by popularity', 'woocommerce' ), 'rating' => __( 'Sorted by average rating', 'woocommerce' ), 'date' => __( 'Sorted by latest', 'woocommerce' ), 'price' => __( 'Sorted by price: low to high', 'woocommerce' ), 'price-desc' => __( 'Sorted by price: high to low', 'woocommerce' ), ) ); -
/** * Filter which product taxonomies should have their term counts overridden to * take catalog visibility into account. */ apply_filters( 'woocommerce_change_term_counts', array( 'product_cat', 'product_tag', 'product_brand' ) ); -
/** * Filter whether this cart item is visible in the checkout review order table. */ apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ); -
/** * Filter checkout coupon message. */ apply_filters( 'woocommerce_checkout_coupon_message', esc_html__( 'Have a coupon?', 'woocommerce' ) . ' <a href="#" role="button" aria-label="' . esc_attr__( 'Enter your coupon code', 'woocommerce' ) . '" aria-controls="woocommerce-checkout-form-coupon" aria-expanded="false" class="showcoupon">' . esc_html__( 'Click here to enter your code', 'woocommerce' ) . '</a>' ); -
/** * Action hook to adjust order before save. */ do_action( 'woocommerce_checkout_create_order', $order, $data ); -
/** * Action hook to adjust item before save. */ do_action( 'woocommerce_checkout_create_order_coupon_item', $item, $code, $coupon, $order ); -
/** * Action hook to adjust item before save. */ do_action( 'woocommerce_checkout_create_order_fee_item', $item, $fee_key, $fee, $order ); -
/** * Action hook to adjust item before save. */ do_action( 'woocommerce_checkout_create_order_line_item', $item, $cart_item_key, $values, $order ); -
/** * Filter hook to get initial item object. */ apply_filters( 'woocommerce_checkout_create_order_line_item_object', new WC_Order_Item_Product(), $cart_item_key, $values, $order ); -
/** * Action hook to adjust item before save. */ do_action( 'woocommerce_checkout_create_order_shipping_item', $item, $package_key, $package, $order ); -
/** * Action hook to adjust item before save. */ do_action( 'woocommerce_checkout_create_order_tax_item', $item, $tax_rate_id, $order ); -
woocommerce_checkout_fields
filter/** * Sets the fields used during checkout. */ apply_filters( 'woocommerce_checkout_fields', $this->fields ); -
woocommerce_checkout_init
action/** * Runs once when the WC_Checkout class is first instantiated. */ do_action( 'woocommerce_checkout_init', self::$instance ); -
/** * Action hook fired after an order is created. */ do_action( 'woocommerce_checkout_order_created', $order ); -
/** * Action hook fired when an order is discarded due to Exception. */ do_action( 'woocommerce_checkout_order_exception', $order ); -
/** * Fires after the checkout creates the order, but before payment is processed. */ do_action( 'woocommerce_checkout_order_processed', $order_id, $posted_data, $order ); -
/** * Determines if customer registration is enabled during checkout. */ apply_filters( 'woocommerce_checkout_registration_enabled', 'yes' === get_option( 'woocommerce_enable_signup_and_login_from_checkout' ) ); -
/** * Controls if registration is required in order for checkout to be completed. */ apply_filters( 'woocommerce_checkout_registration_required', 'yes' !== get_option( 'woocommerce_enable_guest_checkout' ) ); -
/** * Terms and conditions hook used to inject content. */ do_action( 'woocommerce_checkout_terms_and_conditions' ); -
/** * Action hook to adjust customer before save. */ do_action( 'woocommerce_checkout_update_customer', $customer, $data ); -
/** * Action hook fired after an order is created used to add custom meta to the * order. */ do_action( 'woocommerce_checkout_update_order_meta', $order_id, $data ); -
/** * Allow plugins to perform custom validation before payment. */ do_action( 'woocommerce_checkout_validate_order_before_payment', $order, $validation_errors ); -
/** * Filter the email instructions order status. */ apply_filters( 'woocommerce_cheque_email_instructions_order_status', OrderStatus::ON_HOLD, $order ); -
/** * Filter the order status for cheque payment. */ apply_filters( 'woocommerce_cheque_process_payment_order_status', OrderStatus::ON_HOLD, $order ); -
/** * Filter the retention period for place-order debug logs cleanup. Return 0 to * disable cleanup entirely. */ apply_filters( 'woocommerce_cleanup_order_debug_logs_max_age', 3 * DAY_IN_SECONDS ); -
/** * Filter the order status for COD orders. */ apply_filters( 'woocommerce_cod_process_payment_order_status', $order->has_downloadable_item() ? OrderStatus::ON_HOLD : OrderStatus::PROCESSING, $order ); -
/** * Check if there is an exclusion. */ apply_filters( 'woocommerce_coming_soon_exclude', false ); -
/** * The community WooCommerce support URL. */ apply_filters( 'woocommerce_community_support_url', 'https://wordpress.org/support/plugin/woocommerce/' ); -
woocommerce_continents
filter/** * Allows filtering of continents in WC. */ apply_filters( 'woocommerce_continents', include WC()->plugin_path() . '/i18n/continents.php' ); -
woocommerce_cookie
filter/** * Filter the cookie name. */ apply_filters( 'woocommerce_cookie', 'wp_woocommerce_session_' . COOKIEHASH ); -
woocommerce_cookie_httponly
filter/** * Controls whether the cookie should only be accessible via the HTTP protocol, * or if it should also be accessible to Javascript. */ apply_filters( 'woocommerce_cookie_httponly', $httponly, $name, $value, $expire, $secure ); -
/** * Action hook fired after copying email template file. */ do_action( 'woocommerce_copy_email_template', $template_type, $this ); -
/** * Fires when a core profiler step is completed. */ do_action( 'woocommerce_core_profiler_step_complete', $step ); -
/** * Provides an opportunity to modify the list of order IDs obtained during an * order search. */ apply_filters( 'woocommerce_cot_shop_order_search_results', $order_ids, $term ); -
woocommerce_countries
filter/** * Allows filtering of the list of countries in WC. */ apply_filters( 'woocommerce_countries', include WC()->plugin_path() . '/i18n/countries.php' ); -
/** * Filter the list of allowed selling countries. */ apply_filters( 'woocommerce_countries_allowed_countries', $countries ); -
/** * Filter the list of allowed selling countries. */ apply_filters( 'woocommerce_countries_shipping_countries', $countries ); -
/** * Filters the auto-generated coupon code for the coupon-code block. */ apply_filters( 'woocommerce_coupon_code_block_auto_generate', '', $attrs, $rendering_context ); -
/** * Filters the items that a coupon should be applied to. */ apply_filters( 'woocommerce_coupon_get_items_to_apply', $items_to_apply, $coupon, $this ); -
/** * Filter the tentative hold time in minutes for a coupon before it expires. */ apply_filters( 'woocommerce_coupon_hold_minutes', $default_hold_time_minutes ); -
/** * Filter whether the coupon is valid for the cart given its excluded items. */ apply_filters( 'woocommerce_coupon_is_valid_for_excluded_items', $valid, $coupon, $this ); -
/** * Filter whether the coupon is valid for the cart given its * excluded_product_categories restriction. */ apply_filters( 'woocommerce_coupon_is_valid_for_excluded_product_categories', $valid, $coupon, $this ); -
/** * Filter whether the coupon is valid for the cart given its * excluded_product_ids restriction. */ apply_filters( 'woocommerce_coupon_is_valid_for_excluded_product_ids', $valid, $coupon, $this ); -
/** * Filter whether the coupon is valid for the cart given its product_categories * restriction. */ apply_filters( 'woocommerce_coupon_is_valid_for_product_categories', $valid, $coupon, $this ); -
/** * Filter whether the coupon is valid for the cart given its product_ids * restriction. */ apply_filters( 'woocommerce_coupon_is_valid_for_product_ids', $valid, $coupon, $this ); -
/** * Filter whether the coupon is valid for the cart given its sale_items * restriction. */ apply_filters( 'woocommerce_coupon_is_valid_for_sale_items', $valid, $coupon, $this ); -
/** * Fires after a coupon's properties have been updated, with its historical * payload: the properties written by every save performed through this data * store instance, accumulated with duplicates and never reset. */ do_action_deprecated( 'woocommerce_coupon_object_updated_props', array( $coupon, $this->updated_props ), '11.1.0', 'woocommerce_coupon_updated_props' ); -
/** * Fires after a coupon's properties have been updated. */ do_action( 'woocommerce_coupon_updated_props', $coupon, $updated_props ); -
woocommerce_create_order
filter/** * Gives plugins an opportunity to create a new order themselves. */ apply_filters( 'woocommerce_create_order', null, $this ); -
woocommerce_create_pages
filter/** * Determines which pages are created during install. */ apply_filters( 'woocommerce_create_pages', array( 'shop' => array( 'name' => _x( 'shop', 'Page slug', 'woocommerce' ), 'title' => _x( 'Shop', 'Page title', 'woocommerce' ), 'content' => '', ), 'cart' => array( 'name' => _x( 'cart', 'Page slug', 'woocommerce' ), 'title' => _x( 'Cart', 'Page title', 'woocommerce' ), 'content' => $cart_page_content, ), 'checkout' => array( 'name' => _x( 'checkout', 'Page slug', 'woocommerce' ), 'title' => ... ); -
woocommerce_create_refund
action/** * Action hook to adjust refund before save. */ do_action( 'woocommerce_create_refund', $refund, $args ); -
woocommerce_created_customer
action/** * Fires after a customer account has been registered. */ do_action( 'woocommerce_created_customer', $customer_id, $new_customer_data, $password_generated ); -
/** * Filter the number of cross sell products should on the product page. */ apply_filters( 'woocommerce_cross_sells_total', $limit ); -
/** * Filters the mode parameter which specifies the type of access you require to * the stream (used during file writing for CSV exports). Defaults to 'a' * (append, write-only, placing the file pointer at the end of the file), which * is all CSV export needs and is supported by the widest range of stream * wrappers. */ apply_filters( 'woocommerce_csv_exporter_fopen_mode', 'a' ); -
/** * Filter CSV valid file types. */ apply_filters( 'woocommerce_csv_import_valid_filetypes', array( 'csv' => 'text/csv', 'txt' => 'text/plain', ) ); -
/** * Filter check for CSV file path. */ apply_filters( 'woocommerce_csv_importer_check_import_file_path', true, $file ); -
woocommerce_currencies
filter/** * Filters the list of available currencies. */ apply_filters( 'woocommerce_currencies', include WC()->plugin_path() . '/i18n/currencies.php' ); -
/** * Filter the allowed session meta data keys. */ apply_filters( 'woocommerce_customer_allowed_session_meta_keys', array(), $customer ); -
/** * Whether to use lookup tables - it can optimize performance, but correctness * depends on the frequency of the AS job. */ apply_filters( 'woocommerce_customer_bought_product_use_lookup_tables', false, $customer_email, $user_id, $product_id ); -
/** * Filter the customer default location before geolocation. */ apply_filters( 'woocommerce_customer_default_location', $default_location_string ?? '' ); -
/** * Filter the customer default location after geolocation. */ apply_filters( 'woocommerce_customer_default_location_array', $default_location ); -
/** * Filter whether to show the verification prompt for an unverified user. */ apply_filters( 'woocommerce_customer_email_verification_should_show_prompt', $should_show, $user_id ); -
/** * Fires after a customer has verified their email address. */ do_action( 'woocommerce_customer_email_verified', $user_id ); -
/** * Filters the id of the last order from a given customer. */ apply_filters( 'woocommerce_customer_get_last_order', $last_order_id, $customer ); -
/** * Filters total orders count value for a given customer. */ apply_filters( 'woocommerce_customer_get_order_count', Users::get_site_user_meta( $customer_id, 'wc_order_count', true ), $customer ); -
/** * Filters total spent value for a given customer. */ apply_filters( 'woocommerce_customer_get_total_spent', Users::get_site_user_meta( $customer_id, 'wc_money_spent', true ), $customer ); -
/** * Filters the SQL query used to get the combined total of all the orders from * a given customer. */ apply_filters( 'woocommerce_customer_get_total_spent_query', $sql, $customer ); -
/** * Filter customer query args before execution. */ apply_filters( 'woocommerce_customer_query_args', $query_args, $args ); -
/** * Filter: woocommerce_customer_stock_notification_should_skip_sending */ apply_filters( 'woocommerce_customer_stock_notification_should_skip_sending', $should_skip, $notification->get_id() ); -
/** * Filter: woocommerce_customer_stock_notification_throttle_threshold */ apply_filters( 'woocommerce_customer_stock_notification_throttle_threshold', self::SPAM_THRESHOLD ); -
/** * `woocommerce_customer_stock_notification_unsubscribe_redirect_url` filter. */ apply_filters( 'woocommerce_customer_stock_notification_unsubscribe_redirect_url', $url ); -
/** * `woocommerce_customer_stock_notification_verified_redirect_url` filter. */ apply_filters( 'woocommerce_customer_stock_notification_verified_redirect_url', $url ); -
/** * Filter the account required message HTML. */ apply_filters( 'woocommerce_customer_stock_notifications_account_required_message_html', null, $product ); -
/** * Filter the already signed up message HTML. */ apply_filters( 'woocommerce_customer_stock_notifications_already_signed_up_message_html', null, $product, $notification ); -
/** * Filter: woocommerce_customer_stock_notifications_batch_size */ apply_filters( 'woocommerce_customer_stock_notifications_batch_size', self::BATCH_SIZE ); -
/** * Filter: woocommerce_customer_stock_notifications_first_batch_delay */ apply_filters( 'woocommerce_customer_stock_notifications_first_batch_delay', MINUTE_IN_SECONDS, $product_id ); -
/** * Filter: woocommerce_customer_stock_notifications_next_batch_delay */ apply_filters( 'woocommerce_customer_stock_notifications_next_batch_delay', 0, $product_id ); -
/** * Filter whether personalization is enabled while rendering the form. */ apply_filters( 'woocommerce_customer_stock_notifications_personalization_enabled', false ); -
/** * Filter: woocommerce_customer_stock_notifications_product_is_valid Allows * custom validation for whether a product is generally eligible for * notifications. */ apply_filters( 'woocommerce_customer_stock_notifications_product_is_valid', true, $product ); -
/** * Allows for additional processing of the product IDs after they have been * queued. */ do_action( 'woocommerce_customer_stock_notifications_product_sync', $product_ids ); -
/** * Filter to require nonce check. */ apply_filters( 'woocommerce_customer_stock_notifications_requires_nonce_check', $requires_account ); -
/** * Filter the Customer Stock Notifications settings. */ apply_filters( 'woocommerce_customer_stock_notifications_settings', array( array( 'title' => __( 'Customer stock notifications', 'woocommerce' ), 'type' => 'title', 'desc' => '', 'id' => 'product_customer_stock_notifications_options', ), array( 'title' => __( 'Allow sign-ups', 'woocommerce' ), 'desc' => __( 'Let customers sign up to be notified when products in your store are restocked.', 'woocommerce' ), 'id' => 'woocommerce_customer_stock_notifications_allow_... ); -
/** * Action: woocommerce_customer_stock_notifications_signup_rate_limit_exceeded */ do_action( 'woocommerce_customer_stock_notifications_signup_rate_limit_exceeded', $rate_limit_id, $user_email ); -
/** * Filter: woocommerce_customer_stock_notifications_signup_rate_limit_options */ apply_filters( 'woocommerce_customer_stock_notifications_signup_rate_limit_options', $defaults ); -
/** * Filter: woocommerce_customer_stock_notifications_supported_product_statuses */ apply_filters( 'woocommerce_customer_stock_notifications_supported_product_statuses', array( ProductStatus::PUBLISH, ) ); -
/** * Filter: woocommerce_customer_stock_notifications_supported_product_types */ apply_filters( 'woocommerce_customer_stock_notifications_supported_product_types', array( ProductType::SIMPLE, ProductType::VARIABLE, ProductType::VARIATION, ) ); -
/** * Filter: woocommerce_customer_stock_notifications_supported_stock_statuses */ apply_filters( 'woocommerce_customer_stock_notifications_supported_stock_statuses', array( ProductStockStatus::IN_STOCK, ProductStockStatus::ON_BACKORDER, ) ); -
/** * Filter the verification codes expiration time (in seconds). */ apply_filters( 'woocommerce_customer_stock_notifications_verification_expiration_time_threshold', HOUR_IN_SECONDS ); -
/** * Action: woocommerce_customer_stock_notifications_verified */ do_action( 'woocommerce_customer_stock_notifications_verified', $notification ); -
/** * Filters the taxable address for a given customer. */ apply_filters( 'woocommerce_customer_taxable_address', array( $country, $state, $postcode, $city ), $this ); -
/** * Triggers sending of the customer email-verification email. */ do_action( 'woocommerce_customer_verify_email_notification', $user_id, $verify_url ); -
/** * Filter to change the reports of the status widget on the Dashboard page. */ apply_filters( 'woocommerce_dashboard_status_widget_reports', $status_widget_reports ); -
/** * Allows modification of the query to determine the top seller product in the * dashboard status widget. */ apply_filters( 'woocommerce_dashboard_status_widget_top_seller_query', $query ); -
/** * Filters the HTTP timeout (in seconds) used when fetching remote specs data * sources. */ apply_filters( 'woocommerce_data_source_poller_timeout', 3 ); -
/** * Filters the maximum index length in the database. */ apply_filters( 'woocommerce_database_max_index_length', 191 ); -
/** * Filters the delay in seconds to apply to the scheduling of database updates * when automatic updates are enabled. */ apply_filters( 'woocommerce_db_update_schedule_delay', 0 ); -
/** * Filter whether to defer transactional emails. */ apply_filters( 'woocommerce_defer_transactional_emails', $defer_default ); -
/** * Action hook fired after deleting template file. */ do_action( 'woocommerce_delete_email_template', $template_type, $this ); -
/** * Filters the number of draft orders deleted per batch during cleanup. */ apply_filters( 'woocommerce_delete_expired_draft_orders_batch_size', 20 ); -
/** * Filter to alter the interval between the actions that delete expired * transient files. */ apply_filters( 'woocommerce_delete_expired_transient_files_interval', DAY_IN_SECONDS ); -
/** * Fires after product transients are deleted. */ do_action( 'woocommerce_delete_product_transients', $product_id ); -
/** * Fires after a product variation has been permanently deleted. */ do_action( 'woocommerce_delete_product_variation', $variation_id ); -
/** * Action: woocommerce_delete_stock_notification */ do_action( 'woocommerce_delete_stock_notification', $notification_id, $notification ); -
/** * Filter to prevent variations from being deleted while switching from a * variable product type to a variable product type. */ apply_filters( 'woocommerce_delete_variations_on_product_type_change', ProductType::VARIABLE === $from && ProductType::VARIABLE !== $to, $product, $from, $to ); -
woocommerce_demo_store
filter/** * Filter demo store notice. */ apply_filters( 'woocommerce_demo_store', '<p role="complementary" aria-label="' . esc_attr__( 'Store notice', 'woocommerce' ) . '" class="woocommerce-store-notice demo_store" data-notice-id="' . esc_attr( $notice_id ) . '" style="display:none;">' . wp_kses_post( $notice ) . ' <a role="button" href="#" class="woocommerce-store-notice__dismiss-link">' . esc_html__( 'Dismiss', 'woocommerce' ) . '</a></p>', $notice ); -
woocommerce_dimension_units
filter/** * Filter the available dimension units. */ apply_filters( 'woocommerce_dimension_units', DimensionUnit::get_all() ); -
/** * This filter enables the exclusion of the most recent access time from being * logged for REST API calls. */ apply_filters( 'woocommerce_disable_rest_api_access_log', $do_not_record, $this->user->key_id, $this->user->user_id ); -
/** * Hook: woocommerce_display_product_attributes. */ apply_filters( 'woocommerce_display_product_attributes', $product_attributes, $product ); -
woocommerce_docs_url
filter/** * The WooCommerce documentation URL. */ apply_filters( 'woocommerce_docs_url', 'https://woocommerce.com/documentation/plugins/woocommerce/' ); -
/** * Filter the filepath for download. */ apply_filters( 'woocommerce_download_parse_file_path', $file_path, $remote_file ); -
/** * Filter the remote filepath for download. */ apply_filters( 'woocommerce_download_parse_remote_file_path', $file_path ); -
/** * Filter download filepath. */ apply_filters( 'woocommerce_download_product_filepath', $product->get_file_download_path( $download->get_download_id() ), $email_address, $order, $product, $download ); -
/** * Duplicate children of a variable product. */ apply_filters( 'woocommerce_duplicate_product_exclude_children', false, $product ); -
/** * Filter to allow us to exclude meta keys from product duplication.. */ apply_filters( 'woocommerce_duplicate_product_exclude_meta', array(), array_map( function ( $datum ) { return $datum->key; }, $product->get_meta_data() ) ); -
/** * My Account edit account form. */ do_action( 'woocommerce_edit_account_form' ); -
/** * Hook where additional fields should be rendered. */ do_action( 'woocommerce_edit_account_form_fields' ); -
woocommerce_email
action/** * Action hook for email classes to hook into. */ do_action( 'woocommerce_email', $this ); -
woocommerce_email_actions
filter/** * Filter the actions that trigger transactional emails. */ apply_filters( 'woocommerce_email_actions', array( 'woocommerce_low_stock', 'woocommerce_no_stock', 'woocommerce_product_on_backorder', 'woocommerce_order_status_pending_to_processing', 'woocommerce_order_status_pending_to_completed', 'woocommerce_order_status_processing_to_cancelled', 'woocommerce_order_status_pending_to_cancelled', 'woocommerce_order_status_pending_to_failed', 'woocommerce_order_status_pending_to_on-hold', 'woocommerce... ); -
/** * Provides an opportunity to inspect and modify additional content for the * email. */ apply_filters( "woocommerce_email_additional_content_{$this->id}", $this->format_string( $this->get_option_or_transient( 'additional_content' ) ), $this->object, $this ); -
/** * Filter the Bcc recipient for the email. */ apply_filters( "woocommerce_email_bcc_recipient_{$this->id}", $this->supports_cc_bcc() ? $this->bcc : '', $this->object, $this ); -
/** * Filter the email template HTML. */ apply_filters( 'woocommerce_email_block_template_html', $template_html, $email ); -
/** * Filter the Cc recipient for the email. */ apply_filters( "woocommerce_email_cc_recipient_{$this->id}", $this->supports_cc_bcc() ? $this->cc : '', $this->object, $this ); -
woocommerce_email_classes
filter/** * Filter the email classes. */ apply_filters( 'woocommerce_email_classes', $this->emails ); -
/** * Filter the content of the backorder notification email. */ apply_filters( 'woocommerce_email_content_backorder', $message, $args ); -
/** * Filter the content of the low stock notification email. */ apply_filters( 'woocommerce_email_content_low_stock', $message, $product ); -
/** * Filter the content of the no stock notification email. */ apply_filters( 'woocommerce_email_content_no_stock', $message, $product ); -
/** * Filter the email content post data before creating the post. */ apply_filters( 'woocommerce_email_content_post_data', $post_data, $email_type, $email ); -
/** * Filter the customer details fields. */ apply_filters( 'woocommerce_email_customer_details_fields', array(), $sent_to_admin, $order ); -
woocommerce_email_disabled
action/** * Fires when a transactional email is not sent because the email type is * disabled. */ do_action( 'woocommerce_email_disabled', $this->id, $this ); -
/** * Filter the columns of the order downloads table. */ apply_filters( 'woocommerce_email_downloads_columns', array( 'download-product' => __( 'Product', 'woocommerce' ), 'download-expires' => __( 'Expires', 'woocommerce' ), 'download-file' => __( 'Download', 'woocommerce' ), ), $order ); -
/** * Filters the URL of an image inside an email gallery so integrations can * serve a server-side-cropped file that honors the block's aspect ratio. */ apply_filters( 'woocommerce_email_editor_gallery_cropped_image_url', $image_url, $aspect_ratio, $width, $height, $image_attrs ); -
/** * Filters the context data for email personalization. */ apply_filters( 'woocommerce_email_editor_integration_personalizer_context_data', $context, $email ); -
/** * Controls the logging threshold for the email editor. */ apply_filters( 'woocommerce_email_editor_logging_threshold', WC_Log_Levels::WARNING ); -
/** * Fires before retrieving personalization tags, allowing extensions to * register or modify tags based on the post context. */ do_action( 'woocommerce_email_editor_personalization_tags_for_post', $post_id ); -
/** * Filters the REST API routes preloaded for the email editor. */ apply_filters( 'woocommerce_email_editor_preload_rest_api_routes', $routes, $post_type, $post_id ); -
/** * This file is part of the WooCommerce Email Editor package. Template canvas * file to render the emails custom post type. */ apply_filters( 'woocommerce_email_editor_preview_post_template_html', get_post() ); -
/** * Fires when rendering an email's content has finished, whether it succeeded * or threw. */ do_action( 'woocommerce_email_editor_render_end' ); -
/** * Fires when rendering an email's content is about to start. */ do_action( 'woocommerce_email_editor_render_start' ); -
/** * Filter the email-specific context data passed to block renderers. */ apply_filters( 'woocommerce_email_editor_rendering_email_context', array(), $post, $template ); -
/** * Filters the subject of the preview email before it is sent or rendered. */ apply_filters( 'woocommerce_email_editor_send_preview_email_subject', $post->post_title, $post ); -
/** * Filters whether a preview email may be sent for a request without a backing * post. */ apply_filters( 'woocommerce_email_editor_send_preview_email_without_post_permission', false, $request ); -
/** * Filter to enable/disable site style sync functionality */ apply_filters( 'woocommerce_email_editor_site_style_sync_enabled', true ); -
/** * Filter the site theme data used for email style sync. */ apply_filters( 'woocommerce_email_editor_site_theme', $this->site_theme ); -
/** * Filter the synced site style data before applying to email theme */ apply_filters( 'woocommerce_email_editor_synced_site_styles', $synced_data, $site_data ); -
/** * Filter for main find/replace. */ apply_filters( 'woocommerce_email_format_string', str_replace( $find, $replace, $string ), $this ); -
woocommerce_email_from_name
filter/** * Filters the "from" name for outgoing emails. */ apply_filters( 'woocommerce_email_from_name', get_option( 'woocommerce_email_from_name', $default ), $this, $from_name ); -
/** * Filter to modify the arguments for the email fulfillment items. */ apply_filters( 'woocommerce_email_fulfillment_items_args', array( 'order' => $order, 'fulfillment' => $fulfillment, 'items' => $order_items_filtered, 'show_download_links' => $order->is_download_permitted() && ! $args['sent_to_admin'], 'show_sku' => $args['show_sku'], 'show_purchase_note' => $order->is_paid() && ! $args['sent_to_admin'], 'show_image' => $args['show_image'], 'image_size' => $args['image_size'], 'plain_text' => $args['plain_text'], 'sent... ); -
/** * Action hook for email classes to hook into the general block email template. */ do_action( 'woocommerce_email_general_block_content', $sent_to_admin, $plain_text, $email ); -
/** * Filter the email group title. */ apply_filters( 'woocommerce_email_group_title', $title, $this->email_group, $email_groups ); -
woocommerce_email_groups
filter/** * Filter the available email groups. */ apply_filters( 'woocommerce_email_groups', $email_groups ); -
/** * Filter the URL used for the email header image/logo link. */ apply_filters( 'woocommerce_email_header_image_url', home_url() ); -
/** * Provides an opportunity to inspect and modify heading for the email. */ apply_filters( "woocommerce_email_heading_{$this->id}", $this->format_string( $this->get_option_or_transient( 'heading', $this->get_default_heading() ) ), $this->object, $this ); -
/** * Filter whether to add an order note for this transactional email attempt. */ apply_filters( 'woocommerce_email_log_add_order_note', true, $email_id, $email, $wc_object ); -
/** * Filter the heading text shown in the order details section of emails. */ apply_filters( 'woocommerce_email_order_details_heading', __( 'Order summary', 'woocommerce' ), $order, $email ); -
/** * Filter the order meta fields. */ apply_filters( 'woocommerce_email_order_meta_fields', array(), $sent_to_admin, $order ); -
/** * Deprecated woocommerce_email_order_meta_keys filter. */ apply_filters( 'woocommerce_email_order_meta_keys', array(), $sent_to_admin ); -
/** * Provides an opportunity to inspect and modify preheader for the email. */ apply_filters( "woocommerce_email_preheader{$this->id}", $this->format_string( $this->get_option_or_transient( 'preheader', '' ) ), $this->object, $this ); -
/** * A dummy address used in email preview as billing and shipping one. */ apply_filters( 'woocommerce_email_preview_dummy_address', $address, $this->email_type ); -
/** * A dummy downloadable WC_Product used in email preview. */ apply_filters( 'woocommerce_email_preview_dummy_downloadable_product', $product, $this->email_type ); -
/** * A dummy WC_Order used in email preview. */ apply_filters( 'woocommerce_email_preview_dummy_order', $order, $this->email_type ); -
/** * A dummy WC_Product used in email preview. */ apply_filters( 'woocommerce_email_preview_dummy_product', $product, $this->email_type ); -
/** * A dummy WC_Product_Variation used in email preview. */ apply_filters( 'woocommerce_email_preview_dummy_product_variation', $variation, $this->email_type ); -
/** * Filter the email content setting IDs for specific email. Email preview * automatically refreshes when these settings are changed. */ apply_filters( 'woocommerce_email_preview_email_content_setting_ids', $setting_ids, $email_id ); -
/** * Filter the email style setting IDs. Email preview automatically refreshes * when these settings are changed. */ apply_filters( 'woocommerce_email_preview_email_style_setting_ids', self::$email_style_setting_ids ); -
/** * Placeholders for email preview. */ apply_filters( 'woocommerce_email_preview_placeholders', $placeholders, $this->email_type, $email_object ); -
/** * Filters whether shipping details should be shown in email previews. */ apply_filters( 'woocommerce_email_preview_show_shipping_details', true, $order, $this->email_type ); -
/** * Filter the recipient for the email. */ apply_filters( "woocommerce_email_recipient_{$this->id}", $this->recipient, $this->object, $this ); -
/** * Filter the recipient of the backorder notification email. */ apply_filters( 'woocommerce_email_recipient_backorder', get_option( 'woocommerce_stock_email_recipient' ), $args, null ); -
/** * Filter the recipient of the low stock notification email. */ apply_filters( 'woocommerce_email_recipient_low_stock', get_option( 'woocommerce_stock_email_recipient' ), $product, null ); -
/** * Filter the recipient of the no stock notification email. */ apply_filters( 'woocommerce_email_recipient_no_stock', get_option( 'woocommerce_stock_email_recipient' ), $product, null ); -
/** * Filter the reply-to address for emails. */ apply_filters( 'woocommerce_email_reply_to_address', get_option( 'woocommerce_email_reply_to_address', '' ), $this, $reply_to_email ); -
/** * Filter whether reply-to is enabled for emails. */ apply_filters( 'woocommerce_email_reply_to_enabled', 'yes' === get_option( 'woocommerce_email_reply_to_enabled', 'no' ), $this ); -
/** * Filter the reply-to name for emails. */ apply_filters( 'woocommerce_email_reply_to_name', get_option( 'woocommerce_email_reply_to_name', '' ), $this, $reply_to_name ); -
woocommerce_email_sent
action/** * Action hook fired when an email is sent. */ do_action( 'woocommerce_email_sent', $return, (string) $this->id, $this ); -
/** * Fires when rendering a custom column in the email settings table. */ do_action( "woocommerce_email_setting_column_{$key}", $email ); -
/** * Filters the columns displayed in the email settings table. */ apply_filters( 'woocommerce_email_setting_columns', array( 'status' => '', 'name' => __( 'Email', 'woocommerce' ), 'email_type' => __( 'Content type', 'woocommerce' ), 'recipient' => __( 'Recipient(s)', 'woocommerce' ), 'actions' => '', ) ); -
woocommerce_email_settings
filter/** * Filters the email settings array. */ apply_filters( 'woocommerce_email_settings', $settings ); -
/** * Action hook fired after displaying email settings. */ do_action( 'woocommerce_email_settings_after', $this ); -
/** * Action hook fired before displaying email settings. */ do_action( 'woocommerce_email_settings_before', $this ); -
/** * `woocommerce_email_stock_notification_base_text_color` filter. */ apply_filters( 'woocommerce_email_stock_notification_base_text_color', wc_light_or_dark( $base, '#202020', '#ffffff' ), $email ); -
/** * Filter the button href. */ apply_filters( 'woocommerce_email_stock_notification_button_link', UtmHelper::add_email_utm_params( $notification->get_product_permalink() ), $notification, $product ); -
/** * Filter the button text. */ apply_filters( 'woocommerce_email_stock_notification_button_text', _x( 'Shop Now', 'Email notification', 'woocommerce' ), $notification, $product ); -
/** * `woocommerce_email_stock_notification_emails_to_style` filter. */ apply_filters( 'woocommerce_email_stock_notification_emails_to_style', self::$email_ids ); -
/** * Filter the button text. */ apply_filters( 'woocommerce_email_stock_notification_verify_button_text', _x( 'Confirm', 'Stock Notification confirm notification', 'woocommerce' ), $notification, $product ); -
woocommerce_email_styles
filter/** * Provides an opportunity to filter the CSS styles included in e-mails. */ apply_filters( 'woocommerce_email_styles', $css, $this ); -
/** * Provides an opportunity to inspect and modify subject for the email. */ apply_filters( "woocommerce_email_subject_{$this->id}", $this->format_string( $this->get_option_or_transient( 'subject', $this->get_default_subject() ) ), $this->object, $this ); -
/** * Filter the subject of the backorder notification email. */ apply_filters( 'woocommerce_email_subject_backorder', $subject, $args, null ); -
/** * Filter the subject of the low stock notification email. */ apply_filters( 'woocommerce_email_subject_low_stock', $subject, $product, null ); -
/** * Filter the subject of the no stock notification email. */ apply_filters( 'woocommerce_email_subject_no_stock', $subject, $product, null ); -
/** * Fires once after the post-upgrade divergence sweep finishes classifying * every sync-registered email post. */ do_action( 'woocommerce_email_template_divergence_sweep_complete' ); -
/** * Filters the values to update before validation and sanitization. */ apply_filters( 'woocommerce_emails_api_settings_schema_validate_and_sanitize_settings', $values_to_update, $settings_by_id ); -
/** * Filter the list of email IDs that should not display order details. */ apply_filters( 'woocommerce_emails_general_block_content_emails_without_order_details', array() ); -
/** * Filters the validated settings after validation and sanitization. */ apply_filters( 'woocommerce_emails_settings_schema_validate_and_sanitize_settings', $validated, $email, $values ); -
woocommerce_emogrifier
action/** * Action hook fired when an email content has been processed by Emogrifier * CssInliner instance. */ do_action( 'woocommerce_emogrifier', $css_inliner, $this ); -
/** * Filter to enable/disable admin help tab. */ apply_filters( 'woocommerce_enable_admin_help_tab', true ); -
/** * Allow WooCommerce to auto-update without prompting the user. */ apply_filters( 'woocommerce_enable_auto_update_db', true ); -
/** * Filter to enable HPOS by default for new shops. */ apply_filters( 'woocommerce_enable_hpos_by_default_for_new_shops', true ); -
/** * Filters the page title used for my-account endpoints. */ apply_filters( "woocommerce_endpoint_{$endpoint}_title", $title, $endpoint, $action ); -
/** * Filters whether enhanced push notifications should be disabled. */ apply_filters( 'woocommerce_enhanced_push_notifications_disabled', false ); -
woocommerce_enqueue_styles
filter/** * Filter list of WooCommerce styles to enqueue. */ apply_filters( 'woocommerce_enqueue_styles', array( 'woocommerce-layout' => array( 'src' => self::get_asset_url( 'assets/css/woocommerce-layout.css' ), 'deps' => '', 'version' => $version, 'media' => 'all', 'has_rtl' => true, ), 'woocommerce-smallscreen' => array( 'src' => self::get_asset_url( 'assets/css/woocommerce-smallscreen.css' ), 'deps' => 'woocommerce-layout', 'version' => $version, 'media' => 'only screen and (max-width: ' . appl... ); -
/** * Get additional request args. */ apply_filters( 'woocommerce_explat_request_args', $args ); -
/** * Used to add custom report controllers. */ apply_filters( 'woocommerce_export_report_controller_map', array( 'products' => 'Automattic\WooCommerce\Admin\API\Reports\Products\Controller', 'variations' => 'Automattic\WooCommerce\Admin\API\Reports\Variations\Controller', 'orders' => 'Automattic\WooCommerce\Admin\API\Reports\Orders\Controller', 'categories' => 'Automattic\WooCommerce\Admin\API\Reports\Categories\Controller', 'taxes' => 'Automattic\WooCommerce\Admin\API\Reports\Taxes\Controller', 'c... ); -
/** * Used to add/overwrite report data endpoint. */ apply_filters( 'woocommerce_export_report_data_endpoint', "/wc-analytics/reports/{$this->report_type}", $this->report_type ); -
/** * Allow third-parties to filter the exportable product types. */ apply_filters( 'woocommerce_exporter_product_types', $product_types ); -
/** * Fires when extensions can register their fields with ExtensibleAbilities. */ do_action( 'woocommerce_extensible_abilities_init' ); -
/** * Fires when extensions can register their resources with ExtensibleAbilities. */ do_action( 'woocommerce_extensible_abilities_resources_init' ); -
/** * Filter to customize the description tip that appears under the description * of each feature in the features settings page. */ apply_filters( 'woocommerce_feature_description_tip', $desc_tip, $feature_id, $disabled ); -
woocommerce_feature_setting
filter/** * Allows to modify feature setting that will be used to render in the feature * page. */ apply_filters( 'woocommerce_feature_setting', $feature_setting, $feature_id ); -
/** * Filter download method. */ apply_filters( 'woocommerce_file_download_method', get_option( 'woocommerce_file_download_method', 'force' ), $product_id, $file_path ); -
/** * Filter to add or remove column names from the downloads report for export. */ apply_filters( 'woocommerce_filter_downloads_export_columns', $export_columns ); -
/** * Filter fields for order confirmation (thank you page, email). */ apply_filters( 'woocommerce_filter_fields_for_order_confirmation', ! empty( $field['show_in_order_confirmation'] ), $field, $fields, $context, $this ); -
/** * Developers can add additional flat rates based on this one via this action * since @version 2.4. */ do_action( 'woocommerce_flat_rate_shipping_add_rate', $this, $rate ); -
woocommerce_form_field
filter/** * General filter on form fields. */ apply_filters( 'woocommerce_form_field', $field, $key, $args, $value ); -
/** * Filter by type. */ apply_filters( "woocommerce_form_field_{$args['type']}", $field, $key, $args, $value ); -
/** * Filters the formatted phone number. */ apply_filters( 'woocommerce_format_phone_number', $formatted, $original, $is_valid ); -
/** * Action to perform after a fulfillment is created. */ do_action( 'woocommerce_fulfillment_after_create', $data ); -
/** * Action to perform after a fulfillment is deleted. */ do_action( 'woocommerce_fulfillment_after_delete', $data ); -
/** * Action to perform after a fulfillment is updated. */ do_action( 'woocommerce_fulfillment_after_update', $data, $changes, $previous_status ); -
/** * Filter to modify the fulfillment data before it is created. */ apply_filters( 'woocommerce_fulfillment_before_create', $data ); -
/** * Filter to modify the fulfillment data before it is updated. */ apply_filters( 'woocommerce_fulfillment_before_delete', $data ); -
/** * Filter to modify the fulfillment data before it is updated. */ apply_filters( 'woocommerce_fulfillment_before_update', $data ); -
/** * This filter allows plugins to modify the fulfillment status of an order. */ apply_filters( 'woocommerce_fulfillment_calculate_order_fulfillment_status', $status, $order, $fulfillments ); -
/** * Filters the order note message when a fulfillment is created. */ apply_filters( 'woocommerce_fulfillment_created_order_note', $message, $fulfillment, $order ); -
/** * Trigger the fulfillment deleted notification. */ do_action( 'woocommerce_fulfillment_deleted_notification', $order_id, $fulfillment, wc_get_order( $order_id ) ); -
/** * Filters the order note message when a fulfillment is deleted. */ apply_filters( 'woocommerce_fulfillment_deleted_order_note', $message, $fulfillment, $order ); -
/** * This filter allows plugins to modify the list of fulfillment statuses. It * can be used to add, remove, or change the fulfillment statuses available in * the WooCommerce Fulfillments system. */ apply_filters( 'woocommerce_fulfillment_fulfillment_statuses', self::get_default_fulfillment_statuses() ); -
/** * Filter to translate fulfillment meta keys. */ apply_filters( 'woocommerce_fulfillment_meta_key_translations', array( 'fulfillment_status' => __( 'Fulfillment Status', 'woocommerce' ), 'shipment_tracking' => __( 'Shipment Tracking', 'woocommerce' ), 'shipment_provider' => __( 'Shipment Provider', 'woocommerce' ), ) ); -
/** * This filter allows plugins to modify the fulfillment status text for an * order for their custom fulfillment statuses. */ apply_filters( 'woocommerce_fulfillment_order_fulfillment_status_text', $fulfillment_status_text, $fulfillment_status, $order ); -
/** * This filter allows plugins to modify the list of order fulfillment statuses. * It can be used to add, remove, or change the order fulfillment statuses * available in the WooCommerce Fulfillments system. */ apply_filters( 'woocommerce_fulfillment_order_fulfillment_statuses', self::get_default_order_fulfillment_statuses() ); -
/** * Filters the order note message when the order fulfillment status changes. */ apply_filters( 'woocommerce_fulfillment_order_status_changed_order_note', $message, $order, $old_status, $new_status ); -
/** * Parse the tracking number with additional parameters. */ apply_filters( 'woocommerce_fulfillment_parse_tracking_number', $tracking_number, WC()->countries->get_base_country(), $order->get_shipping_country() ); -
/** * Filters the shipment provider label shown to customers. */ apply_filters( 'woocommerce_fulfillment_shipment_provider_label', $label, $fulfillment ); -
/** * This filter allows plugins to modify the list of shipping providers. It can * be used to add, remove, or change the shipping providers available in the * WooCommerce Fulfillments system. */ apply_filters( 'woocommerce_fulfillment_shipping_providers', array() ); -
/** * Filters the order note message when a fulfillment status changes. */ apply_filters( 'woocommerce_fulfillment_status_changed_order_note', $message, $fulfillment, $order, $old_status, $new_status ); -
/** * Allows developers to translate the fulfillment meta key for display in * emails. */ apply_filters( 'woocommerce_fulfillment_translate_meta_key', $field->key ); -
/** * Trigger the fulfillment updated notification on updating a fulfillment. */ do_action( 'woocommerce_fulfillment_updated_notification', $order_id, $fulfillment, $order, $customer_note ); -
/** * Filters the order note message when a fulfillment is updated. */ apply_filters( 'woocommerce_fulfillment_updated_order_note', $message, $fulfillment, $order ); -
/** * Filter to get the list of the item, or variant ID's that should be * auto-fulfilled. */ apply_filters( 'woocommerce_fulfillments_auto_fulfill_products', array(), $order ); -
/** * Filter to disable Google Analytics tracking. */ apply_filters( 'woocommerce_ga_disable_tracking', ! wc_string_to_bool( $settings['ga_event_tracking_enabled'] ) ); -
/** * Filters the attributes for the image markup. */ apply_filters( 'woocommerce_gallery_image_html_attachment_image_params', array( 'title' => _wp_specialchars( get_post_field( 'post_title', $attachment_id ), ENT_QUOTES, 'UTF-8', true ), 'data-caption' => _wp_specialchars( get_post_field( 'post_excerpt', $attachment_id ), ENT_QUOTES, 'UTF-8', true ), 'data-src' => isset( $full_src[0] ) ? esc_url( $full_src[0] ) : '', 'data-large_image' => isset( $full_src[0] ) ? esc_url( $full_src[0] ) : '', 'data-large_image_width' ... ); -
/** * Filters the gateway description. */ apply_filters( 'woocommerce_gateway_description', wp_kses_post( $this->description ), $this->id ); -
/** * Filter the method description. */ apply_filters( 'woocommerce_gateway_method_description', $this->method_description, $this ); -
/** * Filter the method title. */ apply_filters( 'woocommerce_gateway_method_title', $this->method_title, $this ); -
woocommerce_gateway_title
filter/** * Filter the gateway title. */ apply_filters( 'woocommerce_gateway_title', $title, $this->id ); -
/** * Allow the generation of custom field types on the settings screen. */ apply_filters( "woocommerce_generate_{$type}_html", '', $k, $v, $this ); -
/** * Filter generated customer username. */ apply_filters( 'woocommerce_generated_customer_username', 'woo_user_' . zeroise( wp_rand( 0, 9999 ), 4 ), $email, $new_user_args, $suffix ); -
woocommerce_geolocate_ip
filter/** * Filter to allow custom geolocation of the IP address. */ apply_filters( 'woocommerce_geolocate_ip', false, $ip_address, $fallback, $api_fallback ); -
/** * Controls the location hash used in geolocation-based caching. */ apply_filters( 'woocommerce_geolocation_ajax_get_location_hash', $location_hash, $location, $customer ); -
/** * Allows for the automatic database update to be disabled. */ apply_filters_deprecated( 'woocommerce_geolocation_update_database_periodically', array( true ), '3.9.0', 'woocommerce_maxmind_geolocation_update_database_periodically' ); -
/** * Filters the instance of a processor for a given class name. */ apply_filters( 'woocommerce_get_batch_processor', $processor, $processor_class_name ); -
woocommerce_get_block_types
filter/** * Filters the list of allowed block types. */ apply_filters( 'woocommerce_get_block_types', $block_types ); -
/** * Filter the URL to cancel the order in the frontend. */ apply_filters( 'woocommerce_get_cancel_order_url', wp_nonce_url( add_query_arg( array( 'cancel_order' => 'true', 'order' => $this->get_order_key(), 'order_id' => $this->get_id(), 'redirect' => $redirect, ), $this->get_cancel_endpoint() ), 'woocommerce-cancel_order' ), $this, $redirect ); -
/** * Filter the raw URL to cancel the order in the frontend. */ apply_filters( 'woocommerce_get_cancel_order_url_raw', add_query_arg( array( 'cancel_order' => 'true', 'order' => $this->get_order_key(), 'order_id' => $this->get_id(), 'redirect' => $redirect, '_wpnonce' => wp_create_nonce( 'woocommerce-cancel_order' ), ), $this->get_cancel_endpoint() ), $this, $redirect ); -
/** * Filter to modify or add session data to the cart contents. */ apply_filters( 'woocommerce_get_cart_item_from_session', $session_data, $values, $key ); -
woocommerce_get_cart_url
filter/** * Filter the cart URL. */ apply_filters( 'woocommerce_get_cart_url', $cart_url ); -
/** * Filters the address field settings of each country. */ apply_filters( 'woocommerce_get_country_locale', array( 'AE' => array( 'postcode' => array( 'required' => false, 'hidden' => true, ), 'state' => array( 'required' => false, ), ), 'AF' => array( 'state' => array( 'required' => false, 'hidden' => true, ), ), 'AL' => array( 'state' => array( 'label' => __( 'County', 'woocommerce' ), ), ), 'AO' => array( 'postcode' => array( 'required' => false, 'hidden' => true, ), 'state' => array( 'label' => _... ); -
/** * Filters the default address field settings, which get_address_fields() uses * for countries without their own. */ apply_filters( 'woocommerce_get_country_locale_default', $this->get_default_address_fields() ); -
/** * Fallback to title case, uppercasing the first letter of each word. */ apply_filters( 'woocommerce_get_credit_card_type_label', ( array_key_exists( $type, $labels ) ? $labels[ $type ] : ucwords( $type ) ) ); -
/** * Controls the maximum number of Payment Methods that will be listed via the * My Account page. */ apply_filters( 'woocommerce_get_customer_payment_tokens_limit', get_option( 'posts_per_page' ) ); -
/** * Allow providing a default value for additional fields if no value is already * set. */ apply_filters( "woocommerce_get_default_value_for_{$key}", null, $group, $wc_object ); -
/** * Allow providing a default value for additional fields if no value is already * set. */ apply_filters( "woocommerce_get_default_value_for_{$missing_field}", null, $group, $wc_object ); -
/** * Allow plugins to filter this price like in the legacy cart class. */ apply_filters( 'woocommerce_get_discounted_price', wc_remove_number_precision( $item->total ), $item->object, $this->cart ); -
/** * Filter the URL to edit the order in the backend. */ apply_filters( 'woocommerce_get_edit_order_url', $edit_url, $this ); -
/** * Filter to modify the email fulfillment items table HTML. */ apply_filters( 'woocommerce_get_email_fulfillment_items_table', ob_get_clean(), $order, $fulfillment ); -
woocommerce_get_geolocation
filter/** * Get geolocation filter. */ apply_filters( 'woocommerce_get_geolocation', array( 'country' => $country_code ? $country_code : '', 'state' => '', 'city' => '', 'postcode' => '', ), $ip_address ); -
/** * Filters the list of downloadable files for an order item. */ apply_filters( 'woocommerce_get_item_downloads', $files, $this, $order ); -
woocommerce_get_note_from_db
filter/** * Filter the note from db. This is used to modify the note before it is * returned. */ apply_filters( 'woocommerce_get_note_from_db', $note ); -
/** * Filter: 'woocommerce_get_order_address' */ apply_filters( 'woocommerce_get_order_address', array_merge( $this->data[ $address_type ], $this->get_prop( $address_type, 'view' ) ), $address_type, $this ); -
/** * Provides an opportunity to modify and extend the order status labels. */ apply_filters( 'woocommerce_get_order_status_labels', $status_names, $order ); -
/** * Filter to customize the total Cost of Goods Sold value that * get_cogs_total_value returns for a given product. */ apply_filters( 'woocommerce_get_product_cogs_total_value', $this->get_cogs_total_value_core(), $this ); -
/** * Hook woocommerce_get_product_id_by_global_unique_id. */ apply_filters( 'woocommerce_get_product_id_by_global_unique_id', $id, $global_unique_id ); -
woocommerce_get_return_url
filter/** * Filter the return url. */ apply_filters( 'woocommerce_get_return_url', $return_url, $order ); -
/** * Filters the sections for this settings page. */ apply_filters( "woocommerce_get_sections_{$this->id}", $sections ); -
woocommerce_get_shipping_tax
filter/** * Filter the shipping rate taxes. */ apply_filters( 'woocommerce_get_shipping_tax', count( $taxes ) > 0 && ! WC()->customer->get_is_vat_exempt() ? (float) array_sum( $taxes ) : 0.0, $this ); -
/** * Filter the transaction url. */ apply_filters( 'woocommerce_get_transaction_url', $return_url, $order, $this ); -
/** * Filters the hash used for caching variation prices. */ apply_filters( 'woocommerce_get_variation_prices_hash', $price_hash, $product, $for_display ); -
/** * Get shipping zone criteria */ apply_filters( 'woocommerce_get_zone_criteria', $criteria, $package, $postcode_locations ); -
/** * Fires after a customer has logged in, and their guest session id has been * deleted with its data migrated to a customer id. */ do_action( 'woocommerce_guest_session_to_user_id', $guest_session_id, $user_session_id ); -
/** * Filters the value of the result of the block template check. */ apply_filters( 'woocommerce_has_block_template', $has_template, $template_name ); -
/** * Allow developers to filter the request args passed to * wp_safe_remote_request(). Useful to remove sslverify when working on a local * api dev environment. */ apply_filters( 'woocommerce_helper_api_request_args', $args, $endpoint ); -
woocommerce_helper_denied
action/** * Fires when the Helper connection process is denied/cancelled. */ do_action( 'woocommerce_helper_denied' ); -
/** * Fires when the Helper has been disconnected. */ do_action( 'woocommerce_helper_disconnected' ); -
/** * Fires when Helper subscriptions are refreshed. */ do_action( 'woocommerce_helper_subscriptions_refresh' ); -
/** * Filter 'woocommerce_hide_invisible_variations' to optionally hide invisible * variations (disabled variations and variations with empty price). */ apply_filters( 'woocommerce_hide_invisible_variations', true, $this->get_id(), $variation ); -
/** * Filters whether billing-derived shipping details are hidden in the order * admin summary. */ apply_filters( 'woocommerce_hide_order_admin_shipping_details', $hide_core_shipping_details, $order ); -
/** * A list of pattern slugs to exclude from auto-insert (useful when there are * patterns that have a very specific location for the block) Note: The * patterns that are currently excluded are the ones that don't work well with * the mini-cart block or customer-account block. */ apply_filters( 'woocommerce_hooked_blocks_pattern_exclude_list', array_unique( array_merge( isset( $this->hooked_block_excluded_patterns ) ? $this->hooked_block_excluded_patterns : array(), array( 'twentytwentytwo/header-centered-logo', 'twentytwentytwo/header-stacked' ) ) ) ); -
/** * A list of theme slugs to execute this with. We are applying this filter to * allow for the list to be extended by third-parties who were already using * it. */ apply_filters( 'woocommerce_hooked_blocks_theme_include_list', array( 'Twenty Twenty-Four', 'Twenty Twenty-Three', 'Twenty Twenty-Two', 'Tsubaki', 'Zaino', 'Thriving Artist', 'Amulet', 'Tazza' ) ); -
/** * Filters the search filters available in the admin order search. Can be used * to add new or remove existing filters. When adding new filters, * `woocommerce_hpos_generate_where_for_search_filter` should also be used to * generate the WHERE clause for the new filter */ apply_filters( 'woocommerce_hpos_admin_search_filters', $options ); -
/** * Filters whether to sync order data from posts on read. */ apply_filters( 'woocommerce_hpos_enable_sync_on_read', false ); -
/** * Filter to support adding a custom order search filter. Provide a JOIN clause * for a new search filter. This should be used along with * `woocommerce_hpos_admin_search_filters` to declare a new custom filter, and * `woocommerce_hpos_generate_where_for_search_filter` to generate the WHERE * clause. */ apply_filters( 'woocommerce_hpos_generate_join_for_search_filter', $join, $this->search_term, $search_filter, $this->query ); -
/** * Filter to support adding a custom order search filter. Provide a WHERE * clause for a custom search filter via this filter. This should be used with * the `woocommerce_hpos_admin_search_filters` to declare a new custom filter, * and optionally also with the * `woocommerce_hpos_generate_join_for_search_filter` filter if a join is also * needed. */ apply_filters( 'woocommerce_hpos_generate_where_for_search_filter', '', $this->search_term, $search_filter, $this->query ); -
/** * Fired when the backing post record for an HPOS order is backfilled after an * order update. */ do_action( 'woocommerce_hpos_post_record_backfilled', $order ); -
/** * Fired when an HPOS order is updated from its corresponding post record on * read due to a difference in the data. */ do_action( 'woocommerce_hpos_post_record_migrated_on_read', $order, $diff ); -
woocommerce_hpos_pre_query
filter/** * Filters the orders array before the query takes place. */ apply_filters( 'woocommerce_hpos_pre_query', null, $this, $this->sql ); -
/** * Allows modifying the list of order properties that are ignored during HPOS * synchronization or verification. */ apply_filters( 'woocommerce_hpos_sync_ignored_order_props', array() ); -
/** * Similar to WP core's `rest_dispatch_request` filter, this allows plugin to * override hydrating the request. Allows backward compatibility with the * `rest_dispatch_request` filter by providing the same arguments. */ apply_filters( 'woocommerce_hydration_dispatch_request', null, $request, $path, $handler ); -
/** * Similar to WP core's `rest_request_after_callbacks` filter, this allows to * modify the response after it has been generated. Allows backward * compatibility with the `rest_request_after_callbacks` filter by providing * the same arguments. */ apply_filters( 'woocommerce_hydration_request_after_callbacks', $response, $handler, $request ); -
/** * Filters the inline update message shown for WooCommerce on the Plugins * screen. */ apply_filters( 'woocommerce_in_plugin_update_message', $this->upgrade_notice ? '</p>' . wp_kses_post( $this->upgrade_notice ) . '<p class="dummy">' : '' ); -
woocommerce_init
action/** * Action triggered after WooCommerce initialization finishes. */ do_action( 'woocommerce_init' ); -
/** * Filter the list of known WooCommerce tables. */ apply_filters( 'woocommerce_install_get_tables', $tables ); -
/** * Bypass if filesystem is read-only and/or non-standard upload system is used. */ apply_filters( 'woocommerce_install_skip_create_files', false ); -
woocommerce_installed
action/** * Run after WooCommerce has been installed or updated. */ do_action( 'woocommerce_installed' ); -
/** * Filter the rounding precision for internal WC calculations. This is * different from the number of decimals used for display. Generally, this * filter can be used to decrease the precision, but if you choose to decrease, * there maybe side effects such as off by one rounding errors for certain tax * rate combinations. */ apply_filters( 'woocommerce_internal_rounding_precision', $precision ); -
/** * Fires when WooCommerce detects an invalid cache prefix before replacing it. */ do_action( 'woocommerce_invalid_cache_prefix_detected', $group, $prefix ); -
/** * Filters whether an attribute value is already shown in the attributes area * of a variation name. */ apply_filters( 'woocommerce_is_attribute_in_product_name', $is_in_name, $attribute, $name, $product ); -
woocommerce_is_cart
filter/** * Filter to allow for custom logic to determine if the cart page is being * viewed. */ apply_filters( 'woocommerce_is_cart', false ); -
woocommerce_is_checkout
filter/** * Filter to allow for custom logic to determine if the checkout page is being * viewed. */ apply_filters( 'woocommerce_is_checkout', false ); -
/** * Filter if a URL is a store page. */ apply_filters( 'woocommerce_is_extension_store_page', false, $url ); -
woocommerce_is_filtered
filter/** * Filters whether products are currently being filtered by layered nav, price * or rating. */ apply_filters( 'woocommerce_is_filtered', ( count( WC_Query::get_layered_nav_chosen_attributes() ) > 0 || isset( $_GET['max_price'] ) || isset( $_GET['min_price'] ) || isset( $_GET['rating_filter'] ) ) ); -
/** * Filters whether the order received (thanks) page is being viewed. */ apply_filters( 'woocommerce_is_order_received_page', ( $page_id && is_page( $page_id ) && isset( $wp->query_vars['order-received'] ) ) ); -
/** * Whether this is a REST API request. */ apply_filters( 'woocommerce_is_rest_api_request', $is_rest_api_request ); -
/** * Filter the product attribute terms search results. */ apply_filters( 'woocommerce_json_search_found_product_attribute_terms', $terms, $taxonomy ); -
/** * Filter the product category search results. */ apply_filters( 'woocommerce_json_search_found_product_categories', $found_product_categories, $search_text ); -
/** * Kses notice allowed tags. */ apply_filters( 'woocommerce_kses_notice_allowed_tags', $allowed_tags ); -
/** * Filter to modify the warning text that appears in the HPOS section of the * features settings page when the Legacy REST API plugin is active and the * orders table is in use as the primary data store for orders. */ apply_filters( 'woocommerce_legacy_api_and_hpos_incompatibility_warning_text', $legacy_api_and_hpos_incompatibility_warning_text ); -
/** * Fires when cart is loaded from session. */ do_action( 'woocommerce_load_cart_from_session' ); -
/** * Filter to customize the Cost of Goods Sold value that gets loaded for a * given order item. */ apply_filters( 'woocommerce_load_order_item_cogs_value', $cogs_value, $item ); -
/** * Filter to customize the "Cost of Goods Sold value is additive" flag that * gets loaded for a given variable product. */ apply_filters( 'woocommerce_load_product_cogs_is_additive_flag', $cogs_value_is_additive, $product ); -
/** * Filter to customize the Cost of Goods Sold value that gets loaded for a * given product. */ apply_filters( 'woocommerce_load_product_cogs_value', $cogs_value, $product ); -
/** * Hook: woocommerce_load_webhooks_limit. */ apply_filters( 'woocommerce_load_webhooks_limit', null ); -
woocommerce_loaded
action/** * Action to signal that WooCommerce has finished loading. */ do_action( 'woocommerce_loaded' ); -
woocommerce_locate_template
filter/** * Filter to customize the path of a given WooCommerce template. */ apply_filters( 'woocommerce_locate_template', $template, $template_name, $template_path, $default_path ); -
woocommerce_log_directory
filter/** * Filter to change the directory for storing WooCommerce's log files. */ apply_filters( 'woocommerce_log_directory', $upload_dir['basedir'] . '/wc-logs/' ); -
/** * Filter the retention period of log entries. */ apply_filters( 'woocommerce_logger_days_to_retain_logs', $retention_period ); -
/** * Allows preventing an expired log file from being deleted. */ apply_filters( 'woocommerce_logger_delete_expired_file', true, $file, $timestamp ); -
/** * Filter the list of logging handlers that can be set as the default handler. */ apply_filters( 'woocommerce_logger_handler_options', $handler_options ); -
/** * Filter the logging message. Returning null will prevent logging from * occurring since 5.3. */ apply_filters( 'woocommerce_logger_log_message', $message, $level, $context, $handler ); -
/** * Filters the logout redirect URL. */ apply_filters( 'woocommerce_logout_default_redirect_url', wc_get_page_permalink( 'myaccount' ) ); -
/** * Filter to allow the ability to override the email inline styling method. */ apply_filters( 'woocommerce_mail_style_inline_callback', array( $this, 'apply_inline_style' ), $content, $this ); -
/** * Filter the list of registered marketing channels. */ apply_filters( 'woocommerce_marketing_channels', $this->registered_channels ); -
/** * Filters the maximum number of terms that will be displayed for each taxonomy * in the Attributes page. */ apply_filters( 'woocommerce_max_terms_displayed_in_attributes_page', 100 ); -
/** * Supports overriding the database service to be used. */ apply_filters( 'woocommerce_maxmind_geolocation_database_service', null ); -
/** * Allows for the automatic database update to be disabled. Note that MaxMind's * TOS requires that the databases be updated or removed periodically. */ apply_filters( 'woocommerce_maxmind_geolocation_update_database_periodically', $bind_updater ); -
/** * Filters the value of N, where the maximum count of database records that * will be updated in one single run of migrate_country_states_for_orders is * N*2*count($old_to_new_states_mapping) if the woocommerce_orders table * exists, or N*count($old_to_new_states_mapping) otherwise. */ apply_filters( 'woocommerce_migrate_country_states_for_orders_batch_size', 100, $country_code, $old_to_new_states_mapping ); -
/** * Filters the list of registered migration platforms. */ apply_filters( 'woocommerce_migrator_platforms', array() ); -
/** * Used to output content after core address fields. */ do_action( 'woocommerce_my_account_after_my_address', $name ); -
/** * Filters the message shown on the 'my account' page when the user is not * logged in. */ apply_filters( 'woocommerce_my_account_message', '' ); -
/** * Filters the actions available for an order on the My Account orders list. */ apply_filters( 'woocommerce_my_account_my_orders_actions', $actions, $order ); -
/** * Filters customer data before a customer account is registered. */ apply_filters( 'woocommerce_new_customer_data', wp_parse_args( $customer_data, array( 'first_name' => '', 'last_name' => '', 'source' => 'unknown', ) ) ); -
/** * Filter new customer username. */ apply_filters( 'woocommerce_new_customer_username', $username, $email, $new_user_args, $suffix ); -
woocommerce_new_order_data
filter/** * Filters the data for a new order before it is inserted into the database. */ apply_filters( 'woocommerce_new_order_data', array( 'post_date' => gmdate( 'Y-m-d H:i:s', $order->get_date_created( 'edit' )->getOffsetTimestamp() ), 'post_date_gmt' => gmdate( 'Y-m-d H:i:s', $order->get_date_created( 'edit' )->getTimestamp() ), 'post_type' => $order->get_type( 'edit' ), 'post_status' => $this->get_post_status( $order ), 'ping_status' => 'closed', 'post_author' => 1, 'post_title' => $this->get_post_title(), 'post_password... ); -
/** * Controls if new order emails can be resend multiple times. */ apply_filters( 'woocommerce_new_order_email_allows_resend', false ); -
/** * Action: woocommerce_new_stock_notification */ do_action( 'woocommerce_new_stock_notification', $notification_id, $notification ); -
woocommerce_newly_installed
action/** * Run when WooCommerce has been installed for the first time. */ do_action( 'woocommerce_newly_installed' ); -
woocommerce_note_action
action/** * Fires when an admin note action is taken. */ do_action( 'woocommerce_note_action', $triggered_action->name, $note ); -
/** * Fires when an admin note action is taken. For more specific targeting of * note actions. */ do_action( "woocommerce_note_action_{$triggered_action->name}", $note ); -
woocommerce_note_created
action/** * Fires when an admin note is created. */ do_action( 'woocommerce_note_created', $note_id ); -
woocommerce_note_deleted
action/** * Fires when an admin note is deleted. */ do_action( 'woocommerce_note_deleted', $note_id ); -
woocommerce_note_updated
action/** * Fires when an admin note is updated. */ do_action( 'woocommerce_note_updated', $note->get_id() ); -
/** * Filter the notes WHERE clause before retrieving the data. */ apply_filters( 'woocommerce_note_where_clauses', $where_clauses, $args, $context ); -
/** * Fires when onboarding profile data is updated via the REST API. */ do_action( 'woocommerce_onboarding_profile_data_updated', $onboarding_data, $query_args ); -
woocommerce_order_actions
filter/** * Filter: woocommerce_order_actions Allows filtering of the available order * actions for an order. */ apply_filters( 'woocommerce_order_actions', $actions, $order ); -
/** * Fires at the end of order actions meta box rendering. */ do_action( 'woocommerce_order_actions_end', $order_id ); -
/** * Fires at the start of order actions meta box rendering. */ do_action( 'woocommerce_order_actions_start', $order_id ); -
/** * Action to signal that a coupon has been applied to an order. */ do_action( 'woocommerce_order_applied_coupon', $coupon, $this ); -
woocommerce_order_class
filter/** * Filter classname so that the class can be overridden if extended. */ apply_filters( 'woocommerce_order_class', $order_class_names[ $order_id ], $order_type, $order_id ); -
/** * Filter to customize the total Cost of Goods Sold (COGS) value HTML for a * given order. */ apply_filters( 'woocommerce_order_cogs_total_value_html', wc_price( $cogs_total_value, $wc_price_arg ?? array( 'currency' => $this->get_currency() ) ), $cogs_total_value, $this ); -
/** * Allows 3rd parties to filter query args that will trigger an unsupported * notice. */ apply_filters( 'woocommerce_order_data_store_cpt_query_unsupported_args', array( 'meta_query', 'field_query' ) ); -
/** * Filter to modify order detiails status text. */ apply_filters( 'woocommerce_order_details_status', sprintf( esc_html__( 'Order #%1$s was placed on %2$s and is currently %3$s.', 'woocommerce' ), '<mark class="order-number">' . $order->get_order_number() . '</mark>', '<mark class="order-date">' . wc_format_datetime( $order->get_date_created() ) . '</mark>', '<mark class="order-status">' . wc_get_order_status_name( $order->get_status() ) . '</mark>' ), $order ); -
/** * Filter the discount amount to display. */ apply_filters( 'woocommerce_order_discount_to_display', wc_price( $this->get_total_discount( TaxDisplayMode::EXCLUSIVE === $tax_display ), array( 'currency' => $this->get_currency() ) ), $this ); -
/** * Determines if the order downloads table should be shown (in the context of * the order details template). */ apply_filters( 'woocommerce_order_downloads_table_show_downloads', ( $order->has_downloadable_item() && $order->is_download_permitted() ), $order ); -
/** * This action is documented in includes/class-wc-emails.php */ do_action( 'woocommerce_order_fully_refunded_notification', $order->get_id() ); -
/** * Filter the status to set the order to when fully refunded. */ apply_filters( 'woocommerce_order_fully_refunded_status', OrderStatus::REFUNDED, $order->get_id(), $refund->get_id() ); -
/** * Filter orders formatted billing address. */ apply_filters( 'woocommerce_order_get_formatted_billing_address', $address ? $address : $empty_content, $raw_address, $this ); -
/** * Filter orders formatted shipping address. */ apply_filters( 'woocommerce_order_get_formatted_shipping_address', $address ? $address : $empty_content, $raw_address, $this ); -
/** * Filter to hide the shipping address for an order. */ apply_filters( 'woocommerce_order_hide_shipping_address', LocalPickupUtils::get_local_pickup_method_ids(), $this ); -
/** * Filters the number of minutes an order should reserve stock for. */ apply_filters( 'woocommerce_order_hold_stock_minutes', $minutes, $order ); -
/** * Filter to check if an order is downloadable. */ apply_filters( 'woocommerce_order_is_download_permitted', $this->has_status( OrderStatus::COMPLETED ) || ( 'yes' === get_option( 'woocommerce_downloads_grant_access_after_payment' ) && $this->has_status( OrderStatus::PROCESSING ) ), $this ); -
/** * Filter the list of statuses which are considered 'paid'. */ apply_filters( 'woocommerce_order_is_paid_statuses', array( OrderStatus::PROCESSING, OrderStatus::COMPLETED ) ); -
/** * Filter the list of statuses which are considered 'pending payment'. */ apply_filters( 'woocommerce_order_is_pending_statuses', array( OrderStatus::PENDING ) ); -
/** * Filters whether the order is exempt from VAT. */ apply_filters( 'woocommerce_order_is_vat_exempt', 'yes' === $this->get_meta( 'is_vat_exempt' ), $this ); -
/** * Filter to customize how the Cost of Goods Sold value for an order item gets * rendered to HTML. */ apply_filters( 'woocommerce_order_item_cogs_html', $cogs_value_html, $cogs_value, $this ); -
/** * Filter to customize the text of the "Cost per unit" tooltip for the "Cost" * (of Goods Sold) column in the order details page. If an empty string is * returned then the tooltip won't be rendered. */ apply_filters( 'woocommerce_order_item_cogs_per_item_tooltip', $tooltip_text, $cost_per_item, $formatted_cost_per_item, $this ); -
/** * Filter to customize the refunded Cost of Goods Sold (COGS) value HTML for a * given order item. */ apply_filters( 'woocommerce_order_item_cogs_refunded_html', $html, $refunded_cost, $this, $order ); -
/** * Filter the converted legacy tax value. */ apply_filters( 'woocommerce_order_item_legacy_tax_conversion', $converted, $value, $this ); -
/** * Filters whether an order line item requires processing. By default, only * virtual downloadable items do not require processing; all other items do. */ apply_filters( 'woocommerce_order_item_needs_processing', ! $virtual_downloadable_item, $product, $order_id ); -
/** * Filter to customize how a non-existing Cost of Goods Sold value for an order * item (whose has_cogs method returns false) gets rendered to HTML. */ apply_filters( 'woocommerce_order_item_no_cogs_html', "<span class='na'>–</span>", $this ); -
/** * Modifies the product object returned by \WC_Order_Item_Product::get_product. */ apply_filters( 'woocommerce_order_item_product', $product, $this ); -
/** * Provides an opportunity to modify the query arguments used in the (Custom * Order Table-powered) order list table. */ apply_filters( 'woocommerce_order_list_table_prepare_items_query_args', $this->order_query_args ); -
/** * Fires before the "Filter" button on the list table for orders and other * order types. */ do_action( 'woocommerce_order_list_table_restrict_manage_orders', $this->order_type, $which ); -
/** * Filter to modify the needs shipping value for a given order. */ apply_filters( 'woocommerce_order_needs_shipping', $needs_shipping, $this ); -
woocommerce_order_note_added
action/** * Action hook fired after an order note is added. */ do_action( 'woocommerce_order_note_added', $comment_id, $this ); -
/** * Action hook fired after an order note is deleted. */ do_action( 'woocommerce_order_note_deleted', $note_id, $note ); -
/** * This action is documented in includes/class-wc-emails.php */ do_action( 'woocommerce_order_partially_refunded_notification', $order->get_id() ); -
/** * Fires when the order progresses from a pending payment status to a paid one. */ do_action( 'woocommerce_order_payment_status_changed', $this->get_id(), $this ); -
/** * Allow developers to filter this coupon before it gets re-applied to the * order. */ apply_filters( 'woocommerce_order_recalculate_coupons_coupon_object', $coupon_object, $coupon_code, $coupon_item, $this ); -
/** * Action hook fired when a coupon is removed from an order. */ do_action( 'woocommerce_order_removed_coupon', $coupon_object, $this ); -
/** * Fires after an order or refund has been imported into Analytics lookup * tables and the reports cache has been invalidated. */ do_action( 'woocommerce_order_scheduler_after_import_order', $order_id ); -
/** * Fires when order status is changed. */ do_action( "woocommerce_order_status_{$status_transition['to']}", $this->get_id(), $this, $status_transition ); -
/** * This action is documented in includes/class-wc-emails.php */ do_action( 'woocommerce_order_status_completed_notification', $order->get_id(), $order ); -
/** * This action is documented in includes/class-wc-emails.php */ do_action( 'woocommerce_order_status_failed_notification', $order->get_id(), $order ); -
/** * This action is documented in includes/class-wc-emails.php */ do_action( 'woocommerce_order_status_pending_to_on-hold_notification', $order->get_id(), $order ); -
/** * This action is documented in includes/class-wc-emails.php */ do_action( 'woocommerce_order_status_pending_to_processing_notification', $order->get_id(), $order ); -
/** * Filters whether order step logging is enabled. */ apply_filters( 'woocommerce_order_step_logging_enabled', true ); -
/** * Controls the order meta keys to be included in search queries. */ apply_filters( 'woocommerce_order_table_search_query_meta_keys', $meta_fields_to_search ); -
/** * Action hook fired in the middle of the form-tracking form (before the submit * button). */ do_action( 'woocommerce_order_tracking_form' ); -
/** * Action hook fired at the end of the form-tracking form (after the submit * button). */ do_action( 'woocommerce_order_tracking_form_end' ); -
/** * Action hook fired at the beginning of the form-tracking form. */ do_action( 'woocommerce_order_tracking_form_start' ); -
/** * Filter to modify order tracking status text. */ apply_filters( 'woocommerce_order_tracking_status', sprintf( __( 'Order #%1$s was placed on %2$s and is currently %3$s.', 'woocommerce' ), '<mark class="order-number">' . $order->get_order_number() . '</mark>', '<mark class="order-date">' . wc_format_datetime( $order->get_date_created() ) . '</mark>', '<mark class="order-status">' . wc_get_order_status_name( $order->get_status() ) . '</mark>' ), $order ); -
/** * Filter the order item type -> group mapping. */ apply_filters( 'woocommerce_order_type_to_group', $this->item_types_to_group ); -
/** * This is used by the order edit page to show messages in the notice fields. * It should be similar to post_updated_messages filter, i.e.: array( * {order_type} => array( 1 => 'Order updated.', 2 => 'Custom field updated.', * ... ). */ apply_filters( 'woocommerce_order_updated_messages', array() ); -
/** * Filter to customize the count of orders that will be synchronized in each * step of the custom orders table to/from posts table synchronization process. */ apply_filters( 'woocommerce_orders_cot_and_posts_sync_step_size', $batch_size ); -
/** * Filters the rows that are going to be inserted or updated during an order * save. */ apply_filters( 'woocommerce_orders_table_datastore_db_rows_for_order', array_merge( $result, $ext_rows ), $order, $context ); -
/** * Allow third parties to include rows that need to be inserted/updated in * custom tables when persisting an order. */ apply_filters( 'woocommerce_orders_table_datastore_extra_db_rows_for_order', array(), $order, $context ); -
/** * Filter the query args before executing the query. */ apply_filters( 'woocommerce_orders_table_datastore_get_orders_query', $query_vars, $this ); -
/** * Allows code to skip a full order save() when metadata is changed. */ apply_filters( 'woocommerce_orders_table_datastore_should_save_after_meta_change', $should_save ); -
/** * Filters all query clauses at once. Covers the fields (SELECT), JOIN, WHERE, * GROUP BY, ORDER BY, and LIMIT clauses. */ apply_filters_ref_array( 'woocommerce_orders_table_query_clauses', array( $pieces, &$this, $this->args ) ); -
/** * Filters the count SQL query. */ apply_filters_ref_array( 'woocommerce_orders_table_query_count_sql', array( $this->count_sql, &$this, $this->args, $fields, $join, $where, $groupby ) ); -
/** * Filters the completed SQL query. */ apply_filters_ref_array( 'woocommerce_orders_table_query_sql', array( $this->sql, &$this, $this->args ) ); -
/** * Filters whether a query for multiple order statuses ordered by creation date * may be rewritten as a UNION ALL of single-status queries for performance. * The rewrite produces the same results and, even when enabled here, only * applies to queries generated purely from the 'type' and 'status' query args * (no search, meta or field filters), such as the default order admin list * screen query. */ apply_filters( 'woocommerce_orders_table_query_status_union_optimization', $enabled, $this->query ); -
/** * Filters how many minutes must pass before a shopper's own unpaid stock hold * stops blocking that same shopper. */ apply_filters( 'woocommerce_own_stock_hold_exclusion_threshold_minutes', false, $product_id, $exclude_order_id ); -
woocommerce_package_rates
filter/** * Filter the calculated shipping rates. */ apply_filters( 'woocommerce_package_rates', $package['rates'], $package ); -
woocommerce_pagination_args
filter/** * Filters the pagination arguments for the product loop. */ apply_filters( 'woocommerce_pagination_args', array( 'base' => $base, 'format' => $format, 'add_args' => false, 'current' => max( 1, $current ), 'total' => $total, 'prev_text' => is_rtl() ? '→' : '←', 'next_text' => is_rtl() ? '←' : '→', 'type' => 'list', 'end_size' => 3, 'mid_size' => 3, ) ); -
/** * Determines how long the window of time is for tracking unique download * attempts, in relation to partial (ranged) download requests. */ apply_filters( 'woocommerce_partial_download_tracking_window', 30 * MINUTE_IN_SECONDS, $download->get_id() ); -
/** * Triggered from within the checkout/form-pay.php template, immediately before * the payment section. */ do_action( 'woocommerce_pay_order_before_payment' ); -
/** * Allows the text of the submit button on the Pay for Order page to be * changed. */ apply_filters( 'woocommerce_pay_order_button_text', __( 'Pay for order', 'woocommerce' ) ); -
/** * Fires when a payment gateway has been enabled. */ do_action( 'woocommerce_payment_gateway_enabled', $gateway ); -
/** * Filters the payment gateway settings URL for the admin payment gateway * enabled email. */ apply_filters( 'woocommerce_payment_gateway_enabled_notification_settings_url', $this->gateway_settings_url, $gateway ); -
/** * Filter the saved payment method option. */ apply_filters( 'woocommerce_payment_gateway_get_new_payment_method_option_html', $html, $this ); -
/** * Filter the saved payment method label. */ apply_filters( 'woocommerce_payment_gateway_get_new_payment_method_option_html_label', $this->new_method_label ? $this->new_method_label : __( 'Use a new payment method', 'woocommerce' ), $this ); -
/** * Filter the saved payment method HTML. */ apply_filters( 'woocommerce_payment_gateway_get_saved_payment_method_option_html', $html, $token, $this ); -
/** * Filter the saved payment method checkbox HTML */ apply_filters( 'woocommerce_payment_gateway_save_new_payment_method_option_html', $html, $this ); -
/** * Filter the gateway supported features. */ apply_filters( 'woocommerce_payment_gateway_supports', in_array( $feature, $this->supports, true ), $feature, $this ); -
/** * Filter payment token class per type. */ apply_filters( 'woocommerce_payment_token_class', 'WC_Payment_Token_' . $type, $type ); -
/** * Filters whether account restriction notices should be enabled. */ apply_filters( 'woocommerce_paypal_account_restriction_notices_enabled', true ); -
/** * Fires after receiving a response from PayPal order creation. */ do_action( 'woocommerce_paypal_standard_order_created_response', $http_code, $response_array, $order ); -
woocommerce_placeholder_img
filter/** * Filters the placeholder image HTML. */ apply_filters( 'woocommerce_placeholder_img', $image_html, $size, $dimensions, $attr ); -
/** * Action triggered when a plugin activation fails. */ do_action( 'woocommerce_plugins_activate_error', $slug, $result ); -
/** * Filter to determine if plugins that don't declare compatibility nor * incompatibility with a given feature are to be considered incompatible with * that feature. */ apply_filters( 'woocommerce_plugins_are_incompatible_with_feature_by_default', FeaturePluginCompatibility::INCOMPATIBLE === $default_plugin_compatibility, $feature_id ); -
/** * Action triggered after a plugin is installed. */ do_action( 'woocommerce_plugins_install_after', $slug, $source ); -
/** * Action triggered when a plugin API call failed. */ do_action( 'woocommerce_plugins_install_api_error', $slug, $api ); -
/** * Action triggered before a plugin is installed. */ do_action( 'woocommerce_plugins_install_before', $slug, $source ); -
/** * Action triggered when a plugin installation fails. */ do_action( 'woocommerce_plugins_install_error', $slug, $api, $result, $upgrader ); -
/** * Filter mapped catalog product data. */ apply_filters( 'woocommerce_pos_catalog_map_product', $row, $product ); -
woocommerce_post_class
filter/** * WooCommerce Post Class filter. */ apply_filters( 'woocommerce_post_class', $classes, $product ); -
/** * Filters whether an object deletion should take place. Equivalent to * `pre_delete_post`. */ apply_filters( "woocommerce_pre_delete_{$this->object_type}", null, $this, $force_delete ); -
/** * Allow 3rd parties to validate this item before it's added to cart and add * their own notices. */ apply_filters( 'woocommerce_pre_remove_cart_item_from_session', false, $key, $values, $product ); -
/** * Allow to modify the email object before rendering the preview to add * additional data. */ apply_filters( 'woocommerce_prepare_email_for_preview', $this->email ); -
/** * Prevent adjust line item product stock. */ apply_filters( 'woocommerce_prevent_adjust_line_item_product_stock', false, $item, $item_quantity ); -
/** * Filter to prevent admin access. */ apply_filters( 'woocommerce_prevent_admin_access', $prevent_access ); -
/** * Filter to customize the CSS styles used to render the receipt. */ apply_filters( 'woocommerce_printable_order_receipt_css', $css, $order ); -
/** * Filter to customize the set of data that is used to render the receipt. The * formatted line items aren't included, use the * woocommerce_printable_order_receipt_formatted_line_item filter to customize * those. */ apply_filters( 'woocommerce_printable_order_receipt_data', $this->get_order_data( $order ), $order ); -
/** * Filter to customize the HTML that gets rendered for each order line item in * the receipt. */ apply_filters( 'woocommerce_printable_order_receipt_line_item_display_data', $line_item_display_data, $line_item_data, $order ); -
/** * Allow extensions to remove their own personal data for this order first, so * order data is still available. */ do_action( 'woocommerce_privacy_before_remove_order_personal_data', $order ); -
/** * Action: woocommerce_privacy_before_remove_stock_notification_personal_data */ do_action( 'woocommerce_privacy_before_remove_stock_notification_personal_data', $notification->get_id(), $notification->get_user_email(), $notification ); -
/** * Allow extensions to remove data for this customer and adjust the response. */ apply_filters( 'woocommerce_privacy_erase_personal_data_customer', $response, $customer ); -
/** * Allow extensions to remove data for tokens and adjust the response. */ apply_filters( 'woocommerce_privacy_erase_personal_data_tokens', $response, $tokens ); -
/** * Allow extensions to register their own personal data for this customer for * the export. */ apply_filters( 'woocommerce_privacy_export_customer_personal_data', $personal_data, $customer ); -
/** * Allow extensions to register their own personal data for this download for * the export. */ apply_filters( 'woocommerce_privacy_export_download_personal_data', $personal_data, $download ); -
/** * Allow extensions to register their own personal data for this order for the * export. */ apply_filters( 'woocommerce_privacy_export_order_personal_data', $personal_data, $order ); -
/** * Allow extensions to remove their own personal data for this order. */ do_action( 'woocommerce_privacy_remove_order_personal_data', $order ); -
/** * Expose a way to control the anonymized value of a value via 3rd party code. */ apply_filters( 'woocommerce_privacy_remove_order_personal_data_meta_value', $anon_value, $meta_key, $value, $data_type, $order ); -
/** * Expose a way to control the anonymized value of a prop via 3rd party code. */ apply_filters( 'woocommerce_privacy_remove_order_personal_data_prop_value', $anon_value, $prop, $value, $data_type, $order ); -
/** * Expose props and data types we'll be anonymizing. */ apply_filters( 'woocommerce_privacy_remove_order_personal_data_props', array( 'customer_ip_address' => 'ip', 'customer_user_agent' => 'text', 'billing_first_name' => 'text', 'billing_last_name' => 'text', 'billing_company' => 'text', 'billing_address_1' => 'text', 'billing_address_2' => 'text', 'billing_city' => 'text', 'billing_postcode' => 'text', 'billing_state' => 'address_state', 'billing_country' => 'address_country', 'billing_phone' => 'phone', 'billing_ema... ); -
/** * Save meta for product. */ do_action( "woocommerce_process_{$post->post_type}_meta", $post_id, $post ); -
/** * Filter product add to cart success message. */ apply_filters( 'woocommerce_product_add_to_cart_success_message', $text, $this ); -
/** * Allow 3rd parties to control whether "Allow backorder?" option will use * radio buttons or a select. */ apply_filters( 'woocommerce_product_allow_backorder_use_radio', true ); -
/** * Filter the selected attribute term name. */ apply_filters( 'woocommerce_product_attribute_term_name', $selected_term->name, $selected_term ); -
/** * Filter the product attribute term arguments used for search. */ apply_filters( 'woocommerce_product_attribute_terms', $args ); -
/** * Fires after WooCommerce product attributes have been updated. */ do_action( 'woocommerce_product_attributes_updated', $product, $force ); -
/** * Filter the brands threshold count. */ apply_filters( 'woocommerce_product_brand_filter_threshold', 100 ); -
/** * Filter the brand output in product meta. */ apply_filters( 'woocommerce_product_brands_output', $brand_output, $terms, $post->ID ); -
/** * Filters the category metabox search threshold, for when to render the * typeahead field. */ apply_filters( 'woocommerce_product_category_metabox_search_threshold', 5 ); -
woocommerce_product_class
filter/** * Filter the product class name. */ apply_filters( 'woocommerce_product_class', self::get_classname_from_product_type( $product_type ), $product_type, ProductType::VARIATION === $product_type ? 'product_variation' : 'product', $product_id ); -
/** * Filter the blocks that are hooked into the Product Details block. */ apply_filters( 'woocommerce_product_details_hooked_blocks', [] ); -
/** * Filter to customize how an empty Cost of Goods Sold value for a product gets * rendered to HTML. */ apply_filters( 'woocommerce_product_empty_cogs_html', '', $this ); -
/** * Filter the query args for the product export. */ apply_filters( "woocommerce_product_export_{$this->export_type}_query_args", $args ); -
/** * Allow third-party plugins to filter the data in a single row of the exported * CSV file. */ apply_filters( 'woocommerce_product_export_row_data', $row, $product, $this ); -
/** * Allows the base arguments for querying products for product feeds to be * changed. */ apply_filters( 'woocommerce_product_feed_args', $query_args, $integration ); -
/** * Filters the number of products fetched per database query during feed * generation. */ apply_filters( 'woocommerce_product_feed_batch_size', self::BATCH_SIZE ); -
/** * Filters the per-batch PHP execution time limit (in seconds) for product feed * generation. */ apply_filters( 'woocommerce_product_feed_batch_time_limit', 5 * MINUTE_IN_SECONDS ); -
/** * Filters the number of products processed per chunk during feed generation. */ apply_filters( 'woocommerce_product_feed_chunk_size', $this->get_effective_chunk_size( $option_key ) ); -
/** * Allows the heartbeat timeout for an `in_progress` feed to be changed. Past * this point the job is treated as stuck and regenerated. */ apply_filters( 'woocommerce_product_feed_in_progress_timeout', max( 15 * MINUTE_IN_SECONDS, 3 * $this->get_batch_time_limit() ) ); -
/** * Allows the timeout for a feed to remain in `scheduled` state to be changed. * Past this point Action Scheduler is typically stuck and the job is * regenerated. */ apply_filters( 'woocommerce_product_feed_scheduled_timeout', 10 * MINUTE_IN_SECONDS ); -
/** * Allows the current time to be overridden before a feed is stored. */ apply_filters( 'woocommerce_product_feed_time', time(), $this ); -
/** * Maximum number of cache entries (not unique filter combos). */ apply_filters( 'woocommerce_product_filter_cache_max_entries', 1000 ); -
/** * Filters the complete Product Filters URL parameter map. Only changes to the * `taxonomy` entry are currently applied. That entry maps taxonomy names to * URL parameter names, e.g. `product_cat` => `categories`. Rename with a * non-empty, unused parameter name; omitted or invalid entries keep their * defaults. Register callbacks before Params is first read; the map is cached * per request. */ apply_filters( 'woocommerce_product_filter_params', $params ); -
woocommerce_product_filters
filter/** * Filters the rendered markup for the products list table filter controls. */ apply_filters( 'woocommerce_product_filters', $output ); -
/** * Filter to customize how the Cost of Goods Sold value for a product gets * rendered to HTML. */ apply_filters( 'woocommerce_product_get_cogs_html', $html, $value, $this ); -
/** * Filters the loading attribute for product images. */ apply_filters( 'woocommerce_product_image_loading_attr', 'lazy', $target_image_id ); -
/** * Batch size for the product import process. */ apply_filters( 'woocommerce_product_import_batch_size', 30 ); -
/** * Filters whether a new variation should be created for an existing variable * product when updating existing products. */ apply_filters( 'woocommerce_product_import_create_variation_of_existing_product', true, $parsed_data ); -
/** * Filters whether a product is in stock. */ apply_filters( 'woocommerce_product_is_in_stock', ProductStockStatus::OUT_OF_STOCK !== $this->get_stock_status(), $this ); -
/** * Filters whether a product is taxable. */ apply_filters( 'woocommerce_product_is_taxable', $this->get_tax_status() === ProductTaxStatus::TAXABLE && wc_tax_enabled(), $this ); -
/** * Filters the ordering mode for product categories in the single product meta. */ apply_filters( 'woocommerce_product_meta_category_orderby', 'breadcrumb', $product ); -
/** * Filter whether a product supports trashing in WooCommerce domain abilities. */ apply_filters( 'woocommerce_product_object_trashable', EMPTY_TRASH_DAYS > 0, $product ); -
/** * Action fires when an item in an order is backordered. */ do_action( 'woocommerce_product_on_backorder', array( 'product' => wc_get_product( $change['product']->get_id() ), 'order_id' => $order->get_id(), 'quantity' => abs( $change['from'] - $change['to'] ), ) ); -
/** * Hook to display custom attribute terms. */ do_action( 'woocommerce_product_option_terms', $attribute_taxonomy, $i, $attribute ); -
/** * Action that allows to render additional fields for price related settings in * the product editor. */ do_action( 'woocommerce_product_options_pricing' ); -
/** * Fires after products have been repositioned during product ordering. */ do_action( 'woocommerce_product_ordering_process_moved_products', $product_id, $modifications->moved ); -
/** * Fires after a full catalog reindex was triggered during product ordering. */ do_action( 'woocommerce_product_ordering_process_reindexed_products', $product_id, $modifications->reindexed ); -
/** * Filter whether to use only the top-level parent category in the product * permalink. */ apply_filters( 'woocommerce_product_post_type_link_parent_category_only', false ); -
/** * Fires when a product or product variation transitions to published status. */ do_action( 'woocommerce_product_published', $post->ID ); -
woocommerce_product_read
action/** * Fires when a product is read into memory. */ do_action( 'woocommerce_product_read', $product->get_id(), $product ); -
/** * Filter product download after initialization. */ apply_filters( 'woocommerce_product_read_download', $download, $meta_value, $product ); -
/** * Filter to allow/prevent recounting of terms as it could be expensive. A * likely scenario for this is when bulk importing products. We could then * prevent it from recounting per product but instead recount it once when * import is done. Of course this means the import logic has to support this. */ apply_filters( 'woocommerce_product_recount_terms', true ); -
/** * Filters whether the object is a review or a reply to a review. */ apply_filters( 'woocommerce_product_reviews_is_product_review_or_reply', $is_review_or_reply, $object ); -
/** * Filters the contents of the product reviews list table output. */ apply_filters( 'woocommerce_product_reviews_list_table', ob_get_clean(), $this->reviews_list_table ); -
/** * Sets the possible options used in the Product Reviews List Table's * filter-by-review-type selector. */ apply_filters( 'woocommerce_product_reviews_list_table_item_types', array( 'all' => __( 'All types', 'woocommerce' ), 'comment' => __( 'Replies', 'woocommerce' ), 'review' => __( 'Reviews', 'woocommerce' ), ) ); -
/** * Provides an opportunity to alter the comment query arguments used within the * product reviews admin list table. */ apply_filters( 'woocommerce_product_reviews_list_table_prepare_items_args', $args ); -
/** * Filters whether the current user can manage product reviews. */ apply_filters( 'woocommerce_product_reviews_page_capability', 'view' === $context ? 'moderate_comments' : 'edit_products', $context ); -
/** * Provides an opportunity to alter the pending comment count used within the * product reviews admin list table. */ apply_filters( 'woocommerce_product_reviews_pending_count', $count ); -
/** * Fires when the default column output is displayed for a single row. */ do_action( "woocommerce_product_reviews_table_column_{$column_name}", $item ); -
/** * Filters the output of a column. */ apply_filters( "woocommerce_product_reviews_table_column_{$column_name}_content", $output, $item ); -
/** * Filters the table columns. */ apply_filters( 'woocommerce_product_reviews_table_columns', $columns ); -
/** * Action to signal that the `stock_status` for a product has changed. */ do_action( 'woocommerce_product_set_stock_status', $product->get_id(), $product->get_stock_status(), $product ); -
/** * Filters product default stock amount. */ apply_filters( 'woocommerce_product_stock_default_amount', 1 ); -
/** * Allow 3rd parties to control whether the "Stock status" option will use * radio buttons or a select. */ apply_filters( 'woocommerce_product_stock_status_use_radio', $stock_status_count <= 3 && $stock_status_count >= 1 ); -
/** * Filters the arguments used to retrieve product subcategories. */ apply_filters( 'woocommerce_product_subcategories_args', array( 'parent' => $parent_id, 'hide_empty' => 0, 'hierarchical' => 1, 'taxonomy' => 'product_cat', 'pad_counts' => 1, ) ); -
/** * Filters the generated variation product title. */ apply_filters( 'woocommerce_product_variation_title', $title_suffix ? $title_base . $separator . $title_suffix : $title_base, $product, $title_base, $title_suffix ); -
/** * Filters whether variation product titles should include attributes. */ apply_filters( 'woocommerce_product_variation_title_include_attributes', $should_include_attributes, $product ); -
/** * Filters the query arguments the Products widget uses to fetch its products. */ apply_filters( 'woocommerce_products_widget_query_args', $query_args ); -
/** * Filters whether push notification step logging is enabled. */ apply_filters( 'woocommerce_push_notification_step_logging_enabled', true ); -
/** * Filter whether to send the QR sign-in notification email. */ apply_filters( 'woocommerce_qr_login_should_send_signin_email', true, $user, $consumed_record ); -
/** * Filters all quantity input args. */ apply_filters( 'woocommerce_quantity_input_args', wp_parse_args( $args, $defaults ), $product ); -
/** * Controls the quantity input's type attribute. */ apply_filters( 'woocommerce_quantity_input_type', $type ); -
/** * Filter: woocommerce_query_for_reserved_stock Allows to filter the query for * getting reserved stock of a product. */ apply_filters( 'woocommerce_query_for_reserved_stock', $query, $product_id, $exclude_order_id ); -
woocommerce_queued_js
filter/** * Queued jsfilter. */ apply_filters( 'woocommerce_queued_js', $js ); -
woocommerce_recorded_sales
action/** * Called when sales for an order are recorded */ do_action( 'woocommerce_recorded_sales', $order_id ); -
/** * Filter the URL used to redirect after an order is updated. Similar to the WP * post's `redirect_post_location` filter. */ apply_filters( 'woocommerce_redirect_order_location', $redirect_to, $order->get_id(), $order ); -
/** * Fires when stock reduced to a specific line item */ do_action( 'woocommerce_reduce_order_item_stock', $item, $change, $order ); -
/** * Allow the restock note to be modified. */ apply_filters( 'woocommerce_refund_restock_note', $restock_note, $old_stock, $new_stock, $order, $product ); -
/** * Filters the threshold for synchronous regeneration of variation attribute * summaries. If the number of variations affected by an update is below this * threshold, the summaries are regenerated synchronously. Otherwise, the * regeneration is scheduled asynchronously. */ apply_filters( 'woocommerce_regenerate_variation_summaries_sync_threshold', 50 ); -
/** * The action for registering features. */ do_action( 'woocommerce_register_feature_definitions', $this ); -
/** * Filter the list of log handler class instances that will run whenever a log * entry is added. */ apply_filters( 'woocommerce_register_log_handlers', array( $handler_instance ) ); -
woocommerce_register_post
action/** * Fires before a customer account is registered. */ do_action( 'woocommerce_register_post', $username, $email, $errors ); -
/** * Filter the notice shown when a customer tries to register with an existing * email address. */ apply_filters( 'woocommerce_registration_error_email_exists', __( 'An account is already registered with your email address. <a href="#" class="showlogin">Please log in.</a>', 'woocommerce' ), $data['billing_email'] ); -
/** * Filters registration errors before a customer account is registered. */ apply_filters( 'woocommerce_registration_errors', $errors, $username, $email ); -
/** * Filters the formatted log data before sending it to the remote logging * service. Returning a non-array value will prevent the log from being sent. */ apply_filters( 'woocommerce_remote_logger_formatted_log_data', $log_data, $level, $message, $context ); -
/** * Filter to allow other plugins to whitelist request_uri query parameter * values for unmasked remote logging. */ apply_filters( 'woocommerce_remote_logger_request_uri_whitelist', $default_whitelist ); -
/** * Filter the sanitized log content before it's sent to the remote logging * service. */ apply_filters( 'woocommerce_remote_logger_sanitized_content', $sanitized, $content ); -
/** * Filter to allow other plugins to overwrite the result of the third-party * error check for remote logging. */ apply_filters( 'woocommerce_remote_logging_is_third_party_error', true, $message, $context ); -
/** * Trigger action before removing all order line items. Allows you to track * order items. */ do_action( 'woocommerce_remove_order_items', $this, $type ); -
/** * Filter to add or remove column names from the categories report for export. */ apply_filters( 'woocommerce_report_categories_export_columns', $export_columns ); -
/** * Filter to prepare extra columns in the export item for the categories * export. */ apply_filters( 'woocommerce_report_categories_prepare_export_item', $export_item, $item ); -
/** * Filter to add or remove column names from the coupons report for export. */ apply_filters( 'woocommerce_report_coupons_export_columns', $export_columns ); -
/** * Filter to prepare extra columns in the export item for the coupons report. */ apply_filters( 'woocommerce_report_coupons_prepare_export_item', $export_item, $item ); -
/** * Filter to add or remove column names from the customers report for export. */ apply_filters( 'woocommerce_report_customers_export_columns', $export_columns ); -
/** * Filter the column values of an item being exported. */ apply_filters( 'woocommerce_report_customers_prepare_export_item', $export_item, $item ); -
/** * Filter to prepare extra columns in the export item for the downloads report. */ apply_filters( 'woocommerce_report_downloads_prepare_export_item', $export_item, $item ); -
/** * Used to customise report email labels. */ apply_filters( 'woocommerce_report_export_email_labels', array( 'categories' => __( 'Categories', 'woocommerce' ), 'coupons' => __( 'Coupons', 'woocommerce' ), 'customers' => __( 'Customers', 'woocommerce' ), 'downloads' => __( 'Downloads', 'woocommerce' ), 'orders' => __( 'Orders', 'woocommerce' ), 'products' => __( 'Products', 'woocommerce' ), 'revenue' => __( 'Revenue', 'woocommerce' ), 'stock' => __( 'Stock', 'woocommerce' ), 'taxes' => __( 'Taxe... ); -
/** * Filter to add or remove column names from the orders report for export. */ apply_filters( 'woocommerce_report_orders_export_columns', $export_columns ); -
/** * Filter to prepare extra columns in the export item for the orders report. */ apply_filters( 'woocommerce_report_orders_prepare_export_item', $export_item, $item ); -
/** * Filter to add or remove column names from the products report for export. */ apply_filters( 'woocommerce_report_products_export_columns', $export_columns ); -
/** * Filter to prepare extra columns in the export item for the products report. */ apply_filters( 'woocommerce_report_products_prepare_export_item', $export_item, $item ); -
/** * Filters the from-clause used for fetching latest product reviews. */ apply_filters( 'woocommerce_report_recent_reviews_query_from', "FROM {$wpdb->comments} comments LEFT JOIN {$wpdb->posts} posts ON (comments.comment_post_ID = posts.ID) WHERE comments.comment_approved = '1' AND comments.comment_type = 'review' AND posts.post_password = '' AND posts.post_type = 'product' AND comments.comment_parent = 0 ORDER BY comments.comment_date_gmt DESC LIMIT 5" ); -
/** * Filter to add or remove column names from the revenue stats report for * export. */ apply_filters( 'woocommerce_report_revenue_stats_export_columns', $export_columns ); -
/** * Filter to prepare extra columns in the export item for the revenue stats * report. */ apply_filters( 'woocommerce_report_revenue_stats_prepare_export_item', $export_item, $item ); -
/** * Filter to add or remove column names from the stock report for export. */ apply_filters( 'woocommerce_report_stock_export_columns', $export_columns ); -
/** * Filter to prepare extra columns in the export item for the stock report. */ apply_filters( 'woocommerce_report_stock_prepare_export_item', $export_item, $item ); -
/** * Filter to add or remove column names from the taxes report for export. */ apply_filters( 'woocommerce_report_taxes_export_columns', $export_columns ); -
/** * Filter to prepare extra columns in the export item for the taxes report. */ apply_filters( 'woocommerce_report_taxes_prepare_export_item', $export_item, $item ); -
/** * Filter to add or remove column names from the variations report for export. */ apply_filters( 'woocommerce_report_variations_export_columns', $export_columns ); -
/** * Filter to prepare extra columns in the export item for the variations * report. */ apply_filters( 'woocommerce_report_variations_prepare_export_item', $export_item, $item ); -
/** * Filters how long a reports cache value is kept, in seconds. */ apply_filters( 'woocommerce_reports_cache_expiration', WEEK_IN_SECONDS, $key ); -
/** * Filters the legacy order report SQL clauses before they are combined into a * SQL string. */ apply_filters( 'woocommerce_reports_get_order_report_query', $query ); -
/** * Filters the reset variation button. */ apply_filters( 'woocommerce_reset_variations_link', '<a class="reset_variations" href="#" aria-label="' . esc_attr__( 'Clear options', 'woocommerce' ) . '">' . esc_html__( 'Clear', 'woocommerce' ) . '</a>' ); -
/** * Filter the query arguments, before passing them to `get_terms()`. */ apply_filters( "woocommerce_rest_{$taxonomy}_query", $prepared_args, $request ); -
/** * Filter the query arguments for a request. */ apply_filters( "woocommerce_rest_{$this->post_type}_object_query", $args, $request ); -
/** * Filter the query arguments for a request. */ apply_filters( "woocommerce_rest_{$this->post_type}_query", $args, $request ); -
/** * Filter the directories allowed for file-based REST API response caching. */ apply_filters( 'woocommerce_rest_api_cache_allowed_file_directories', $allowed_directories, $this ); -
/** * Filter the TTL for suppressing duplicate file tracking warnings. */ apply_filters( 'woocommerce_rest_api_cache_file_warning_suppression_ttl', self::$file_warning_suppression_ttl, $file_path, $reason ); -
/** * Filter the file data used for REST API response cache invalidation. */ apply_filters( 'woocommerce_rest_api_cache_files_hash_data', $files_data, $file_paths, $this ); -
/** * Filter the data used to generate the hooks hash for REST API response * caching. */ apply_filters( 'woocommerce_rest_api_cache_hooks_hash_data', $cache_hash_data, $hook_names, $this ); -
/** * Filter the information used to generate the cache key for a REST API * request. */ apply_filters( 'woocommerce_rest_api_cache_key_info', $cache_key_parts, $request, $vary_by_user, $endpoint_id, $this ); -
/** * Filter REST API cache settings. */ apply_filters( 'woocommerce_rest_api_cache_settings', $settings ); -
/** * Filter the version strings data used for REST API response cache * invalidation. */ apply_filters( 'woocommerce_rest_api_cache_version_strings_hash_data', $version_data, $version_string_ids, $this ); -
/** * Filter the list of response header names to cache. */ apply_filters( 'woocommerce_rest_api_cached_headers', $cached_header_names, $all_header_names, $request, $response, $endpoint_id, $this ); -
/** * Filter whether to enable response caching for a given REST API controller. */ apply_filters( 'woocommerce_rest_api_enable_response_caching', $should_cache, $this, $request ); -
/** * Filter the list of REST API controllers to load. */ apply_filters( 'woocommerce_rest_api_get_rest_namespaces', $namespaces ); -
/** * Filter the 304 Not Modified response before sending. */ apply_filters( 'woocommerce_rest_api_not_modified_response', $response, $request, $endpoint_id ); -
/** * Process payment with context. */ do_action_ref_array( 'woocommerce_rest_checkout_process_payment_with_context', [ $context, &$payment_result ] ); -
/** * Fires after a single term is deleted via the REST API. */ do_action( "woocommerce_rest_delete_{$taxonomy}", $term, $response, $request ); -
/** * Fires after a customer is deleted via the REST API. */ do_action( 'woocommerce_rest_delete_customer', $user_data, $response, $request ); -
/** * Fires after a order note is deleted or trashed via the REST API. */ do_action( 'woocommerce_rest_delete_order_note', $note, $response, $request ); -
/** * Fires after a single attribute is deleted via the REST API. */ do_action( 'woocommerce_rest_delete_product_attribute', $attribute, $response, $request ); -
/** * Fires after a review is deleted via the REST API. */ do_action( 'woocommerce_rest_delete_review', $review, $response, $request ); -
/** * Fires after a single item is deleted or trashed via the REST API. */ do_action( 'woocommerce_rest_delete_webhook_object', $webhook, $response, $request ); -
/** * Fires after a WooCommerce REST system status tool has been executed. */ do_action( 'woocommerce_rest_insert_system_status_tool', $tool, $request ); -
/** * Fires after a tax class is created or updated via the REST API. */ do_action( 'woocommerce_rest_insert_tax_class', (object) $tax_class, $request, true ); -
/** * Filters whether the current request is a request to the WooCommerce REST * API. */ apply_filters( 'woocommerce_rest_is_request_to_rest_api', $is_wc_route ); -
/** * Filter the query arguments for a request. */ apply_filters( 'woocommerce_rest_notes_object_query', $args, $request ); -
/** * Filter the list returned from the API. */ apply_filters( 'woocommerce_rest_onboarding_prepare_profile', $response, $item, $request ); -
/** * Filters the Onboarding Profile REST API collection parameters. */ apply_filters( 'woocommerce_rest_onboarding_profile_collection_params', $params ); -
/** * Filter the query arguments for a request. */ apply_filters( 'woocommerce_rest_onboarding_profile_object_query', $args, $params ); -
/** * Filters the Onboarding Profile REST API JSON Schema. */ apply_filters( 'woocommerce_rest_onboarding_profile_properties', $properties ); -
/** * Filter the preferred template IDs for auto-selecting an email template. */ apply_filters( 'woocommerce_rest_order_actions_email_preferred_template_ids', $default_preferred_ids, $order, array_map( fn( $t ) => $t->id, $available_templates ) ); -
/** * Action to trigger sending a custom order email template from a REST API * request. */ do_action( 'woocommerce_rest_order_actions_email_send', $order->get_id(), $template_id ); -
/** * Filter the list of valid email templates for a given order. */ apply_filters( 'woocommerce_rest_order_actions_email_valid_template_classes', $valid_template_classes, $order ); -
/** * Filter the query arguments for a request. */ apply_filters( 'woocommerce_rest_orders_prepare_object_query', $args, $request ); -
/** * Filters a review before it is inserted via the REST API. */ apply_filters( 'woocommerce_rest_pre_insert_product_review', $prepared_review, $request ); -
/** * Filter the location list returned from the API. */ apply_filters( 'woocommerce_rest_prepare_data_continent', $response, $item, $request ); -
/** * Filter the states list for a country returned from the API. */ apply_filters( 'woocommerce_rest_prepare_data_country', $response, $item, $request ); -
/** * Filter currency returned from the API. */ apply_filters( 'woocommerce_rest_prepare_data_currency', $response, $item, $request ); -
/** * Filter the list returned from the API. */ apply_filters( 'woocommerce_rest_prepare_data_download_ip', $response, $item, $request ); -
/** * Filters the shipping providers response before it is returned. */ apply_filters( 'woocommerce_rest_prepare_fulfillments_providers', $providers, $request ); -
/** * Filter the list returned from the API. */ apply_filters( 'woocommerce_rest_prepare_leaderboard', $response, $item, $request ); -
/** * Filter a note returned from the API. */ apply_filters( 'woocommerce_rest_prepare_note', $response, $data, $request ); -
/** * Filters the refund preview response before it is returned, following the * `woocommerce_rest_prepare_*` family contract. The preview is advisory: the * create path re-validates independently, so filtered values cannot bypass the * creation guards. */ apply_filters( 'woocommerce_rest_prepare_order_refund_preview', $response, $order, $request ); -
/** * Filter a attribute item returned from the API. */ apply_filters( 'woocommerce_rest_prepare_product_attribute', $response, $item, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_categories', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_coupons', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_coupons_count', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_coupons_stats', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_customers', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_customers_count', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_customers_stats', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_downloads', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_downloads_stats', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_orders', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_orders_count', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_orders_stats', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_performance_indicators', $response, $stat_data, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_products', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_products_count', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_products_stats', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_revenue_stats', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_reviews_count', $response, $report, $request ); -
/** * Filter a report sales returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_sales', $response, (object) $sales_data, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_stock', $response, $product, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_stock_stats', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_taxes', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_taxes_stats', $response, $report, $request ); -
/** * Filter a report top sellers returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_top_sellers', $response, $top_seller, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_variations', $response, $report, $request ); -
/** * Filter a report returned from the API. */ apply_filters( 'woocommerce_rest_prepare_report_variations_stats', $response, $report, $request ); -
/** * Filter the list returned from the API. */ apply_filters( 'woocommerce_rest_prepare_reports_import', $response, $item, $request ); -
/** * Filter shipping methods object returned from the REST API. */ apply_filters( 'woocommerce_rest_prepare_shipping_method', $response, $method, $request ); -
/** * Filter shipping zone objects returned from the REST API. */ apply_filters( 'woocommerce_rest_prepare_shipping_zone', $response, $item, $request ); -
/** * Filter the system status returned from the REST API. */ apply_filters( 'woocommerce_rest_prepare_system_status', $response, $system_status, $request ); -
/** * Filter the list returned from the API. */ apply_filters( 'woocommerce_rest_prepare_themes', $response, $item, $request ); -
/** * Filters a review after it is prepared for the database. */ apply_filters( 'woocommerce_rest_preprocess_product_review', $prepared_review, $request ); -
/** * Filter the allowed 'private' query vars for authorized users. */ apply_filters( 'woocommerce_rest_private_query_vars', $wp->private_query_vars ); -
/** * Filter collection parameters for the reviews controller. */ apply_filters( 'woocommerce_rest_product_review_collection_params', $params ); -
/** * Filters arguments, before passing to WP_Comment_Query, when querying reviews * via the REST API. */ apply_filters( 'woocommerce_rest_product_review_query', $prepared_args, $request ); -
/** * Filters whether a review can be trashed. */ apply_filters( 'woocommerce_rest_product_review_trashable', ( EMPTY_TRASH_DAYS > 0 ), $review ); -
/** * Filter the query_vars used in `get_items` for the constructed query. */ apply_filters( "woocommerce_rest_query_var-{$var}", $prepared_args[ $var ] ); -
woocommerce_rest_query_vars
filter/** * Filter allowed query vars for the REST API. */ apply_filters( 'woocommerce_rest_query_vars', $valid_vars ); -
/** * Filter the query arguments for a request. */ apply_filters( 'woocommerce_rest_refunds_prepare_object_query', $args, $request ); -
/** * Custom ordering for store performance indicators. */ apply_filters( 'woocommerce_rest_report_sort_performance_indicators', array( 'revenue/total_sales', 'revenue/net_revenue', 'orders/orders_count', 'orders/avg_order_value', 'products/items_sold', 'revenue/refunds', 'coupons/orders_count', 'coupons/amount', 'taxes/total_tax', 'taxes/order_tax', 'taxes/shipping_tax', 'revenue/shipping', 'downloads/download_count', ) ); -
/** * Filter whether to lazy load the namespace. When set to false, the namespace * will be loaded immediately during initialization. */ apply_filters( 'woocommerce_rest_should_lazy_load_namespace', true, $route_namespace ); -
/** * Filter arguments, before passing to WC_Webhook_Data_Store->search_webhooks, * when querying webhooks via the REST API. */ apply_filters( 'woocommerce_rest_webhook_query', $args, $request ); -
/** * Fires when stock restored to a specific line item */ do_action( 'woocommerce_restore_order_item_stock', $item, $new_stock, $old_stock, $order ); -
/** * Filters the session data when restoring from storage during initialization. */ apply_filters( 'woocommerce_restored_session_data', $session_data ); -
woocommerce_resume_order
action/** * Indicates that we are resuming checkout for an existing order (which is * pending payment, and which has not changed since it was added to the current * shopping session). */ do_action( 'woocommerce_resume_order', $order_id ); -
/** * Allows to check if WP_DEBUG mode is enabled before returning previous * Exception. */ apply_filters( 'woocommerce_return_previous_exceptions', Constants::is_true( 'WP_DEBUG' ) ); -
/** * Filter "Return To Shop" text. */ apply_filters( 'woocommerce_return_to_shop_text', __( 'Return to shop', 'woocommerce' ) ); -
woocommerce_review_before
action/** * The woocommerce_review_before hook */ do_action( 'woocommerce_review_before', $comment ); -
/** * The woocommerce_review_before_comment_meta hook. */ do_action( 'woocommerce_review_before_comment_meta', $comment ); -
/** * The woocommerce_review_comment_text hook */ do_action( 'woocommerce_review_comment_text', $comment ); -
woocommerce_review_meta
action/** * The woocommerce_review_meta hook. */ do_action( 'woocommerce_review_meta', $comment ); -
/** * Fires after the rating + textarea inside a Review Order form row, as a * sibling of the row's columns so injected fields render below them. */ do_action( 'woocommerce_review_order_form_fields', $item, $product, $order, $row_index ); -
/** * Filter the labels shown under the star-rating control. */ apply_filters( 'woocommerce_review_order_rating_labels', $labels ); -
/** * Fires after the Review Order form has been processed. */ do_action( 'woocommerce_review_order_submitted', $order, $results ); -
woocommerce_review_order_url
filter/** * Filter the Review Order URL that the review-request email links to. */ apply_filters( 'woocommerce_review_order_url', $url, $order ); -
/** * Filter the review-request email delay, in seconds. */ apply_filters( 'woocommerce_review_request_delay_seconds', $delay_days * DAY_IN_SECONDS ); -
woocommerce_reviews_title
filter/** * Filters the heading shown above the product review list. */ apply_filters( 'woocommerce_reviews_title', $reviews_title, $count, $product ); -
/** * Allow custom sanitization of an additional field. */ apply_filters( 'woocommerce_sanitize_additional_field', $field_value, $field_key ); -
/** * Hook: woocommerce_save_account_details. */ do_action( 'woocommerce_save_account_details', $user->ID ); -
/** * Filter to customize the Cost of Goods Sold value that gets saved for a given * order item, or to suppress the saving of the value (so that custom storage * can be used). */ apply_filters( 'woocommerce_save_order_item_cogs_value', $cogs_value, $item ); -
/** * Filter to customize the "Cost of Goods Sold value is additive" flag that * gets saved for a given variable product, or to suppress the saving of the * flag (so that custom storage can be used) if null is returned. Note that * returning null will suppress any database access (for either saving the flag * or deleting it). */ apply_filters( 'woocommerce_save_product_cogs_is_additive_flag', $cogs_value_is_additive, $product ); -
/** * Filter to customize the Cost of Goods Sold value that gets saved for a given * product, or to suppress the saving of the value (so that custom storage can * be used). */ apply_filters( 'woocommerce_save_product_cogs_value', $cogs_value, $product ); -
/** * Filters whether the posted data for a settings tab should be saved. */ apply_filters( "woocommerce_save_settings_{$current_tab}", ! empty( $_POST['save'] ) ); -
/** * Filters whether the posted data for a settings section should be saved. */ apply_filters( "woocommerce_save_settings_{$current_tab}_{$current_section}", ! empty( $_POST['save'] ) ); -
/** * Fires after schedueld deletion of auto-draft orders has been completed. */ do_action( 'woocommerce_scheduled_auto_draft_delete' ); -
/** * Hook woocommerce_search_products_post_statuses. */ apply_filters( 'woocommerce_search_products_post_statuses', current_user_can( 'read_private_products' ) ? array( 'private', 'publish' ) : array( 'publish' ) ); -
/** * Allow reacting for saving an additional field value. */ do_action( 'woocommerce_set_additional_field_value', $key, $value, $group, $wc_object ); -
/** * Controls whether the cookie should be set via wc_setcookie(). */ apply_filters( 'woocommerce_set_cookie_enabled', true, $name, $value, $expire, $secure ); -
/** * Controls the options to be specified when setting the cookie. */ apply_filters( 'woocommerce_set_cookie_options', array( 'expires' => $expire, 'secure' => $secure, 'path' => COOKIEPATH ? COOKIEPATH : '/', 'domain' => COOKIE_DOMAIN, 'httponly' => apply_filters( 'woocommerce_cookie_httponly', $httponly, $name, $value, $expire, $secure ), ), $name, $value ); -
/** * Filter allowing to add additional settings to the WooCommerce Advanced - * Features settings page. */ apply_filters( 'woocommerce_settings_features', $feature_settings ); -
/** * Filter the settings rendered in the Legacy API section of the Advanced * settings tab. */ apply_filters( 'woocommerce_settings_rest_api', array() ); -
/** * Fires when settings sections can be registered. */ do_action( 'woocommerce_settings_sections_registration', $this ); -
woocommerce_settings_tabs
action/** * Hook for adding additional settings tabs. */ do_action( 'woocommerce_settings_tabs' ); -
/** * Fires when a shipping method is chosen. */ do_action( 'woocommerce_shipping_method_chosen', $chosen_method ); -
/** * Filters package fields that should not affect the shipping-rate cache hash. */ apply_filters( 'woocommerce_shipping_package_hash_ignored_fields', array( 'subtotal', 'total', 'package_id', 'package_name', 'rates', 'package_index', ), $package_to_hash ); -
/** * Filters the shipping package name. */ apply_filters( 'woocommerce_shipping_package_name', $shipping_package_name, $package['package_id'], $package, $total_packages ); -
/** * Allow packages to be reorganized after calculating the shipping. */ apply_filters( 'woocommerce_shipping_packages', $this->packages ); -
/** * Filter the shipping rate cost. */ apply_filters( 'woocommerce_shipping_rate_cost', $this->data['cost'], $this ); -
/** * Filter the shipping rate delivery time. */ apply_filters( 'woocommerce_shipping_rate_delivery_time', $this->data['delivery_time'], $this ); -
/** * Filter the shipping rate description. */ apply_filters( 'woocommerce_shipping_rate_description', $this->data['description'], $this ); -
woocommerce_shipping_rate_id
filter/** * Filter the shipping rate ID. */ apply_filters( 'woocommerce_shipping_rate_id', $this->data['id'], $this ); -
/** * Filter the shipping rate instance ID. */ apply_filters( 'woocommerce_shipping_rate_instance_id', $this->data['instance_id'], $this ); -
/** * Filter the shipping rate label. */ apply_filters( 'woocommerce_shipping_rate_label', $this->data['label'], $this ); -
/** * Filter the shipping method ID. */ apply_filters( 'woocommerce_shipping_rate_method_id', $this->data['method_id'], $this ); -
/** * Filter to allow tax status to be overridden for a shipping rate. */ apply_filters( 'woocommerce_shipping_rate_tax_status', $this->data['tax_status'], $this ); -
/** * Filter the shipping rate taxes. */ apply_filters( 'woocommerce_shipping_rate_taxes', $this->data['taxes'], $this ); -
/** * Filters the shipping tax class before calculating tax rates. */ apply_filters( 'woocommerce_shipping_tax_class', $tax_class, $cart, $customer, $location ); -
/** * Indicate that the WooCommerce shipping zone has been loaded. */ do_action( 'woocommerce_shipping_zone_loaded', $zone ); -
woocommerce_shop_loop_header
action/** * Hook: woocommerce_shop_loop_header. */ do_action( 'woocommerce_shop_loop_header' ); -
/** * Hook: woocommerce_shop_loop_item_title. */ do_action( 'woocommerce_shop_loop_item_title' ); -
/** * The woocommerce_shop_loop_subcategory_title hook. */ do_action( 'woocommerce_shop_loop_subcategory_title', $category ); -
/** * Searches on meta data can be slow - this lets you choose what fields to * search. 3.0.0 added _billing_address and _shipping_address meta which * contains all address data to make this faster. This however won't work on * older orders unless updated, so search a few others (expand this using the * filter if needed). */ apply_filters( 'woocommerce_shop_order_search_fields', array( '_billing_address_index', '_shipping_address_index', '_billing_last_name', '_billing_email', '_billing_phone', ) ); -
/** * Filter the order ids to be returned. */ apply_filters( 'woocommerce_shop_order_search_results', $order_ids, $term, $search_fields ); -
/** * Filters whether to override read permissions for unpublished products. */ apply_filters( 'woocommerce_shortcode_product_page_force_rendering', null, $product_id ); -
/** * Filters the list of invalid statuses for the `product_page` shortcode. */ apply_filters( 'woocommerce_shortcode_product_page_invalid_statuses', array( ProductStatus::TRASH ), $product_id ); -
/** * Filter shortcode products query results. */ apply_filters( 'woocommerce_shortcode_products_query_results', $results, $this ); -
/** * Determine whether the cart should be cleared after payment. */ apply_filters( 'woocommerce_should_clear_cart_after_payment', $should_clear_cart_after_payment ); -
/** * Filter whether brands styles should be loaded. */ apply_filters( 'woocommerce_should_load_brands_styles', false ); -
/** * Filters whether WooCommerce should register its block types and patterns for * the current request. */ apply_filters( 'woocommerce_should_register_blocks', $this->is_rendering_request() ); -
/** * Determine if the current product should trigger a backorder notification. */ apply_filters( 'woocommerce_should_send_backorder_notification', true, $args['product']->get_id() ); -
/** * Determine if the current product should trigger a low stock notification */ apply_filters( 'woocommerce_should_send_low_stock_notification', true, $product->get_id() ); -
/** * Determine if the current product should trigger a no stock notification */ apply_filters( 'woocommerce_should_send_no_stock_notification', true, $product->get_id() ); -
/** * Filter whether to schedule the review-request email for a given order. */ apply_filters( 'woocommerce_should_send_review_request', true, $order ); -
woocommerce_show_addons_page
filter/** * Controls whether we add a submenu item for the WooCommerce Addons page. Woo * Express uses this filter. */ apply_filters( 'woocommerce_show_addons_page', true ); -
/** * Filter to suppress the notice about autoinstalled plugins in the plugins * list page. */ apply_filters( 'woocommerce_show_autoinstalled_plugin_notices', '__return_true' ); -
/** * Filter whether to show the tax configuration incomplete notice. */ apply_filters( 'woocommerce_show_tax_configuration_notice', true ); -
woocommerce_shutdown_error
action/** * Action triggered when there are errors during shutdown. */ do_action( 'woocommerce_shutdown_error', $error ); -
/** * Hook: woocommerce_single_product_summary. */ do_action( 'woocommerce_single_product_summary' ); -
woocommerce_sort_countries
filter/** * Filters whether the list of countries is sorted by name. */ apply_filters( 'woocommerce_sort_countries', true ); -
/** * Filter sort fees callback. */ apply_filters( 'woocommerce_sort_fees_callback', $a->amount > $b->amount ? -1 : 1, $a, $b ); -
/** * Status widget low in stock count pre query. */ apply_filters( 'woocommerce_status_widget_low_in_stock_count_pre_query', null, $stock, $nostock ); -
/** * Status widget out of stock count pre query. */ apply_filters( 'woocommerce_status_widget_out_of_stock_count_pre_query', null, $nostock ); -
woocommerce_stock_amount
filter/** * Filter the stock amount. If an invalid value is returned by hooks, falls * back to intval( $amount ). */ apply_filters( 'woocommerce_stock_amount', $amount ); -
/** * Action: woocommerce_stock_notification_status_changed */ do_action( 'woocommerce_stock_notification_status_changed', $notification->get_id(), $status_from, $status_to, $notification ); -
/** * Filters cart item data sent via the API before it is passed to the cart * controller. */ apply_filters( 'woocommerce_store_api_add_to_cart_data', array( 'id' => $request['id'], 'quantity' => $request['quantity'], 'variation' => $request['variation'], 'cart_item_data' => [], ), $request ); -
/** * Fires an action to validate the cart. */ do_action( 'woocommerce_store_api_cart_errors', $cart_errors, $cart ); -
/** * Filter the cart product images. */ apply_filters( 'woocommerce_store_api_cart_item_images', $product_images, $cart_item, $cart_item_key ); -
/** * Filter to declare the parent cart item of a cart line. */ apply_filters( 'woocommerce_store_api_cart_item_parent_item_key', null, $cart_item, $cart_item['key'] ); -
/** * Filters the validation result for a cart item quantity being updated via the * Store API. */ apply_filters( 'woocommerce_store_api_cart_item_quantity_validation', true, $quantity, $product, $cart_item ); -
/** * Fires an action after a shipping method has been chosen for package(s) via * the Store API. */ do_action( 'woocommerce_store_api_cart_select_shipping_rate', $package_id, $rate_id, $request ); -
/** * Fires when the Checkout Block/Store API updates a customer from the API * request data. */ do_action( 'woocommerce_store_api_cart_update_customer_from_request', $customer, $request ); -
/** * Fires when the order is synced with cart data from a cart route. */ do_action( 'woocommerce_store_api_cart_update_order_from_request', $draft_order, $request ); -
/** * Fires once when the Store API checkout draft order is first materialised. */ do_action( 'woocommerce_store_api_checkout_order_created', $this->order ); -
/** * Fires after a Store API checkout PATCH request has been validated and live * customer/session state has been updated, before the response is returned. */ do_action( 'woocommerce_store_api_checkout_update_draft', $request ); -
/** * Fires when the Checkout Block/Store API updates an order's from the API * request data. */ do_action( 'woocommerce_store_api_checkout_update_order_from_request', $order, $request ); -
/** * Fires when the Checkout Block/Store API updates an order's meta data. */ do_action( 'woocommerce_store_api_checkout_update_order_meta', $this->order ); -
/** * Filters whether unexpected Store API failures include the error message and * exception class in the response. */ apply_filters( 'woocommerce_store_api_expose_error_details', Constants::is_true( 'WP_DEBUG' ) ); -
/** * Fires when the rate limit is exceeded. */ do_action( 'woocommerce_store_api_rate_limit_exceeded', self::get_ip_address( $rate_limiting_options->proxy_support ), $action_id ); -
/** * Filters the rate limiting identifier. */ apply_filters( 'woocommerce_store_api_rate_limit_id', $id ); -
/** * Filters options for Rate Limits. */ apply_filters( 'woocommerce_store_api_rate_limit_options', $default_options ); -
/** * Fires during validation when adding an item to the cart via the Store API. */ do_action( 'woocommerce_store_api_validate_add_to_cart', $product, $request ); -
/** * Fire action to validate add to cart. Functions hooking into this should * throw an \Exception to prevent add to cart from occurring. */ do_action( 'woocommerce_store_api_validate_cart_item', $product, $cart_item ); -
woocommerce_store_pages
filter/** * Filter the store pages array to check if a URL is a store page. */ apply_filters( 'woocommerce_store_pages', $store_pages ); -
/** * Filters the store and return-policy structured data on the policy page. */ apply_filters( 'woocommerce_structured_data_online_store', $markup, $page ); -
woocommerce_suggest_jetpack
filter/** * Allows removing Jetpack suggestions from WooCommerce Admin when false. */ apply_filters( 'woocommerce_suggest_jetpack', true ); -
woocommerce_support_url
filter/** * The premium support URL. */ apply_filters( 'woocommerce_support_url', 'https://woocommerce.com/my-account/create-a-ticket/' ); -
/** * Filters the environment rows to show in the WooCommerce status report. */ apply_filters( 'woocommerce_system_status_environment_rows', array() ); -
/** * Action fired when the WooCommerce system status report is rendered. */ do_action( 'woocommerce_system_status_report', $report ); -
/** * Fires after a WooCommerce system status tool has been executed. */ do_action( 'woocommerce_system_status_tool_executed', $tool ); -
/** * Filters the archive's raw description on taxonomy archives. */ apply_filters( 'woocommerce_taxonomy_archive_description_raw', $term->description, $term ); -
/** * Filters the arguments for a WooCommerce taxonomy. */ apply_filters( "woocommerce_taxonomy_args_{$taxonomy}", array( 'hierarchical' => false, 'public' => false, 'show_ui' => false, 'show_in_menu' => false, ) ); -
/** * Filter the arguments for the POS product visibility taxonomy. */ apply_filters( 'woocommerce_taxonomy_args_pos_product_visibility', array( 'hierarchical' => false, 'show_ui' => false, 'show_in_nav_menus' => false, 'query_var' => false, 'rewrite' => false, 'public' => false, 'label' => _x( 'POS Product visibility', 'Taxonomy name', 'woocommerce' ), ) ); -
/** * Filters the object types for a WooCommerce taxonomy. */ apply_filters( "woocommerce_taxonomy_objects_{$taxonomy}", array( 'product' ) ); -
/** * Filter the post types that the POS product visibility taxonomy is attached * to. */ apply_filters( 'woocommerce_taxonomy_objects_pos_product_visibility', array( 'product', 'product_variation' ) ); -
/** * Filter the paths to scan for template overrides. */ apply_filters( 'woocommerce_template_overrides_scan_paths', array( 'WooCommerce' => WC()->plugin_path() . '/templates/' ) ); -
woocommerce_template_path
filter/** * Filter to adjust the base templates path. */ apply_filters( 'woocommerce_template_path', 'woocommerce/' ); -
/** * Filter the product count for a term before it is saved. */ apply_filters( 'woocommerce_term_recount_product_count', $count, $term_id, $taxonomy ); -
/** * Filters the order key used to validate the order shown on the thanks page. */ apply_filters( 'woocommerce_thankyou_order_key', ( empty( $_GET['key'] ) || ! is_string( $_GET['key'] ) ) ? '' : sanitize_text_field( wp_unslash( $_GET['key'] ) ) ); -
woocommerce_theme_installed
action/** * Fires when a theme is successfully installed. */ do_action( 'woocommerce_theme_installed', $theme ); -
woocommerce_thumbnail_size
filter/** * Filters the thumbnail size. */ apply_filters( 'woocommerce_thumbnail_size', 'woocommerce_thumbnail' ); -
/** * Filter the admin email that's sent with data. */ apply_filters( 'woocommerce_tracker_admin_email', get_option( 'admin_email' ) ); -
woocommerce_tracker_data
filter/** * Filter the data that's sent with the tracker. */ apply_filters( 'woocommerce_tracker_data', $data ); -
/** * How frequent to schedule the tracker send event. */ apply_filters( 'woocommerce_tracker_event_recurrence', 'daily' ); -
/** * Filter the last time tracking data was sent. */ apply_filters( 'woocommerce_tracker_last_send_time', get_option( 'woocommerce_tracker_last_send', false ) ); -
/** * Filter whether to send tracking data or not. */ apply_filters( 'woocommerce_tracker_send_override', $override ); -
/** * Filter the transactional emails for the block editor. */ apply_filters( 'woocommerce_transactional_emails_for_block_editor', $emails ); -
/** * Action that fires after a transient file has been successfully served, right * before terminating the request. */ do_action( 'woocommerce_transient_file_contents_served', $file_name ); -
/** * Filters the directory where transient files are stored. */ apply_filters( 'woocommerce_transient_files_directory', $default_transient_files_directory ); -
/** * Filters the plugins that are subscribed to the automatic translations * updates. */ apply_filters( "woocommerce_translations_updates_for_{$plugins[$plugin]['slug']}", false ); -
/** * Fires after a product variation has been trashed. */ do_action( 'woocommerce_trash_product_variation', $variation_id ); -
woocommerce_untrash_order
action/** * Fires before an order is restored from the trash. */ do_action( 'woocommerce_untrash_order', $order->get_id(), $previous_status ); -
/** * Allow invalid order status filtering for updating coupon usage. */ apply_filters( 'woocommerce_update_coupon_usage_invalid_statuses', $invalid_statuses ); -
/** * Fires update actions for payment gateways. */ do_action( "woocommerce_update_options_payment_gateways_{$gateway->id}" ); -
/** * Action: woocommerce_update_stock_notification */ do_action( 'woocommerce_update_stock_notification', $notification->get_id(), $notification ); -
/** * Enables customization of the update frequency for user last active meta by * adjusting the threshold from default to custom values. Note that a lower * threshold results in more frequent database writes by Woo core and, if * enabled, Analytics. */ apply_filters( 'woocommerce_update_user_last_active_threshold', $threshold ); -
woocommerce_updated
action/** * Run after WooCommerce has been updated. */ do_action( 'woocommerce_updated' ); -
/** * Fires after the attribute summary of a product variation has been updated. */ do_action( 'woocommerce_updated_product_attribute_summary', $variation_id ); -
/** * Fire an action for this direct update so it can be detected by other code. */ do_action( 'woocommerce_updated_product_sales', $product_id ); -
/** * Fire an action for this direct update so it can be detected by other code. */ do_action( 'woocommerce_updated_product_stock', $product_id_with_stock ); -
woocommerce_upsells_total
filter/** * Filter the number of upsell products should on the product page. */ apply_filters( 'woocommerce_upsells_total', $args['posts_per_page'] ?? $limit ); -
/** * Allow classic theme developers to opt-in to using block notices. */ apply_filters( 'woocommerce_use_block_notices_in_classic_theme', false ); -
/** * Filters whether to use the legacy callback serialization algorithm. */ apply_filters( 'woocommerce_use_legacy_get_variations_price_hash', $use_legacy_algorithm, $product, $for_display ); -
/** * Fallback on force download method for remote files. This is because: 1. * xsendfile needs proxy configuration to work for remote files, which cannot * be assumed to be available on most hosts. 2. Force download method is more * secure than redirect method if `allow_url_fopen` is enabled in `php.ini`. */ apply_filters( 'woocommerce_use_xsendfile_for_remote', false ); -
/** * Filters the valid order statuses for payment complete. */ apply_filters( 'woocommerce_valid_order_statuses_for_payment_complete', OrderStatus::PAYMENT_COMPLETE_STATUSES, $this ); -
/** * Filters the list of valid webhook events. */ apply_filters( 'woocommerce_valid_webhook_events', $default_events ); -
/** * Filters the list of valid webhook resources. */ apply_filters( 'woocommerce_valid_webhook_resources', $default_resources ); -
/** * Pass an error object to allow validation of an additional field. */ do_action( 'woocommerce_validate_additional_field', $errors, $field['id'], $field_value ); -
woocommerce_validate_phone
filter/** * Filters whether a phone number is considered valid. */ apply_filters( 'woocommerce_validate_phone', $valid, $phone, $country ); -
/** * Filters whether taxes influence the displayed price of a variable product. */ apply_filters_deprecated( 'woocommerce_variable_product_taxes_influence_price', array( $taxes_influence_price, $product ), '11.3.0' ); -
/** * Variation upload image action. */ do_action( 'woocommerce_variation_after_upload_image', $loop, $variation_data, $variation ); -
woocommerce_variation_header
action/** * Variations header action. */ do_action( 'woocommerce_variation_header', $variation, $loop ); -
/** * Filter to adjust if a variation is purchasable. */ apply_filters( 'woocommerce_variation_is_purchasable', $this->variation_is_visible() && parent::is_purchasable(), $this ); -
/** * Filter to adjust if a variation is visible. */ apply_filters( 'woocommerce_variation_is_visible', ProductStatus::PUBLISH === get_post_status( $this->get_id() ) && '' !== $this->get_price(), $this->get_id(), $this->get_parent_id(), $this ); -
/** * Variation options dimensions action. */ do_action( 'woocommerce_variation_options_dimensions', $loop, $variation_data, $variation ); -
/** * Variation options download action. */ do_action( 'woocommerce_variation_options_download', $loop, $variation_data, $variation ); -
/** * Variation options inventory action. */ do_action( 'woocommerce_variation_options_inventory', $loop, $variation_data, $variation ); -
/** * Variation options pricing action. */ do_action( 'woocommerce_variation_options_pricing', $loop, $variation_data, $variation ); -
/** * Variation options tax action. */ do_action( 'woocommerce_variation_options_tax', $loop, $variation_data, $variation ); -
/** * Filters the active price for a product variation before it is used in price * calculations and caching. */ apply_filters( 'woocommerce_variation_prices_price', $variation->get_price( 'edit' ), $variation, $product ); -
/** * Filters the regular price for a product variation before it is used in price * calculations and caching. */ apply_filters( 'woocommerce_variation_prices_regular_price', $variation->get_regular_price( 'edit' ), $variation, $product ); -
/** * Filters the sale price for a product variation before it is used in price * calculations and caching. */ apply_filters( 'woocommerce_variation_prices_sale_price', $variation->get_sale_price( 'edit' ), $variation, $product ); -
/** * Action to signal that the `stock_status` for a variation has changed. */ do_action( 'woocommerce_variation_set_stock_status', $product->get_id(), $product->get_stock_status(), $product ); -
/** * Filter the TTL for version string cache. */ apply_filters( 'woocommerce_version_string_generator_ttl', DAY_IN_SECONDS, $id ); -
/** * Filter to disable webhook delivery logging. */ apply_filters( 'woocommerce_webhook_enable_delivery_log', true, $this->get_id() ); -
woocommerce_webhook_options
action/** * Fires within the webhook editor, after the Webhook Data fields have * rendered. */ do_action( 'woocommerce_webhook_options', $webhook ); -
woocommerce_webhook_payload
filter/** * Filters the webhook payload before delivery. */ apply_filters( 'woocommerce_webhook_payload', $payload, $resource, $resource_id, $this->get_id() ); -
/** * Process webhook delivery. */ do_action( 'woocommerce_webhook_process_delivery', $this, $arg ); -
/** * Let other plugins intercept deliver for some messages queue like * rabbit/zeromq. */ apply_filters( 'woocommerce_webhook_should_deliver', $should_deliver, $this, $arg ); -
/** * Filters the map of webhook topics to their registered hook names. */ apply_filters( 'woocommerce_webhook_topic_hooks', $topic_hooks, $webhook ); -
woocommerce_weight_units
filter/** * Filter the available weight units. */ apply_filters( 'woocommerce_weight_units', WeightUnit::get_all() ); -
/** * Filter whether this cart item is visible in the mini-cart. */ apply_filters( 'woocommerce_widget_cart_item_visible', true, $cart_item, $cart_item_key ); -
/** * Sanitize the value of a setting. */ apply_filters( 'woocommerce_widget_settings_sanitize_option', $instance[ $key ], $new_instance, $key, $setting ); -
/** * Hook: woocommerce_widget_shopping_cart_total. */ do_action( 'woocommerce_widget_shopping_cart_total' ); -
/** * Filters the error identifiers for which retrying the WooPayments test * account initialization cannot succeed. */ apply_filters( 'woocommerce_woopayments_onboarding_test_account_non_recoverable_errors', self::ONBOARDING_TEST_ACCOUNT_NON_RECOVERABLE_ERROR_IDENTIFIERS, $error ); -
wp_check_post_lock_window
filter/** * This filter is documented in WP's wp-admin/includes/ajax-actions.php */ apply_filters( 'wp_check_post_lock_window', 150 ); -
/** * This filter is documented in wp-includes/class-wp-query.php */ apply_filters( 'wp_query_search_exclusion_prefix', '-' ); -
apply_filters( "woocommerce_shipping_{$this->id}_is_available", $available, $package, $this ); -
apply_filters( 'woocommerce_product_add_to_cart_description', sprintf( __( 'Read more about “%s”', 'woocommerce' ), $this->get_name() ), $this ); -
apply_filters( 'woocommerce_product_add_to_cart_text', __( 'Read more', 'woocommerce' ), $this ); -
apply_filters( "{$this->identifier}_cron_interval", 5 ); -
do_action( 'woocommerce_admin_order_item_values', null, $item, absint( $item_id ) ); -
apply_filters( 'woocommerce_background_image_regeneration', true ); -
apply_filters( 'woocommerce_coupon_get_apply_quantity', $apply_quantity, $item, $coupon, $this ); -
do_action( 'woocommerce_order_edit_status', $id, $new_status ); -
apply_filters( 'woocommerce_order_item_quantity_html', '<strong class="product-quantity">' . sprintf( '× %s', $qty_display ) . '</strong>', $item ); -
apply_filters( 'woocommerce_product_add_to_cart_url', $this->get_permalink(), $this ); -
apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ); -
apply_filters( 'woocommerce_short_description', $product->get_short_description() ); -
https_local_ssl_verify
filterapply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'woocommerce_add_to_cart_product_id', absint( $_POST['product_id'] ) ); -
apply_filters( 'woocommerce_after_widget_product_list', '</ul>' ); -
apply_filters( 'woocommerce_before_widget_product_list', '<ul class="product_list_widget">' ); -
apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_coupon_get_discount_amount', NumberUtil::round( min( $discount, $discounting_amount ), wc_get_rounding_precision() ), $discounting_amount, $cart_item, $single, $this ); -
apply_filters( 'woocommerce_email_intro_content', $intro_content, $notification ); -
woocommerce_get_price_html
filterapply_filters( 'woocommerce_get_price_html', $price, $this ); -
do_action( 'woocommerce_order_details_after_order_table_items', $order ); -
do_action( 'woocommerce_order_details_before_order_table_items', $order ); -
apply_filters( 'woocommerce_order_item_display_meta_value', $meta_value, $meta, $this->item ); -
apply_filters( 'woocommerce_order_item_permalink', $is_visible ? $product->get_permalink( $item ) : '', $item, $order ); -
apply_filters( 'woocommerce_product_csv_importer_class', 'WC_Product_CSV_Importer' ); -
apply_filters( 'woocommerce_product_is_on_sale', $on_sale, $this ); -
apply_filters( 'woocommerce_purchase_note_order_statuses', array( 'completed', 'processing' ) ); -
apply_filters( 'woocommerce_purchase_order_item_types', OrderItemType::LINE_ITEM ); -
apply_filters( 'woocommerce_shop_manager_editable_roles', array( 'customer' ) ); -
do_action( 'action_scheduler_after_process_queue' ); -
do_action( 'action_scheduler_before_process_queue' ); -
do_action( 'action_scheduler_bulk_cancel_actions', $action_ids ); -
do_action( 'action_scheduler_canceled_action', $action_id ); -
do_action( 'action_scheduler_deleted_action', $action_id ); -
do_action( 'action_scheduler_failed_fetch_action', $action_id, $exception ); -
apply_filters( 'action_scheduler_list_table_column_args', '', $row ); -
apply_filters( 'action_scheduler_maximum_execution_time', $time_limit ); -
do_action( 'action_scheduler_stored_action', $action_id ); -
do_action( 'action_scheduler/migrated_action', $source_action_id, $destination_action_id, $this->source, $this->destination ); -
import_upload_size_limit
filterapply_filters( 'import_upload_size_limit', wp_max_upload_size() ); -
list_product_cats
filterapply_filters( 'list_product_cats', $cat->name, $cat ); -
product_type_options
filterapply_filters( 'product_type_options', wc_get_default_product_type_options() ); -
apply_filters( "woocommerce_add_{$notice_type}", $message ); -
woocommerce_add_message
filterapply_filters( 'woocommerce_add_message', $message ); -
apply_filters( 'woocommerce_add_to_cart_redirect', $url, $adding_to_cart ); -
apply_filters( 'woocommerce_add_to_cart_sold_individually_found_in_cart', $cart_item_key && $this->cart_contents[ $cart_item_key ]['quantity'] > 0, $product_id, $variation_id, $cart_item_data, $cart_id ); -
apply_filters( 'woocommerce_admin_meta_boxes_variations_per_page', 15 ); -
apply_filters( 'woocommerce_admin_status_tabs', $tabs ); -
woocommerce_admin_stock_html
filterapply_filters( 'woocommerce_admin_stock_html', $stock_html, $this->object ); -
do_action( 'woocommerce_after_available_downloads' ); -
do_action( 'woocommerce_after_order_itemmeta', $item_id, $item, $product ); -
apply_filters( 'woocommerce_analytics_categories_query_args', array( 'orderby' => 'items_sold', 'order' => 'desc', 'after' => $after, 'before' => $before, 'per_page' => $per_page, 'extended_info' => true, ) ); -
apply_filters( 'woocommerce_analytics_coupons_query_args', array( 'orderby' => 'orders_count', 'order' => 'desc', 'after' => $after, 'before' => $before, 'per_page' => $per_page, 'extended_info' => true, ) ); -
apply_filters( 'woocommerce_analytics_coupons_select_query', $results, $args ); -
apply_filters( 'woocommerce_analytics_products_query_args', array( 'orderby' => 'items_sold', 'order' => 'desc', 'after' => $after, 'before' => $before, 'per_page' => $per_page, 'extended_info' => true, ) ); -
apply_filters( 'woocommerce_api_key_last_access_datetime', $date, $key['last_access'] ); -
woocommerce_auth_page_header
actiondo_action( 'woocommerce_auth_page_header' ); -
do_action( 'woocommerce_before_available_downloads' ); -
do_action( 'woocommerce_before_delete_order_item', $item->get_id() ); -
do_action( 'woocommerce_before_order_itemmeta', $item_id, $item, $product ); -
woocommerce_cart_item_class
filterapply_filters( 'woocommerce_cart_item_class', 'cart_item', $cart_item, $cart_item_key ); -
woocommerce_cart_item_price
filterapply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $_product ), $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_remove_link', sprintf( '<a role="button" href="%s" class="remove" aria-label="%s" data-product_id="%s" data-product_sku="%s">×</a>', esc_url( wc_get_cart_remove_url( $cart_item_key ) ), esc_attr( sprintf( __( 'Remove %s from cart', 'woocommerce' ), wp_strip_all_tags( $product_name ) ) ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_subtotal', WC()->cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_checkout_no_payment_needed_redirect', $order->get_checkout_order_received_url(), $order ); -
apply_filters( 'woocommerce_checkout_redirect_empty_cart', true ); -
apply_filters( 'woocommerce_coupon_is_valid_for_product', false, $product, $this, $values ); -
apply_filters( 'woocommerce_current_user_can_edit_customer_meta_fields', current_user_can( 'manage_woocommerce' ), $user->ID ); -
apply_filters( 'woocommerce_customer_search_customers', array( 'search' => '*' . esc_attr( $term ) . '*', 'search_columns' => array( 'user_login', 'user_url', 'user_email', 'user_nicename', 'display_name' ), 'fields' => 'ID', 'number' => $limit, ), $term, $limit, 'main_query' ); -
apply_filters( 'woocommerce_default_catalog_orderby_options', array( 'menu_order' => __( 'Default sorting (custom ordering + name)', 'woocommerce' ), 'popularity' => __( 'Popularity (sales)', 'woocommerce' ), 'rating' => __( 'Average rating', 'woocommerce' ), 'date' => __( 'Sort by most recent', 'woocommerce' ), 'price' => __( 'Sort by price (asc)', 'woocommerce' ), 'price-desc' => __( 'Sort by price (desc)', 'woocommerce' ), ) ); -
do_action( 'woocommerce_delete_order_item', $item->get_id() ); -
apply_filters( 'woocommerce_duplicate_product_capability', 'manage_woocommerce' ); -
do_action( "woocommerce_email_downloads_column_{$column_id}", $download, $plain_text ); -
apply_filters( 'woocommerce_email_editor_post_content_block_names', array( 'core/post-content' ) ); -
woocommerce_get_children
filterapply_filters( 'woocommerce_get_children', $this->children, $this, false ); -
apply_filters( 'woocommerce_get_order_item_totals', $total_rows, $this, $tax_display ); -
woocommerce_get_price_suffix
filterapply_filters( 'woocommerce_get_price_suffix', $html, $this, $price, $qty ); -
do_action( 'woocommerce_grant_product_download_access', $data ); -
apply_filters( 'woocommerce_image_sizes_to_resize', array( 'woocommerce_thumbnail', 'woocommerce_gallery_thumbnail', 'woocommerce_single' ) ); -
apply_filters( 'woocommerce_json_search_found_categories', $found_categories ); -
apply_filters( 'woocommerce_json_search_found_customers', $found_users ); -
apply_filters( 'woocommerce_locate_core_template', $core_file, $template, $this->template_base, $this->id ); -
apply_filters( 'woocommerce_logger_add_message', $message, $handle ); -
woocommerce_login_form
actiondo_action( 'woocommerce_login_form' ); -
woocommerce_login_form_end
actiondo_action( 'woocommerce_login_form_end' ); -
woocommerce_login_form_start
actiondo_action( 'woocommerce_login_form_start' ); -
apply_filters( 'woocommerce_my_account_get_addresses', array( 'billing' => __( 'Billing address', 'woocommerce' ), 'shipping' => __( 'Shipping address', 'woocommerce' ), ), $customer_id ); -
do_action( "woocommerce_my_account_my_orders_column_{$column_id}", $order ); -
apply_filters( 'woocommerce_my_account_my_orders_query', array( 'customer' => get_current_user_id(), 'page' => $current_page, 'paginate' => true, ) ); -
woocommerce_new_order_item
actiondo_action( 'woocommerce_new_order_item', $item->get_id(), $item, $item->get_order_id() ); -
apply_filters( 'woocommerce_no_available_payment_methods_message', esc_html__( 'Sorry, it seems that there are no available payment methods for your location. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ) ); -
do_action( 'woocommerce_order_details_after_order_table', $order ); -
do_action( 'woocommerce_order_details_before_order_table', $order ); -
woocommerce_order_note_class
filterapply_filters( 'woocommerce_order_note_class', array_filter( $css_class ), $note ); -
apply_filters( 'woocommerce_payment_successful_result', $result, $order_id ); -
woocommerce_paypal_args
filterapply_filters( 'woocommerce_paypal_args', array_merge( $this->get_transaction_args( $order ), $this->get_line_item_args( $order, true ) ), $order ); -
apply_filters( 'woocommerce_price_ex_tax_amount', $tax_amount, $key, $rate, $price ); -
apply_filters( 'woocommerce_price_filter_widget_tax_class', '' ); -
apply_filters( 'woocommerce_price_inc_tax_amount', $non_compound_price - ( $non_compound_price / ( 1 + ( $compound_rate / 100 ) ) ), $key, $rates[ $key ], $price ); -
do_action( 'woocommerce_process_product_file_download_paths', $product->get_parent_id(), $product->get_id(), $downloads ); -
apply_filters( 'woocommerce_product_has_options', false, $this ); -
apply_filters( 'woocommerce_product_single_add_to_cart_text', __( 'Add to cart', 'woocommerce' ), $this ); -
woocommerce_product_source
filterapply_filters( 'woocommerce_product_source', self::is_importing() ? 'import' : self::TRACKS_SOURCE ); -
woocommerce_product_title
filterapply_filters( 'woocommerce_product_title', $this->get_name(), $this ); -
apply_filters( 'woocommerce_product_visibility_options', array( CatalogVisibility::VISIBLE => __( 'Catalog & search', 'woocommerce' ), CatalogVisibility::CATALOG => __( 'Catalog', 'woocommerce' ), CatalogVisibility::SEARCH => __( 'Search', 'woocommerce' ), CatalogVisibility::HIDDEN => __( 'Hidden', 'woocommerce' ), ) ); -
do_action( 'woocommerce_remove_order_personal_data', $order ); -
do_action( 'woocommerce_reset_password_notification', $user->user_login, $key ); -
woocommerce_sale_flash
filterapply_filters( 'woocommerce_sale_flash', '<span class="onsale">' . esc_html__( 'Sale!', 'woocommerce' ) . '</span>', $post, $product ); -
apply_filters( "woocommerce_settings_api_sanitized_fields_{$this->id}", $this->settings ); -
apply_filters( 'woocommerce_settings_tabs_array', array() ); -
apply_filters( "woocommerce_settings-{$group_id}", array() ); -
do_action( "woocommerce_shipping_classes_column_{$class}" ); -
apply_filters( 'woocommerce_shipping_method_title', $this->method_title, $this ); -
do_action( 'woocommerce_shipping_zone_method_deleted', $instance_id, $method_id, $zone_id ); -
apply_filters( 'woocommerce_structured_data_context', array( '@context' => 'https://schema.org/' ), $data, $type, $value ); -
apply_filters( "woocommerce_taxonomy_args_{$term['domain']}", array( 'hierarchical' => true, 'show_ui' => false, 'query_var' => true, 'rewrite' => false, ) ); -
apply_filters( "woocommerce_taxonomy_objects_{$term['domain']}", array( 'product' ) ); -
apply_filters( 'woocommerce_template_directory', 'woocommerce', $template ); -
apply_filters( 'woocommerce_update_customer_args', array( 'ID' => $customer->get_id(), 'role' => $customer->get_role(), 'display_name' => $customer->get_display_name(), ), $customer ); -
woocommerce_update_order
actiondo_action( 'woocommerce_update_order', $order->get_id(), $order ); -
do_action( 'woocommerce_update_order_item', $item->get_id(), $item, $item->get_order_id() ); -
apply_filters( 'woocommerce_update_product_stock_query', $sql, $product_id_with_stock, $stock_quantity, 'set' ); -
woocommerce_view_order
actiondo_action( 'woocommerce_view_order', $order_id ); -
{$handle}_params
filterapply_filters_deprecated( "{$handle}_params", array( $params ), '3.0.0', 'woocommerce_get_script_data' ); -
{$shortcode}_shortcode_tag
filterapply_filters( "{$shortcode}_shortcode_tag", $shortcode ); -
apply_filters( "{$this->get_hook_prefix()}backorders", $this->parent_data['backorders'], $this ); -
apply_filters( "{$this->get_hook_prefix()}catalog_visibility", $this->parent_data['catalog_visibility'], $this ); -
apply_filters( "{$this->get_hook_prefix()}height", $this->parent_data['height'], $this ); -
apply_filters( "{$this->get_hook_prefix()}image_id", $this->parent_data['image_id'], $this ); -
apply_filters( "{$this->get_hook_prefix()}length", $this->parent_data['length'], $this ); -
apply_filters( "{$this->get_hook_prefix()}purchase_note", $this->parent_data['purchase_note'], $this ); -
apply_filters( "{$this->get_hook_prefix()}shipping_class_id", $this->parent_data['shipping_class_id'], $this ); -
apply_filters( "{$this->get_hook_prefix()}sku", $this->parent_data['sku'], $this ); -
apply_filters( "{$this->get_hook_prefix()}stock_quantity", $this->parent_data['stock_quantity'], $this ); -
apply_filters( "{$this->get_hook_prefix()}tax_class", $value, $this ); -
apply_filters( "{$this->get_hook_prefix()}weight", $this->parent_data['weight'], $this ); -
apply_filters( "{$this->get_hook_prefix()}width", $this->parent_data['width'], $this ); -
apply_filters( "{$this->identifier}_default_time_limit", 20 ); -
apply_filters( "{$this->identifier}_memory_exceeded", $return ); -
apply_filters( "{$this->identifier}_queue_lock_time", $lock_duration ); -
apply_filters( "{$this->identifier}_time_exceeded", $return ); -
apply_filters( 'action_scheduler_admin_notice_html', $action_message_html, $action, $notification ); -
apply_filters( 'action_scheduler_admin_view_class', 'ActionScheduler_AdminView' ); -
do_action( 'action_scheduler_after_execute', $action_id, $action, $context ); -
apply_filters( 'action_scheduler_allow_async_request_runner', $allow ); -
apply_filters( 'action_scheduler_async_request_sleep_seconds', 5, $this ); -
do_action( 'action_scheduler_before_execute', $action_id, $context ); -
do_action( 'action_scheduler_begin_execute', $action_id, $context ); -
do_action( 'action_scheduler_canceled_corrupted_action', $action_id ); -
apply_filters( 'action_scheduler_check_pastdue_actions', current_user_can( 'manage_options' ) ); -
apply_filters( 'action_scheduler_enable_recreate_data_store', true ); -
do_action( 'action_scheduler_execution_ignored', $action_id, $context ); -
do_action( 'action_scheduler_failed_action', $action_id, $timeout ); -
do_action( 'action_scheduler_failed_to_schedule_next_instance', $action_id, $e, $action ); -
apply_filters( 'action_scheduler_failure_period', $time_limit ); -
apply_filters( 'action_scheduler_load_deprecated_functions', true ); -
action_scheduler_lock_class
filterapply_filters( 'action_scheduler_lock_class', 'ActionScheduler_OptionLock' ); -
apply_filters( 'action_scheduler_lock_duration', self::$lock_duration, $lock_type ); -
apply_filters( 'action_scheduler_logger_class', 'ActionScheduler_wpCommentLogger' ); -
apply_filters( 'action_scheduler_maximum_args_length', 191 ); -
apply_filters( 'action_scheduler_maximum_execution_time_likely_to_be_exceeded', $likely_to_be_exceeded, $this, $processed_actions, $execution_time, $max_execution_time ); -
apply_filters( 'action_scheduler_memory_exceeded', $memory_exceeded, $this ); -
apply_filters( 'action_scheduler_migrate_data_store', false ); -
apply_filters( 'action_scheduler_migration_dependencies_met', true ); -
apply_filters( 'action_scheduler_pastdue_actions_check', $check, $num_pastdue_actions, $threshold_seconds, $threshold_min ); -
apply_filters( 'action_scheduler_pastdue_actions_check_interval', round( $threshold_seconds / 4 ), $threshold_seconds ); -
apply_filters( 'action_scheduler_pastdue_actions_check_pre', null ); -
do_action( 'action_scheduler_pastdue_actions_extra_notices', $query_args ); -
apply_filters( 'action_scheduler_pastdue_actions_min', 1 ); -
apply_filters( 'action_scheduler_pastdue_actions_seconds', DAY_IN_SECONDS ); -
apply_filters( 'action_scheduler_post_status_args', $args ); -
apply_filters( 'action_scheduler_post_status_failed_labels', $labels ); -
apply_filters( 'action_scheduler_post_status_running_labels', $labels ); -
apply_filters( 'action_scheduler_post_type_args', $args ); -
do_action( 'action_scheduler_pre_theme_init' ); -
apply_filters( 'action_scheduler_queue_runner_batch_size', 25 ); -
apply_filters( 'action_scheduler_queue_runner_class', 'ActionScheduler_QueueRunner' ); -
apply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 ); -
apply_filters( 'action_scheduler_queue_runner_time_limit', $time_limit ); -
do_action( 'action_scheduler_reset_action', $action_id ); -
action_scheduler_run_queue
actiondo_action( 'action_scheduler_run_queue', 'Async Request' ); -
apply_filters( 'action_scheduler_run_schedule', self::WP_CRON_SCHEDULE ); -
action_scheduler_store_class
filterapply_filters( 'action_scheduler_store_class', self::DEFAULT_CLASS ); -
apply_filters( 'action_scheduler_stored_action_class', $action_class, $status, $hook, $args, $schedule, $group ); -
apply_filters( 'action_scheduler_taxonomy_args', $args ); -
apply_filters( 'action_scheduler_timeout_period', $time_limit ); -
do_action( 'action_scheduler_unexpected_shutdown', $this->action_id, $error ); -
apply_filters( 'action_scheduler_use_cpu_execution_time', defined( 'PANTHEON_ENVIRONMENT' ) ); -
do_action( 'action_scheduler/created_table', $updated_table, $table ); -
do_action( 'action_scheduler/migrate_action_dry_run', $source_action_id ); -
do_action( 'action_scheduler/migrate_action_failed', $source_action_id, $this->source, $this->destination ); -
do_action( 'action_scheduler/migrate_action_incomplete', $source_action_id, $destination_action_id, $this->source, $this->destination ); -
do_action( 'action_scheduler/migration_batch_complete', $action_ids ); -
apply_filters( 'action_scheduler/migration_batch_size', 250 ); -
do_action( 'action_scheduler/migration_batch_starting', $action_ids ); -
do_action( 'action_scheduler/migration_complete' ); -
apply_filters( 'action_scheduler/migration_config', $config ); -
apply_filters( 'action_scheduler/migration_interval', 0 ); -
do_action( 'action_scheduler/no_action_to_migrate', $source_action_id, $this->source, $this->destination ); -
do_action( 'action_scheduler/progress_tick', $this->total_ticks ); -
admin_enqueue_scripts
actiondo_action( 'admin_enqueue_scripts' ); -
admin_memory_limit
filterapply_filters( 'admin_memory_limit', $wp_max_limit ); -
admin_print_styles
actiondo_action( 'admin_print_styles' ); -
do_action( 'after_woocommerce_add_payment_method' ); -
after_woocommerce_pay
actiondo_action( 'after_woocommerce_pay' ); -
all_plugins
filterapply_filters( 'all_plugins', get_plugins() ); -
allow_password_reset
filterapply_filters( 'allow_password_reset', true, $user_data->ID ); -
do_action( 'before_woocommerce_add_payment_method' ); -
before_woocommerce_pay
actiondo_action( 'before_woocommerce_pay' ); -
default_checkout_{$input}
filterapply_filters( "default_checkout_{$input}", $value, $input ); -
deprecated_argument_run
actiondo_action( 'deprecated_argument_run', $argument, $message, $version ); -
deprecated_hook_run
actiondo_action( 'deprecated_hook_run', $hook, $replacement, $version, $message ); -
doing_it_wrong_run
actiondo_action( 'doing_it_wrong_run', $function, $message, $version ); -
edit_comments_per_page
filterapply_filters( 'edit_comments_per_page', $per_page ); -
enqueue_block_editor_assets
actiondo_action( 'enqueue_block_editor_assets' ); -
apply_filters( 'experimental_woocommerce_analytics_variations_should_exclude_simple_products', true, $query_args ); -
apply_filters( 'experimental_woocommerce_analytics_variations_stats_should_exclude_simple_products', true, $query_args ); -
do_action( 'generate_category_lookup_table' ); -
get_product_search_form
filterapply_filters( 'get_product_search_form', ob_get_clean() ); -
import_end
actiondo_action( 'import_end' ); -
login_errors
filterapply_filters( 'login_errors', $e->getMessage() ); -
loop_shop_columns
filterapply_filters( 'loop_shop_columns', $columns ); -
loop_shop_post_in
filterapply_filters( 'loop_shop_post_in', array() ); -
lostpassword_post
actiondo_action( 'lostpassword_post', $errors, $user_data ); -
media_upload_file
actiondo_action( 'media_upload_file' ); -
password_reset
actiondo_action( 'password_reset', $user, $new_pass ); -
password_reset_expiration
filterapply_filters( 'password_reset_expiration', DAY_IN_SECONDS ); -
post_class
filterapply_filters( 'post_class', $post_classes, $class, $product->get_id() ); -
pre_get_product_search_form
actiondo_action( 'pre_get_product_search_form' ); -
apply_filters( 'product_attributes_type_selector', $attribute_types ); -
product_cat_class
filterapply_filters( 'product_cat_class', $classes, $class, $category ); -
product_type_selector
filterapply_filters( 'product_type_selector', array( ProductType::SIMPLE => __( 'Simple product', 'woocommerce' ), ProductType::GROUPED => __( 'Grouped product', 'woocommerce' ), ProductType::EXTERNAL => __( 'External/Affiliate product', 'woocommerce' ), ProductType::VARIABLE => __( 'Variable product', 'woocommerce' ), ) ); -
product_variation_linked
actiondo_action( 'product_variation_linked', $variation_id ); -
rest_api_init
actiondo_action( 'rest_api_init', $wp_rest_server ); -
apply_filters( 'rest_preprocess_product_review', $prepared_review, $request ); -
retrieve_password
actiondo_action( 'retrieve_password', $user_login ); -
sanitize_taxonomy_name
filterapply_filters( 'sanitize_taxonomy_name', urldecode( sanitize_title( urldecode( $taxonomy ?? '' ) ) ), $taxonomy ); -
apply_filters( 'single_product_archive_thumbnail_size', $size ); -
apply_filters( 'subcategory_archive_thumbnail_size', 'woocommerce_thumbnail' ); -
apply_filters( 'twentynineteen_custom_colors_lightness', 33 ); -
apply_filters( 'users_have_additional_content', false, $userids ); -
do_action( 'valid-paypal-standard-ipn-request', $posted ); -
validate_password_reset
actiondo_action( 'validate_password_reset', $errors, $user ); -
wc_add_to_cart_message
filterapply_filters( 'wc_add_to_cart_message', $message, $product_id ); -
wc_add_to_cart_message_html
filterapply_filters( 'wc_add_to_cart_message_html', $message, $products, $show_qty ); -
wc_admin_daily
actiondo_action( 'wc_admin_daily' ); -
wc_admin_reports_path
filterapply_filters( 'wc_admin_reports_path', 'reports/class-wc-report-' . $name . '.php', $name, $class ); -
do_action( 'wc_after_products_ending_sales', $product_ids ); -
do_action( 'wc_after_products_starting_sales', $product_ids ); -
wc_ajax_{$action}
actiondo_action( "wc_ajax_{$action}" ); -
do_action( 'wc_before_products_ending_sales', $product_ids ); -
do_action( 'wc_before_products_starting_sales', $product_ids ); -
apply_filters( 'wc_get_price_decimal_separator', get_option( 'woocommerce_price_decimal_sep' ) ); -
wc_get_price_decimals
filterapply_filters( 'wc_get_price_decimals', get_option( 'woocommerce_price_num_decimals', 2 ) ); -
apply_filters( 'wc_get_price_thousand_separator', get_option( 'woocommerce_price_thousand_sep' ) ); -
wc_get_template_part
filterapply_filters( 'wc_get_template_part', $template, $slug, $name ); -
wc_order_statuses
filterapply_filters( 'wc_order_statuses', $order_statuses ); -
wc_order_types
filterapply_filters( 'wc_order_types', $order_types, $for ); -
apply_filters( 'wc_payment_gateway_form_saved_payment_methods_html', $html, $this ); -
wc_price_args
filterapply_filters( 'wc_price_args', wp_parse_args( $args, array( 'ex_tax_label' => false, 'currency' => '', 'decimal_separator' => wc_get_price_decimal_separator(), 'thousand_separator' => wc_get_price_thousand_separator(), 'decimals' => wc_get_price_decimals(), 'price_format' => get_woocommerce_price_format(), 'in_span' => true, 'aria-hidden' => false, ) ) ); -
wc_privacy_policy_content
filterapply_filters( 'wc_privacy_policy_content', $content ); -
apply_filters( 'wc_product_dimensions_enabled', true ); -
wc_product_sku_enabled
filterapply_filters( 'wc_product_sku_enabled', true ); -
wc_product_weight_enabled
filterapply_filters( 'wc_product_weight_enabled', true ); -
wc_reports_tabs
actiondo_action( 'wc_reports_tabs' ); -
wc_round_tax_total
filterapply_filters( 'wc_round_tax_total', $rounded_tax, $value, $precision, WC_TAX_ROUNDING_MODE ); -
webhook_row_actions
filterapply_filters( 'webhook_row_actions', $actions, $webhook ); -
apply_filters( "woocommerce_{$object_type}_data_store", $this->stores[ $object_type ] ); -
apply_filters( "woocommerce_{$this->export_type}_export_batch_limit", $this->limit, $this ); -
apply_filters( "woocommerce_{$this->export_type}_export_column_names", $this->column_names, $this ); -
apply_filters( "woocommerce_{$this->export_type}_export_delimiter", $this->delimiter ); -
apply_filters( "woocommerce_{$this->export_type}_export_get_filename", $this->filename ); -
apply_filters( "woocommerce_{$this->export_type}_export_rows", ob_get_clean(), $this ); -
do_action( "woocommerce_account_{$key}_endpoint", $value ); -
do_action( "woocommerce_account_downloads_column_{$column_id}", $download ); -
apply_filters( 'woocommerce_account_downloads_columns', array( 'download-product' => __( 'Product', 'woocommerce' ), 'download-remaining' => __( 'Downloads remaining', 'woocommerce' ), 'download-expires' => __( 'Expires', 'woocommerce' ), 'download-file' => __( 'Download', 'woocommerce' ), 'download-actions' => ' ', ) ); -
apply_filters( 'woocommerce_account_endpoint_page_not_found', true ); -
do_action( "woocommerce_account_payment_methods_column_{$column_id}", $method ); -
apply_filters( 'woocommerce_account_payment_methods_columns', array( 'method' => __( 'Method', 'woocommerce' ), 'expires' => __( 'Expires', 'woocommerce' ), 'actions' => ' ', ) ); -
apply_filters( 'woocommerce_add_order_again_cart_item', array_merge( $cart_item_data, array( 'key' => $cart_id, 'product_id' => $product_id, 'variation_id' => $variation_id, 'variation' => $variations, 'quantity' => $quantity, 'data' => $product_data, 'data_hash' => wc_get_cart_item_data_hash( $product_data ), ) ), $cart_id ); -
do_action( 'woocommerce_add_payment_method_form_bottom' ); -
apply_filters( 'woocommerce_add_payment_method_form_is_valid', true ); -
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_handler', $adding_to_cart->get_type(), $adding_to_cart ); -
do_action( "woocommerce_add_to_cart_handler_{$add_to_cart_handler}", $url ); -
woocommerce_add_to_cart_hash
filterapply_filters_deprecated( 'woocommerce_add_to_cart_hash', array( $hash, $cart_session ), '3.6.0', 'woocommerce_cart_hash' ); -
apply_filters( 'woocommerce_add_to_cart_notice_type', 'success' ); -
woocommerce_addons_sections
filterapply_filters( 'woocommerce_addons_sections', $addon_sections ); -
woocommerce_address_to_edit
filterapply_filters( 'woocommerce_address_to_edit', $address, $load_address ); -
do_action( 'woocommerce_admin_after_product_gallery_item', $thepostid, $attachment_id ); -
woocommerce_admin_css
actiondo_action( 'woocommerce_admin_css' ); -
apply_filters( 'woocommerce_admin_download_permissions_title', $product->get_name(), $download->get_product_id(), $download->get_order_id(), $download->get_order_key(), $download->get_download_id() ); -
apply_filters( 'woocommerce_admin_downloads_report_downloads_per_page', 20 ); -
woocommerce_admin_export_id
filterapply_filters( 'woocommerce_admin_export_id', $default_export_id ); -
do_action( "woocommerce_admin_field_{$value['type']}", $value ); -
apply_filters( 'woocommerce_admin_html_order_item_class', ! empty( $class ) ? $class : '', $item, $order ); -
apply_filters( 'woocommerce_admin_html_order_preview_item_class', '', $item, $order ); -
woocommerce_admin_key_fields
actiondo_action( 'woocommerce_admin_key_fields', $key_data ); -
apply_filters( 'woocommerce_admin_meta_boxes_prepare_attribute', $attribute, $data, $i ); -
apply_filters( 'woocommerce_admin_meta_boxes_variations_count', $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(ID) FROM $wpdb->posts WHERE post_parent = %d AND post_type = 'product_variation' AND post_status IN ('publish', 'private')", $post->ID ) ), $post->ID ); -
do_action_deprecated( 'woocommerce_admin_newly_installed', array(), '6.5.0', 'woocommerce_newly_installed' ); -
apply_filters( 'woocommerce_admin_onboarding_industry_image', WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/other-small.jpg', $industry_slug ); -
apply_filters( 'woocommerce_admin_onboarding_jetpack_connect_redirect_url', esc_url_raw( $request['redirect_url'] ) ); -
apply_filters( 'woocommerce_admin_onboarding_preloaded_data', $settings ); -
apply_filters( 'woocommerce_admin_onboarding_product_types', $products ); -
apply_filters( 'woocommerce_admin_onboarding_tasks', $json ); -
do_action( 'woocommerce_admin_order_data_after_billing_address', $order ); -
do_action( 'woocommerce_admin_order_data_after_order_details', $order ); -
do_action( 'woocommerce_admin_order_data_after_shipping_address', $order ); -
apply_filters( 'woocommerce_admin_order_date_format', __( 'M j, Y', 'woocommerce' ) ); -
apply_filters( 'woocommerce_admin_order_item_coupon_url', add_query_arg( array( 'post' => $post_id, 'action' => 'edit', ), admin_url( 'post.php' ) ), $item, $order ); -
do_action( 'woocommerce_admin_order_item_headers', $order ); -
apply_filters( 'woocommerce_admin_order_item_thumbnail', $product->get_image( 'thumbnail', array( 'title' => '' ), false ), $item_id, $item ); -
apply_filters( 'woocommerce_admin_order_item_types', 'line_item' ); -
do_action( 'woocommerce_admin_order_items_after_fees', $order->get_id() ); -
do_action( 'woocommerce_admin_order_items_after_line_items', $order->get_id() ); -
do_action( 'woocommerce_admin_order_items_after_refunds', $order->get_id() ); -
do_action( 'woocommerce_admin_order_items_after_shipping', $order->get_id() ); -
apply_filters( 'woocommerce_admin_order_preview_actions', $actions, $order ); -
do_action( 'woocommerce_admin_order_preview_end' ); -
apply_filters( "woocommerce_admin_order_preview_line_item_column_{sanitize_key($column)}", '', $item, $item_id, $order ); -
apply_filters( 'woocommerce_admin_order_preview_line_item_columns', array( 'product' => __( 'Product', 'woocommerce' ), 'quantity' => __( 'Quantity', 'woocommerce' ), 'tax' => __( 'Tax', 'woocommerce' ), 'total' => __( 'Total', 'woocommerce' ), ), $order ); -
apply_filters( 'woocommerce_admin_order_preview_line_items', $order->get_items(), $order ); -
do_action( 'woocommerce_admin_order_preview_start' ); -
do_action( 'woocommerce_admin_order_totals_after_discount', $order->get_id() ); -
do_action( 'woocommerce_admin_order_totals_after_refunded', $order->get_id() ); -
do_action( 'woocommerce_admin_order_totals_after_shipping', $order->get_id() ); -
do_action( 'woocommerce_admin_order_totals_after_tax', $order->get_id() ); -
do_action( 'woocommerce_admin_order_totals_after_total', $order->get_id() ); -
do_action( 'woocommerce_admin_payment_gateway_connection_return', $gateway_id ); -
apply_filters( 'woocommerce_admin_report_chart_data', $data ); -
apply_filters( 'woocommerce_admin_report_columns', $this->report_columns, $this->context, self::get_db_table_name() ); -
apply_filters( 'woocommerce_admin_report_customer_list_user_query_args', array( 'exclude' => $privileged_users->get_results(), 'number' => $per_page, 'offset' => ( $current_page - 1 ) * $per_page, ) ); -
apply_filters( 'woocommerce_admin_report_customers_user_query_args', array( 'fields' => array( 'user_registered' ), 'exclude' => $privileged_users->get_results(), ) ); -
apply_filters( 'woocommerce_admin_report_data', $this->report_data ); -
do_action( "woocommerce_admin_status_content_{$current_tab}" ); -
apply_filters( 'woocommerce_admin_stock_report_product_actions', $actions, $product ); -
apply_filters( 'woocommerce_admin_stock_report_products_per_page', 20 ); -
apply_filters( 'woocommerce_admin_survey_query', $query ); -
apply_filters( 'woocommerce_admin_third_party_tax_setup_complete', false ); -
woocommerce_admin_updated
actiondo_action_deprecated( 'woocommerce_admin_updated', array(), $wc_code_version, 'woocommerce_updated' ); -
apply_filters( 'woocommerce_admin_user_actions', $actions, $user ); -
do_action( 'woocommerce_admin_user_actions_end', $user ); -
do_action( 'woocommerce_admin_user_actions_start', $user ); -
do_action( 'woocommerce_after_account_downloads', $has_downloads ); -
do_action( 'woocommerce_after_account_orders', $has_orders ); -
do_action( 'woocommerce_after_account_payment_methods', $has_methods ); -
do_action( 'woocommerce_after_add_attribute_fields' ); -
do_action( 'woocommerce_after_calculate_totals', $this ); -
woocommerce_after_cart
actiondo_action( 'woocommerce_after_cart' ); -
do_action( 'woocommerce_after_cart_contents' ); -
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ); -
do_action( 'woocommerce_after_cart_item_quantity_update', $cart_item_key, $quantity, $old_quantity, $this ); -
woocommerce_after_cart_table
actiondo_action( 'woocommerce_after_cart_table' ); -
do_action( 'woocommerce_after_cart_totals' ); -
do_action( 'woocommerce_after_checkout_billing_form', $checkout ); -
do_action( 'woocommerce_after_checkout_form', $checkout ); -
do_action( 'woocommerce_after_checkout_registration_form', $checkout ); -
do_action( 'woocommerce_after_checkout_shipping_form', $checkout ); -
do_action( 'woocommerce_after_checkout_validation', $data, $errors ); -
do_action( 'woocommerce_after_customer_login_form' ); -
do_action( 'woocommerce_after_dashboard_status_widget', $reports ); -
do_action( 'woocommerce_after_edit_account_address_form' ); -
do_action( 'woocommerce_after_edit_account_form' ); -
do_action( "woocommerce_after_edit_address_form_{$load_address}" ); -
do_action( 'woocommerce_after_edit_attribute_fields' ); -
do_action( 'woocommerce_after_lost_password_confirmation_message' ); -
do_action( 'woocommerce_after_lost_password_form' ); -
woocommerce_after_mini_cart
actiondo_action( 'woocommerce_after_mini_cart' ); -
do_action( 'woocommerce_after_order_fee_item_name', $item_id, $item, null ); -
do_action( 'woocommerce_after_order_notes', $checkout ); -
do_action( 'woocommerce_after_order_refund_item_name', $refund ); -
apply_filters( 'woocommerce_after_output_product_categories', '' ); -
woocommerce_after_pay_action
actiondo_action( 'woocommerce_after_pay_action', $order ); -
do_action( 'woocommerce_after_register_post_type' ); -
do_action( 'woocommerce_after_register_taxonomy' ); -
do_action( 'woocommerce_after_reset_password_form' ); -
do_action( "woocommerce_after_settings_{$current_tab}" ); -
do_action( 'woocommerce_after_shipping_calculator' ); -
do_action( 'woocommerce_after_shipping_rate', $method, $index ); -
do_action( 'woocommerce_after_single_product' ); -
do_action( 'woocommerce_after_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] ); -
apply_filters( 'woocommerce_after_widget_product_review_list', '</ul>' ); -
do_action( 'woocommerce_ajax_add_order_item_meta', $item_id, $item, $order ); -
apply_filters( 'woocommerce_ajax_add_order_item_validation', $validation_error, $product, $order, $qty ); -
do_action( 'woocommerce_ajax_added_to_cart', $product_id ); -
apply_filters( 'woocommerce_ajax_get_customer_details', $data, $customer, $user_id ); -
apply_filters( 'woocommerce_ajax_get_endpoint', add_query_arg( 'wc-ajax', $request, remove_query_arg( array( 'remove_item', 'add-to-cart', 'added-to-cart', 'order_again', '_wpnonce' ), home_url( '/', 'relative' ) ) ), $request ); -
woocommerce_ajax_order_item
filterapply_filters( 'woocommerce_ajax_order_item', $order->get_item( $item_id ), $item_id, $order, $product ); -
do_action( 'woocommerce_ajax_order_items_added', $added_items, $order ); -
do_action( 'woocommerce_ajax_revoke_access_to_product_download', $download_id, $product_id, $order_id, $permission_id ); -
do_action( 'woocommerce_ajax_save_product_variations', $product_id ); -
apply_filters( 'woocommerce_ajax_variation_threshold', 30, $product ); -
apply_filters( 'woocommerce_allow_payment_recommendations', true ); -
apply_filters( 'woocommerce_analytics_categories_select_query', $results, $args ); -
apply_filters( 'woocommerce_analytics_coupons_stats_query_args', $this->get_query_vars() ); -
apply_filters( 'woocommerce_analytics_customers_query_args', array( 'orderby' => 'total_spend', 'order' => 'desc', 'order_after' => $after, 'order_before' => $before, 'per_page' => $per_page, ) ); -
apply_filters( 'woocommerce_analytics_customers_stats_query_args', $this->get_query_vars() ); -
apply_filters( 'woocommerce_analytics_customers_stats_select_query', $results, $args ); -
apply_filters( 'woocommerce_analytics_downloads_query_args', $this->get_query_vars() ); -
apply_filters( 'woocommerce_analytics_downloads_select_query', $results, $args ); -
apply_filters( 'woocommerce_analytics_downloads_stats_query_args', $this->get_query_vars() ); -
apply_filters( 'woocommerce_analytics_downloads_stats_select_query', $results, $args ); -
apply_filters( 'woocommerce_analytics_import_customer_roles', array( 'customer' ) ); -
apply_filters( 'woocommerce_analytics_products_select_query', $results, $args ); -
apply_filters( 'woocommerce_analytics_products_stats_query_args', $this->get_query_vars() ); -
apply_filters( 'woocommerce_analytics_products_stats_select_query', $results, $args ); -
apply_filters( 'woocommerce_analytics_report_schedulers', array( new CustomersScheduler(), new OrdersScheduler(), ) ); -
apply_filters( 'woocommerce_analytics_revenue_query_args', $this->get_query_vars() ); -
apply_filters( 'woocommerce_analytics_revenue_select_query', $results, $args ); -
apply_filters( 'woocommerce_analytics_stock_stats_query', $results ); -
apply_filters( 'woocommerce_analytics_taxes_query_args', $this->get_query_vars() ); -
apply_filters( 'woocommerce_analytics_taxes_select_query', $results, $args ); -
apply_filters( 'woocommerce_analytics_taxes_stats_query_args', $this->get_query_vars() ); -
apply_filters( 'woocommerce_analytics_taxes_stats_select_query', $results, $args ); -
apply_filters( 'woocommerce_analytics_variations_query_args', $this->get_query_vars() ); -
apply_filters( 'woocommerce_analytics_variations_select_query', $results, $args ); -
apply_filters( 'woocommerce_analytics_variations_stats_query_args', $this->get_query_vars() ); -
apply_filters( 'woocommerce_analytics_variations_stats_select_query', $results, $args ); -
apply_filters( 'woocommerce_anonymize_completed_orders_query_args', array( 'date_created' => '<' . strtotime( '-' . $option['number'] . ' ' . $option['unit'] ), 'limit' => $limit, 'status' => OrderInternalStatus::COMPLETED, 'anonymized' => false, 'type' => 'shop_order', ) ); -
do_action( "woocommerce_api_{$api_request}" ); -
apply_filters( 'woocommerce_api_permissions_in_scope', $permissions, $scope ); -
woocommerce_api_request
actiondo_action( 'woocommerce_api_request', $api_request ); -
do_action( 'woocommerce_api_wc_gateway_paypal' ); -
woocommerce_attribute
filterapply_filters( 'woocommerce_attribute', wpautop( wptexturize( implode( ', ', $values ) ) ), $attribute, $values ); -
apply_filters( 'woocommerce_attribute_default_is_variation', ProductType::VARIABLE === $product_type ? 1 : 0, $product_type ); -
apply_filters( 'woocommerce_attribute_default_visibility', 1 ); -
woocommerce_attribute_label
filterapply_filters( 'woocommerce_attribute_label', $label, $name, $product ); -
apply_filters( 'woocommerce_attribute_orderby', isset( $taxonomies[ 'id:' . $id ] ) ? $taxonomies[ 'id:' . $id ]->attribute_orderby : 'menu_order', $name ); -
apply_filters( 'woocommerce_available_download_count', '<span class="woocommerce-Count count">' . sprintf( _n( '%s download remaining', '%s downloads remaining', $download['downloads_remaining'], 'woocommerce' ), $download['downloads_remaining'] ) . '</span> ', $download ); -
do_action( 'woocommerce_available_download_end', $download ); -
apply_filters( 'woocommerce_available_download_link', '<a href="' . esc_url( $download['download_url'] ) . '">' . $download['download_name'] . '</a>', $download ); -
do_action( 'woocommerce_available_download_start', $download ); -
do_action( 'woocommerce_available_downloads', $downloads ); -
apply_filters( 'woocommerce_available_payment_gateways', $_available_gateways ); -
apply_filters( 'woocommerce_available_variation', array( 'attributes' => $variation->get_variation_attributes(), 'availability_html' => wc_get_stock_html( $variation ), 'backorders_allowed' => $variation->backorders_allowed(), 'dimensions' => $variation->get_dimensions( false ), 'dimensions_html' => wc_format_dimensions( $variation->get_dimensions( false ) ), 'display_price' => wc_get_price_to_display( $variation ), 'display_regular_price' => ... ); -
apply_filters( 'woocommerce_bacs_account_fields', array( 'bank_name' => array( 'label' => __( 'Bank', 'woocommerce' ), 'value' => $bacs_account->bank_name, ), 'account_number' => array( 'label' => __( 'Account number', 'woocommerce' ), 'value' => $bacs_account->account_number, ), 'sort_code' => array( 'label' => $sortcode, 'value' => $bacs_account->sort_code, ), 'iban' => array( 'label' => __( 'IBAN', 'woocommerce' ), 'value' => $bacs_account-... ); -
woocommerce_bacs_accounts
filterapply_filters( 'woocommerce_bacs_accounts', $this->account_details, $order_id ); -
woocommerce_bacs_icon
filterapply_filters( 'woocommerce_bacs_icon', '' ); -
woocommerce_base_tax_rates
filterapply_filters( 'woocommerce_base_tax_rates', self::find_rates( array( 'country' => WC()->countries->get_base_country(), 'state' => WC()->countries->get_base_state(), 'postcode' => WC()->countries->get_base_postcode(), 'city' => WC()->countries->get_base_city(), 'tax_class' => $tax_class, ) ), $tax_class ); -
do_action( 'woocommerce_before_account_downloads', $has_downloads ); -
do_action( 'woocommerce_before_account_orders', $has_orders ); -
do_action( 'woocommerce_before_account_orders_pagination' ); -
do_action( 'woocommerce_before_account_payment_methods', $has_methods ); -
do_action( 'woocommerce_before_add_attribute_fields' ); -
do_action( 'woocommerce_before_calculate_totals', $this ); -
woocommerce_before_cart
actiondo_action( 'woocommerce_before_cart' ); -
do_action( 'woocommerce_before_cart_collaterals' ); -
do_action( 'woocommerce_before_cart_contents' ); -
do_action( 'woocommerce_before_cart_table' ); -
do_action( 'woocommerce_before_cart_totals' ); -
do_action( 'woocommerce_before_checkout_billing_form', $checkout ); -
do_action( 'woocommerce_before_checkout_form', $checkout ); -
do_action( 'woocommerce_before_checkout_form_cart_notices' ); -
do_action( 'woocommerce_before_checkout_process' ); -
do_action( 'woocommerce_before_checkout_registration_form', $checkout ); -
do_action( 'woocommerce_before_checkout_shipping_form', $checkout ); -
do_action( 'woocommerce_before_customer_login_form' ); -
do_action( "woocommerce_before_delete_{$post_type}", $id ); -
do_action( 'woocommerce_before_edit_account_address_form' ); -
do_action( "woocommerce_before_edit_address_form_{$load_address}" ); -
do_action( 'woocommerce_before_edit_attribute_fields' ); -
do_action( 'woocommerce_before_lost_password_confirmation_message' ); -
do_action( 'woocommerce_before_lost_password_form' ); -
woocommerce_before_mini_cart
actiondo_action( 'woocommerce_before_mini_cart' ); -
do_action( 'woocommerce_before_mini_cart_contents' ); -
do_action( "woocommerce_before_order_item_{$item->get_type()}_html", $item_id, $item, $order ); -
do_action( 'woocommerce_before_order_notes', $checkout ); -
apply_filters( 'woocommerce_before_output_product_categories', '' ); -
do_action( 'woocommerce_before_pay_action', $order ); -
do_action( 'woocommerce_before_reset_password_form' ); -
do_action( 'woocommerce_before_save_order_item', $item ); -
do_action( 'woocommerce_before_save_order_items', $order_id, $items ); -
do_action( "woocommerce_before_settings_{$current_tab}" ); -
do_action( 'woocommerce_before_shipping_calculator' ); -
do_action( 'woocommerce_before_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] ); -
woocommerce_before_thankyou
actiondo_action( 'woocommerce_before_thankyou', $order->get_id() ); -
apply_filters( 'woocommerce_before_widget_product_review_list', '<ul class="product_list_widget">' ); -
apply_filters( 'woocommerce_brands_list_alphabet', range( 'a', 'z' ) ); -
apply_filters( 'woocommerce_brands_list_locale', 'en_US.UTF-8' ); -
apply_filters( 'woocommerce_brands_list_numbers', '0-9' ); -
apply_filters( 'woocommerce_breadcrumb_defaults', array( 'delimiter' => ' / ', 'wrap_before' => '<nav class="woocommerce-breadcrumb" aria-label="Breadcrumb">', 'wrap_after' => '</nav>', 'before' => '', 'after' => '', 'home' => _x( 'Home', 'breadcrumb', 'woocommerce' ), ) ); -
do_action( 'woocommerce_bulk_edit_variations', $bulk_action, $data, $product_id, $variations ); -
do_action( 'woocommerce_bulk_edit_variations_default', $bulk_action, $data, $product_id, $variations ); -
apply_filters( 'woocommerce_bulk_edit_variations_need_children', true ); -
woocommerce_cached_widget_id
filterapply_filters( 'woocommerce_cached_widget_id', $widget_id_for_cache ); -
apply_filters( 'woocommerce_calc_shipping_tax', $taxes, $price, $rates ); -
woocommerce_calc_tax
filterapply_filters( 'woocommerce_calc_tax', $taxes, $price, $rates, $price_includes_tax, $deprecated ); -
apply_filters( 'woocommerce_calculate_item_totals_taxes', WC_Tax::calc_tax( $item->total, $item->tax_rates, $item->price_includes_tax ), $item, $this ); -
woocommerce_calculate_totals
actiondo_action( 'woocommerce_calculate_totals', $this->cart ); -
do_action( 'woocommerce_calculated_shipping' ); -
woocommerce_calculated_total
filterapply_filters( 'woocommerce_calculated_total', $this->get_total( 'total' ), $this->cart ); -
apply_filters( 'woocommerce_can_reduce_order_stock', true, $order ); -
apply_filters( 'woocommerce_can_restock_refunded_items', true, $order, $refunded_line_items ); -
apply_filters( 'woocommerce_can_restore_order_stock', true, $order ); -
woocommerce_cancelled_order
actiondo_action( 'woocommerce_cancelled_order', $order->get_id() ); -
woocommerce_cart_actions
actiondo_action( 'woocommerce_cart_actions' ); -
do_action( 'woocommerce_cart_calculate_fees', $this ); -
apply_filters( 'woocommerce_cart_calculate_shipping_address', $address ); -
woocommerce_cart_contents
actiondo_action( 'woocommerce_cart_contents' ); -
apply_filters( 'woocommerce_cart_contents_count', array_sum( wp_list_pluck( $this->get_cart(), 'quantity' ) ) ); -
apply_filters( 'woocommerce_cart_contents_total', wc_price( wc_prices_include_tax() ? $this->get_cart_contents_total() + $this->get_cart_contents_tax() : $this->get_cart_contents_total() ) ); -
apply_filters( 'woocommerce_cart_contents_weight', $weight ); -
woocommerce_cart_coupon
actiondo_action( 'woocommerce_cart_coupon' ); -
apply_filters( 'woocommerce_cart_coupon_types', array( 'fixed_cart' ) ); -
apply_filters( 'woocommerce_cart_crosssell_ids', wp_parse_id_list( $cross_sells ), $this ); -
apply_filters( 'woocommerce_cart_discounts_before_tax', $discounts_before_tax, $this ); -
apply_filters( 'woocommerce_cart_fragment_name', 'wc_fragments_' . md5( get_current_blog_id() . '_' . get_site_url( get_current_blog_id(), '/' ) . get_template() ) ); -
woocommerce_cart_get_taxes
filterapply_filters( 'woocommerce_cart_get_taxes', wc_array_merge_recursive_numeric( $this->get_shipping_taxes(), $this->get_cart_contents_taxes(), $this->get_fee_taxes() ), $this ); -
woocommerce_cart_has_errors
actiondo_action( 'woocommerce_cart_has_errors' ); -
woocommerce_cart_hash
filterapply_filters( 'woocommerce_cart_hash', $hash, $cart_session ); -
woocommerce_cart_hash_key
filterapply_filters( 'woocommerce_cart_hash_key', 'wc_cart_hash_' . md5( get_current_blog_id() . '_' . get_site_url( get_current_blog_id(), '/' ) . get_template() ) ); -
apply_filters( 'woocommerce_cart_hide_zero_taxes', true ); -
woocommerce_cart_id
filterapply_filters( 'woocommerce_cart_id', md5( implode( '_', $id_parts ) ), $product_id, $variation_id, $variation, $cart_item_data ); -
woocommerce_cart_is_empty
actiondo_action( 'woocommerce_cart_is_empty' ); -
apply_filters( 'woocommerce_cart_item_data_to_validate', array( 'type' => $product->get_type(), 'attributes' => ProductType::VARIATION === $product->get_type() ? $product->get_variation_attributes() : '', ), $product ); -
apply_filters( 'woocommerce_cart_item_is_purchasable', $product->is_purchasable(), $key, $values, $product ); -
apply_filters( 'woocommerce_cart_item_quantity', $product_quantity, $cart_item_key, $cart_item ); -
do_action( 'woocommerce_cart_item_removed', $cart_item_key, $this ); -
apply_filters( 'woocommerce_cart_item_removed_notice_type', 'success' ); -
apply_filters( 'woocommerce_cart_item_removed_title', $product ? sprintf( _x( '“%s”', 'Item name in quotes', 'woocommerce' ), $product->get_name() ) : __( 'Item', 'woocommerce' ), $cart_item ); -
do_action( 'woocommerce_cart_item_restored', $cart_item_key, $this ); -
apply_filters( 'woocommerce_cart_needs_shipping', $needs_shipping ); -
apply_filters( 'woocommerce_cart_needs_shipping_address', true === $this->needs_shipping() && ! wc_ship_to_billing_address_only() ); -
apply_filters( 'woocommerce_cart_product_price', wc_price( $product_price ), $product ); -
apply_filters( 'woocommerce_cart_product_subtotal', $product_subtotal, $product, $quantity, $this ); -
apply_filters( 'woocommerce_cart_redirect_after_error', get_permalink( $product_id ), $product_id ); -
woocommerce_cart_reset
actiondo_action( 'woocommerce_cart_reset', $this, false ); -
apply_filters( 'woocommerce_cart_shipping_method_full_label', $label, $method ); -
apply_filters( 'woocommerce_cart_shipping_total', $total, $this ); -
woocommerce_cart_subtotal
filterapply_filters( 'woocommerce_cart_subtotal', $cart_subtotal, $compound, $this ); -
woocommerce_cart_tax_totals
filterapply_filters( 'woocommerce_cart_tax_totals', $tax_totals, $this ); -
woocommerce_cart_taxes_total
filterapply_filters( 'woocommerce_cart_taxes_total', $total, $compound, $display, $this ); -
woocommerce_cart_total
filterapply_filters( 'woocommerce_cart_total', wc_price( $total ) ); -
apply_filters( 'woocommerce_cart_total_discount', $this->get_discount_total() ? wc_price( $this->get_discount_total() ) : false, $this ); -
apply_filters( 'woocommerce_cart_total_ex_tax', wc_price( max( 0, $this->get_total( 'edit' ) - $this->get_total_tax() ) ) ); -
do_action( 'woocommerce_cart_totals_after_order_total' ); -
do_action( 'woocommerce_cart_totals_after_shipping' ); -
do_action( 'woocommerce_cart_totals_before_order_total' ); -
do_action( 'woocommerce_cart_totals_before_shipping' ); -
apply_filters( 'woocommerce_cart_totals_coupon_html', $coupon_html, $coupon, $discount_amount_html ); -
apply_filters( 'woocommerce_cart_totals_coupon_label', sprintf( esc_html__( 'Coupon: %s', 'woocommerce' ), $coupon->get_code() ), $coupon ); -
apply_filters( 'woocommerce_cart_totals_fee_html', $cart_totals_fee_html, $fee ); -
apply_filters( 'woocommerce_cart_totals_get_fees_from_cart_taxes', $fee->taxes, $fee, $this ); -
apply_filters( 'woocommerce_cart_totals_get_item_tax_rates', $item_tax_rates, $item, $this->cart ); -
apply_filters( 'woocommerce_cart_totals_order_total_html', $value ); -
apply_filters( 'woocommerce_cart_totals_taxes_total_html', wc_price( WC()->cart->get_taxes_total() ) ); -
apply_filters( 'woocommerce_cart_updated_notice_type', 'success' ); -
woocommerce_caught_exception
actiondo_action( 'woocommerce_caught_exception', $exception_object, $function, $args ); -
do_action( 'woocommerce_checkout_after_customer_details' ); -
do_action( 'woocommerce_checkout_after_order_review' ); -
do_action( 'woocommerce_checkout_after_terms_and_conditions' ); -
do_action( 'woocommerce_checkout_before_customer_details' ); -
do_action( 'woocommerce_checkout_before_order_review' ); -
do_action( 'woocommerce_checkout_before_order_review_heading' ); -
do_action( 'woocommerce_checkout_before_terms_and_conditions' ); -
woocommerce_checkout_billing
actiondo_action( 'woocommerce_checkout_billing' ); -
apply_filters( 'woocommerce_checkout_cart_item_quantity', ' <strong class="product-quantity">' . sprintf( '× %s', esc_html( $cart_item['quantity'] ) ) . '</strong>', $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_checkout_get_value', null, $input ); -
apply_filters( 'woocommerce_checkout_login_message', esc_html__( 'Returning customer?', 'woocommerce' ) ); -
do_action( 'woocommerce_checkout_order_review' ); -
apply_filters( 'woocommerce_checkout_postcode_validation_notice', $postcode_validation_notice, $country, $data[ $key ] ); -
apply_filters( 'woocommerce_checkout_posted_data', $data ); -
woocommerce_checkout_process
actiondo_action( 'woocommerce_checkout_process' ); -
apply_filters( 'woocommerce_checkout_required_field_notice', sprintf( __( '%s is a required field.', 'woocommerce' ), '<strong>' . esc_html( $field_label ) . '</strong>' ), $field_label, $key ); -
do_action( 'woocommerce_checkout_shipping' ); -
apply_filters( 'woocommerce_checkout_show_terms', true ); -
apply_filters( 'woocommerce_checkout_update_customer_data', true, $this ); -
do_action( 'woocommerce_checkout_update_order_review', isset( $_POST['post_data'] ) ? wp_unslash( $_POST['post_data'] ) : '' ); -
apply_filters( 'woocommerce_checkout_update_order_review_expired', true ); -
do_action( 'woocommerce_checkout_update_user_meta', $customer_id, $data ); -
woocommerce_cheque_icon
filterapply_filters( 'woocommerce_cheque_icon', '' ); -
do_action( 'woocommerce_cleanup_rate_limits' ); -
woocommerce_cod_icon
filterapply_filters( 'woocommerce_cod_icon', '' ); -
apply_filters( 'woocommerce_com_integration_settings', $settings ); -
apply_filters( 'woocommerce_comment_pagination_args', array( 'prev_text' => is_rtl() ? '→' : '←', 'next_text' => is_rtl() ? '←' : '→', 'type' => 'list', ) ); -
apply_filters( 'woocommerce_continue_shopping_redirect', wc_get_raw_referer() ? wp_validate_redirect( wc_get_raw_referer(), false ) : wc_get_page_permalink( 'shop' ) ); -
apply_filters( 'woocommerce_countries_allowed_country_states', $states ); -
apply_filters( 'woocommerce_countries_base_address', $base_address ); -
apply_filters( 'woocommerce_countries_base_address_2', $base_address_2 ); -
apply_filters( 'woocommerce_countries_base_city', $base_city ); -
apply_filters( 'woocommerce_countries_base_country', $default['country'] ); -
apply_filters( 'woocommerce_countries_base_postcode', $base_postcode ); -
apply_filters( 'woocommerce_countries_base_state', $default['state'] ); -
apply_filters( 'woocommerce_countries_estimated_for_prefix', $return, $country_code ); -
apply_filters( 'woocommerce_countries_ex_tax_or_vat', $return ); -
apply_filters( 'woocommerce_countries_inc_tax_or_vat', $return ); -
apply_filters( 'woocommerce_countries_shipping_country_states', $states ); -
apply_filters( 'woocommerce_countries_shipping_to_prefix', $return, $country_code ); -
apply_filters( 'woocommerce_countries_tax_or_vat', $return ); -
apply_filters( 'woocommerce_countries_using_vat', $countries ); -
apply_filters( 'woocommerce_country_locale_field_selectors', $locale_fields ); -
woocommerce_coupon_code
filterapply_filters( 'woocommerce_coupon_code', $value ); -
apply_filters( 'woocommerce_coupon_code_generator_character_length', 8 ); -
apply_filters( 'woocommerce_coupon_code_generator_characters', 'ABCDEFGHJKMNPQRSTUVWXYZ23456789' ); -
apply_filters( 'woocommerce_coupon_code_generator_prefix', '' ); -
apply_filters( 'woocommerce_coupon_code_generator_suffix', '' ); -
apply_filters( 'woocommerce_coupon_custom_discounts_array', $this->discounts[ $coupon->get_code() ], $coupon ); -
do_action( 'woocommerce_coupon_data_panels', $coupon->get_id(), $coupon ); -
woocommerce_coupon_data_tabs
filterapply_filters( 'woocommerce_coupon_data_tabs', array( 'general' => array( 'label' => __( 'General', 'woocommerce' ), 'target' => 'general_coupon_data', 'class' => 'general_coupon_data', ), 'usage_restriction' => array( 'label' => __( 'Usage restriction', 'woocommerce' ), 'target' => 'usage_restriction_coupon_data', 'class' => '', ), 'usage_limit' => array( 'label' => __( 'Usage limits', 'woocommerce' ), 'target' => 'usage_limit_coupon_data'... ); -
apply_filters( 'woocommerce_coupon_discount_amount_html', $discount_amount_html, $coupon ); -
apply_filters( 'woocommerce_coupon_discount_types', array( 'percent' => __( 'Percentage discount', 'woocommerce' ), 'fixed_cart' => __( 'Fixed cart discount', 'woocommerce' ), 'fixed_product' => __( 'Fixed product discount', 'woocommerce' ), ) ); -
apply_filters( 'woocommerce_coupon_get_items_to_validate', $this->get_items(), $this ); -
woocommerce_coupon_is_valid
filterapply_filters( 'woocommerce_coupon_is_valid', true, $coupon, $this ); -
apply_filters( 'woocommerce_coupon_is_valid_for_cart', $this->is_type( wc_get_cart_coupon_types() ), $this ); -
woocommerce_coupon_loaded
actiondo_action( 'woocommerce_coupon_loaded', $coupon ); -
woocommerce_coupon_message
filterapply_filters( 'woocommerce_coupon_message', $msg, $msg_code, $this ); -
woocommerce_coupon_options
actiondo_action( 'woocommerce_coupon_options', $coupon->get_id(), $coupon ); -
do_action( 'woocommerce_coupon_options_save', $post_id, $coupon ); -
do_action( 'woocommerce_coupon_options_usage_limit', $coupon->get_id(), $coupon ); -
do_action( 'woocommerce_coupon_options_usage_restriction', $coupon->get_id(), $coupon ); -
woocommerce_coupon_sort
filterapply_filters( 'woocommerce_coupon_sort', $coupon->sort, $coupon ); -
apply_filters( 'woocommerce_coupon_validate_expiry_date', time() > $coupon->get_date_expires()->getTimestamp(), $coupon, $this ); -
apply_filters( 'woocommerce_coupon_validate_maximum_amount', $coupon->get_maximum_amount() < $subtotal, $coupon ); -
apply_filters( 'woocommerce_coupon_validate_minimum_amount', $coupon->get_minimum_amount() > $subtotal, $coupon, $subtotal ); -
apply_filters( 'woocommerce_coupon_validate_user_usage_limit', $coupon->get_usage_limit_per_user() > 0, $user_id, $coupon, $this ); -
woocommerce_coupons_enabled
filterapply_filters( 'woocommerce_coupons_enabled', 'yes' === get_option( 'woocommerce_enable_coupons' ) ); -
apply_filters( 'woocommerce_create_account_default_checked', false ); -
woocommerce_create_page_id
filterapply_filters( 'woocommerce_create_page_id', $valid_page_found, $slug, $page_content ); -
do_action( 'woocommerce_credit_card_form_end', $this->id ); -
apply_filters( 'woocommerce_credit_card_form_fields', $default_fields, $this->id ); -
do_action( 'woocommerce_credit_card_form_start', $this->id ); -
apply_filters( 'woocommerce_credit_card_type_labels', array( 'mastercard' => _x( 'Mastercard', 'Name of credit card', 'woocommerce' ), 'visa' => _x( 'Visa', 'Name of credit card', 'woocommerce' ), 'discover' => _x( 'Discover', 'Name of credit card', 'woocommerce' ), 'american express' => _x( 'American Express', 'Name of credit card', 'woocommerce' ), 'cartes bancaires' => _x( 'Cartes Bancaires', 'Name of credit card', 'woocommerce' ), 'diners' => ... ); -
apply_filters( 'woocommerce_cross_sells_columns', $columns ); -
apply_filters( 'woocommerce_cross_sells_order', $order ); -
apply_filters( 'woocommerce_cross_sells_orderby', $orderby ); -
apply_filters( 'woocommerce_csv_product_import_mapped_columns', $headers, $raw_headers ); -
apply_filters( 'woocommerce_csv_product_import_mapping_default_columns', $default_columns, $raw_headers ); -
apply_filters( 'woocommerce_csv_product_import_mapping_options', $options, $item ); -
apply_filters( 'woocommerce_csv_product_import_mapping_special_columns', array( __( 'Attribute %d name', 'woocommerce' ) => 'attributes:name', __( 'Attribute %d value(s)', 'woocommerce' ) => 'attributes:value', __( 'Attribute %d visible', 'woocommerce' ) => 'attributes:visible', __( 'Attribute %d global', 'woocommerce' ) => 'attributes:taxonomy', __( 'Attribute %d default', 'woocommerce' ) => 'attributes:default', __( 'Download %d ID', 'woocommerce' ) => 'downloads:... ); -
apply_filters( 'woocommerce_csv_product_import_valid_filetypes', array( 'csv' => 'text/csv', 'txt' => 'text/plain', ) ); -
woocommerce_currency
filterapply_filters( 'woocommerce_currency', get_option( 'woocommerce_currency' ) ); -
woocommerce_currency_symbol
filterapply_filters( 'woocommerce_currency_symbol', $currency_symbol, $currency ); -
woocommerce_currency_symbols
filterapply_filters( 'woocommerce_currency_symbols', array( 'AED' => 'د.إ', 'AFN' => '؋', 'ALL' => 'L', 'AMD' => 'AMD', 'ANG' => 'ƒ', 'AOA' => 'Kz', 'ARS' => '$', 'AUD' => '$', 'AWG' => 'Afl.', 'AZN' => '₼', 'BAM' => 'KM', 'BBD' => '$', 'BDT' => '৳ ', 'BGN' => 'лв.', 'BHD' => '.د.ب', 'BIF' => 'Fr', 'BMD' => '$', 'BND' => '$', 'BOB' => 'Bs.', 'BRL' => 'R$',... ); -
apply_filters( 'woocommerce_customer_available_downloads', $downloads, $customer_id ); -
apply_filters( 'woocommerce_customer_edit_account_url', $edit_account_url ); -
apply_filters( 'woocommerce_customer_get_downloadable_products', $downloads ); -
woocommerce_customer_loaded
actiondo_action( 'woocommerce_customer_loaded', $customer ); -
apply_filters( 'woocommerce_customer_meta_fields', array( 'billing' => array( 'title' => __( 'Customer billing address', 'woocommerce' ), 'fields' => array( 'billing_first_name' => array( 'label' => __( 'First name', 'woocommerce' ), 'description' => '', ), 'billing_last_name' => array( 'label' => __( 'Last name', 'woocommerce' ), 'description' => '', ), 'billing_company' => array( 'label' => __( 'Company', 'woocommerce' ), 'description' => '',... ); -
do_action( 'woocommerce_customer_object_updated_props', $customer, $updated_props ); -
apply_filters( 'woocommerce_customer_pre_search_customers', false, $term, $limit ); -
do_action( 'woocommerce_customer_reset_password', $user ); -
apply_filters( "woocommerce_data_store_wp_{$this->meta_type}_read_meta", $meta_data, $object, $this ); -
woocommerce_data_stores
filterapply_filters( 'woocommerce_data_stores', $this->stores ); -
woocommerce_database_tables
filterapply_filters( 'woocommerce_database_tables', array( 'woocommerce_sessions', 'woocommerce_api_keys', 'woocommerce_attribute_taxonomies', 'woocommerce_downloadable_product_permissions', 'woocommerce_order_items', 'woocommerce_order_itemmeta', 'woocommerce_tax_rates', 'woocommerce_tax_rate_locations', 'woocommerce_shipping_zones', 'woocommerce_shipping_zone_locations', 'woocommerce_shipping_zone_methods', 'woocommerce_payment_tokens', 'wooco... ); -
woocommerce_date_format
filterapply_filters( 'woocommerce_date_format', $date_format ); -
woocommerce_debug_tools
filterapply_filters( 'woocommerce_debug_tools', $tools ); -
do_action( 'woocommerce_decrease_coupon_usage_count', $coupon, $new_count, $used_by ); -
apply_filters( 'woocommerce_default_address_fields', $fields ); -
do_action( "woocommerce_delete_{$post_type}", $id ); -
woocommerce_delete_coupon
actiondo_action( 'woocommerce_delete_coupon', $id ); -
woocommerce_delete_customer
actiondo_action( 'woocommerce_delete_customer', $id ); -
apply_filters( 'woocommerce_delete_inactive_account_roles', array( 'Customer', 'Subscriber', ) ); -
do_action( 'woocommerce_delete_order_downloadable_permissions', $postid ); -
do_action( 'woocommerce_delete_order_items', $postid ); -
do_action( 'woocommerce_delete_shipping_zone', $zone_id ); -
do_action( 'woocommerce_delete_shipping_zone_method', $instance_id ); -
do_action( 'woocommerce_delete_shop_order_transients', $order_id ); -
apply_filters( 'woocommerce_delete_version_transients_limit', 1000 ); -
do_action( 'woocommerce_deleted_order_downloadable_permissions', $postid ); -
do_action( 'woocommerce_deleted_order_items', $postid ); -
apply_filters( 'woocommerce_disable_password_change_notification', false ); -
apply_filters( 'woocommerce_display_item_downloads', $html, $item, $args ); -
apply_filters( 'woocommerce_display_item_meta', $html, $item, $args ); -
do_action( "woocommerce_download_file_{$file_download_method}", $file_path, $filename ); -
do_action( 'woocommerce_download_file_force', $file_path, $filename ); -
apply_filters( 'woocommerce_download_file_xsendfile_file_path', $parsed_file_path['file_path'], $file_path, $filename, $parsed_file_path ); -
apply_filters( 'woocommerce_download_file_xsendfile_lighttpd_file_path', $parsed_file_path['file_path'], $file_path, $filename, $parsed_file_path ); -
apply_filters( 'woocommerce_download_file_xsendfile_x_accel_redirect_file_path', $xsendfile_path, $file_path, $filename, $parsed_file_path ); -
woocommerce_download_product
actiondo_action( 'woocommerce_download_product', $download->get_user_email(), $download->get_order_key(), $download->get_product_id(), $download->get_user_id(), $download->get_download_id(), $download->get_order_id() ); -
apply_filters( 'woocommerce_downloadable_file_allowed_mime_types', get_allowed_mime_types() ); -
apply_filters( 'woocommerce_downloadable_file_exists', file_exists( $file_url ), $this->get_file() ); -
apply_filters( 'woocommerce_downloadable_file_permission', $download, $product, $order, $qty, $item ); -
apply_filters( 'woocommerce_downloadable_file_permission_data', $data ); -
apply_filters( 'woocommerce_downloadable_file_permission_format', $format, $data ); -
do_action( 'woocommerce_downloadable_product_download_log_insert', $data ); -
apply_filters( 'woocommerce_downloadable_product_download_log_insert_data', $data ); -
apply_filters( 'woocommerce_downloadable_product_download_log_insert_format', $format, $data ); -
apply_filters( 'woocommerce_downloadable_product_name', $download_file['name'], $_product, $result->download_id, $file_number ); -
apply_filters( 'woocommerce_downloadable_products_settings', $settings ); -
apply_filters( 'woocommerce_dropdown_variation_attribute_options_args', $args ); -
apply_filters( 'woocommerce_dropdown_variation_attribute_options_html', $html, $args ); -
woocommerce_echeck_form_end
actiondo_action( 'woocommerce_echeck_form_end', $this->id ); -
apply_filters( 'woocommerce_echeck_form_fields', $default_fields, $this->id ); -
do_action( 'woocommerce_echeck_form_start', $this->id ); -
do_action( 'woocommerce_edit_account_form_end' ); -
do_action( 'woocommerce_edit_account_form_start' ); -
do_action( 'woocommerce_edit_account_form_tag' ); -
apply_filters( 'woocommerce_edit_address_slugs', array( 'billing' => sanitize_title( _x( 'billing', 'edit-address-slug', 'woocommerce' ) ), 'shipping' => sanitize_title( _x( 'shipping', 'edit-address-slug', 'woocommerce' ) ), ) ); -
apply_filters( 'woocommerce_email_blocks_renderer_parsed_blocks', $this->output ); -
apply_filters( 'woocommerce_email_content_renderer_styles', $styles, $post ); -
apply_filters( 'woocommerce_email_content_type', $content_type, $this, $default_content_type ); -
apply_filters( 'woocommerce_email_description', $this->description, $this ); -
apply_filters( 'woocommerce_email_editor_allowed_iframe_style_handles', $allowed_iframe_style_handles ); -
do_action( 'woocommerce_email_editor_initialized' ); -
apply_filters( 'woocommerce_email_editor_post_sent_status_args', $default_args ); -
apply_filters( 'woocommerce_email_editor_post_types', array() ); -
apply_filters( 'woocommerce_email_editor_register_personalization_tags', $this ); -
apply_filters( 'woocommerce_email_editor_register_templates', $this ); -
apply_filters( 'woocommerce_email_editor_script_localization_data', $localization_data ); -
apply_filters( 'woocommerce_email_editor_send_preview_email', $data ); -
do_action( 'woocommerce_email_editor_send_preview_email_after_wp_mail', $to, $subject, $body, $result ); -
do_action( 'woocommerce_email_editor_send_preview_email_before_wp_mail', $to, $subject, $body ); -
apply_filters( 'woocommerce_email_editor_send_preview_email_personalizer_context', $personalizer_context ); -
apply_filters( 'woocommerce_email_editor_send_preview_email_rendered_data', $rendered_data, $post ); -
apply_filters( 'woocommerce_email_editor_styles_unsupported_props', $unsupported_props ); -
apply_filters( 'woocommerce_email_editor_theme_json', $theme ); -
apply_filters( "woocommerce_email_enabled_{$this->id}", 'yes' === $this->enabled, $this->object, $this ); -
apply_filters( 'woocommerce_email_format_string_find', $legacy_find, $this ); -
apply_filters( 'woocommerce_email_format_string_replace', $legacy_replace, $this ); -
apply_filters( 'woocommerce_email_from_address', get_option( 'woocommerce_email_from_address' ), $this, $from_email ); -
woocommerce_email_get_option
filterapply_filters( 'woocommerce_email_get_option', $value, $this, $value, $key, $empty_value ); -
apply_filters( 'woocommerce_email_heading_customer_invoice', $this->format_string( $heading ), $this->object, $this ); -
apply_filters( 'woocommerce_email_heading_customer_invoice_paid', $this->format_string( $heading ), $this->object, $this ); -
apply_filters( 'woocommerce_email_order_items_args', array( 'order' => $order, 'items' => $order->get_items(), 'show_download_links' => $order->is_download_permitted() && ! $args['sent_to_admin'], 'show_sku' => $args['show_sku'], 'show_purchase_note' => $order->is_paid() && ! $args['sent_to_admin'], 'show_image' => $args['show_image'], 'image_size' => $args['image_size'], 'plain_text' => $args['plain_text'], 'sent_to_admin' => $args['sent_to_admi... ); -
apply_filters( 'woocommerce_email_order_items_table', ob_get_clean(), $order ); -
apply_filters( 'woocommerce_email_renderer_styles', $template_styles, $post ); -
apply_filters( 'woocommerce_email_restore_locale', true ); -
apply_filters( 'woocommerce_email_setup_locale', true ); -
apply_filters( 'woocommerce_email_subject_customer_invoice', $this->format_string( $subject ), $this->object, $this ); -
apply_filters( 'woocommerce_email_subject_customer_invoice_paid', $this->format_string( $subject ), $this->object, $this ); -
woocommerce_email_title
filterapply_filters( 'woocommerce_email_title', $this->title, $this ); -
apply_filters( 'woocommerce_empty_cart_when_order_again', true ); -
woocommerce_empty_price_html
filterapply_filters( 'woocommerce_empty_price_html', '', $this ); -
apply_filters( 'woocommerce_enable_deprecated_additional_flat_rates', $this->get_option( 'options', false ) ); -
apply_filters( 'woocommerce_enable_setup_wizard', true ); -
apply_filters( 'woocommerce_enforce_password_strength_meter_on_checkout', false ); -
apply_filters( 'woocommerce_european_union_countries', $countries, $type ); -
apply_filters( 'woocommerce_evaluate_shipping_cost_args', $args, $sum, $this ); -
apply_filters( "woocommerce_export_{$this->export_type}_column_{$column_name}", '', $item ); -
apply_filters( "woocommerce_export_{$this->export_type}_row_data", $row, $item ); -
apply_filters( 'woocommerce_export_get_ajax_query_args', array( 'nonce' => wp_create_nonce( 'product-csv' ), 'action' => 'download_product_csv', 'filename' => $exporter->get_filename(), ) ); -
woocommerce_find_rates
filterapply_filters( 'woocommerce_find_rates', $matched_tax_rates, $args ); -
apply_filters( 'woocommerce_force_ssl_checkout', false ); -
woocommerce_form_field_args
filterapply_filters( 'woocommerce_form_field_args', $args, $key, $value ); -
woocommerce_format_content
filterapply_filters( 'woocommerce_format_content', apply_filters( 'woocommerce_short_description', $raw_string ), $raw_string ); -
apply_filters( 'woocommerce_format_dimensions', $dimension_string, $dimensions ); -
apply_filters( 'woocommerce_format_localized_decimal', str_replace( '.', $decimal, strval( $value ) ), $value ); -
apply_filters( 'woocommerce_format_localized_price', str_replace( '.', wc_get_price_decimal_separator(), strval( $value ) ), $value ); -
woocommerce_format_postcode
filterapply_filters( 'woocommerce_format_postcode', trim( $postcode ), $country ); -
apply_filters( 'woocommerce_format_price_range', $price, $from, $to ); -
apply_filters( 'woocommerce_format_sale_price', $price, $regular_price, $sale_price ); -
apply_filters( 'woocommerce_format_stock_quantity', $stock_quantity, $product ); -
woocommerce_format_weight
filterapply_filters( 'woocommerce_format_weight', $weight_string, $weight ); -
apply_filters( 'woocommerce_formatted_address_force_country_display', false ); -
apply_filters( 'woocommerce_formatted_address_replacements', array( '{first_name}' => $args['first_name'], '{last_name}' => $args['last_name'], '{name}' => sprintf( _x( '%1$s %2$s', 'full name', 'woocommerce' ), $args['first_name'], $args['last_name'] ), '{company}' => $args['company'], '{address_1}' => $args['address_1'], '{address_2}' => $args['address_2'], '{city}' => $args['city'], '{state}' => $full_state, '{postcode}' => $args['postcode'], '{countr... ); -
apply_filters( 'woocommerce_formatted_refund_amount', wc_price( $this->get_amount(), array( 'currency' => $this->get_currency() ) ), $this ); -
apply_filters( "woocommerce_gateway_{$gateway->id}_settings_values", $settings, $gateway ); -
woocommerce_general_settings
filterapply_filters( 'woocommerce_general_settings', $settings ); -
apply_filters( 'woocommerce_generate_order_key', 'order_' . $key ); -
apply_filters( 'woocommerce_geolocation_geoip_apis', self::$geoip_apis ); -
apply_filters( "woocommerce_geolocation_geoip_response_{$service_name}", '', $response['body'] ); -
apply_filters( 'woocommerce_geolocation_ip_lookup_api_response', wc_clean( $response['body'] ), $service_name ); -
apply_filters( 'woocommerce_geolocation_ip_lookup_apis', self::$ip_lookup_apis ); -
apply_filters( "woocommerce_get_{$page}_page_id", get_option( 'woocommerce_' . $page . '_page_id' ) ); -
apply_filters( "woocommerce_get_{$page}_page_permalink", $permalink ); -
woocommerce_get_availability
filterapply_filters( 'woocommerce_get_availability', array( 'availability' => $this->get_availability_text(), 'class' => $this->get_availability_class(), ), $this ); -
apply_filters( 'woocommerce_get_availability_class', $class, $this ); -
apply_filters( 'woocommerce_get_availability_text', $availability, $this ); -
woocommerce_get_bacs_locale
filterapply_filters( 'woocommerce_get_bacs_locale', array( 'AU' => array( 'sortcode' => array( 'label' => __( 'BSB', 'woocommerce' ), ), ), 'CA' => array( 'sortcode' => array( 'label' => __( 'Bank transit number', 'woocommerce' ), ), ), 'IN' => array( 'sortcode' => array( 'label' => __( 'IFSC', 'woocommerce' ), ), ), 'IT' => array( 'sortcode' => array( 'label' => __( 'Branch sort', 'woocommerce' ), ), ), 'NZ' => array( 'sortcode' => array( 'labe... ); -
apply_filters( 'woocommerce_get_base_location', get_option( 'woocommerce_default_country', 'US:CA' ) ); -
apply_filters( 'woocommerce_get_cart_contents', (array) $this->cart_contents ); -
woocommerce_get_cart_tax
filterapply_filters( 'woocommerce_get_cart_tax', $cart_total_tax ? wc_price( $cart_total_tax ) : '' ); -
apply_filters( 'woocommerce_get_catalog_ordering_args', $args, $orderby, $order ); -
apply_filters( 'woocommerce_get_checkout_order_received_url', $order_received_url, $this ); -
apply_filters( 'woocommerce_get_checkout_payment_url', $pay_url, $this ); -
woocommerce_get_checkout_url
filterapply_filters( 'woocommerce_get_checkout_url', $checkout_url ); -
apply_filters( 'woocommerce_get_coupon_id_from_code', absint( current( $ids ) ), $code, $exclude ); -
apply_filters( 'woocommerce_get_customer_payment_tokens', $tokens, $customer_id, $gateway_id ); -
woocommerce_get_endpoint_url
filterapply_filters( 'woocommerce_get_endpoint_url', $url, $endpoint, $value, $permalink ); -
apply_filters( "woocommerce_get_image_size_{$image_size}", $size ); -
woocommerce_get_item_count
filterapply_filters( 'woocommerce_get_item_count', $count, $item_type, $this ); -
apply_filters( 'woocommerce_get_item_count_refunded', $count, $item_type, $this ); -
woocommerce_get_items_key
filterapply_filters( 'woocommerce_get_items_key', '', $item ); -
apply_filters( 'woocommerce_get_min_max_price_meta_query', array( 'key' => '_price', 'value' => array( $current_min_price, $current_max_price ), 'compare' => 'BETWEEN', 'type' => 'DECIMAL(10,' . wc_get_price_decimals() . ')', ), $args ); -
apply_filters( 'woocommerce_get_order_currency', $this->get_currency(), $this ); -
apply_filters( 'woocommerce_get_order_item_classname', $classname, $item_type, $id ); -
apply_filters( 'woocommerce_get_order_item_totals_excl_free_fees', empty( $fee['line_total'] ) && empty( $fee['line_tax'] ), $id ); -
woocommerce_get_order_note
filterapply_filters( 'woocommerce_get_order_note', array( 'id' => (int) $data->comment_ID, 'date_created' => wc_string_to_datetime( mysql_to_rfc3339( $data->comment_date_gmt ) . 'Z' ), 'content' => $data->comment_content, 'customer_note' => (bool) get_comment_meta( $data->comment_ID, 'is_customer_note', true ), 'added_by' => __( 'WooCommerce', 'woocommerce' ) === $data->comment_author ? 'system' : $data->comment_author, 'order_id' => absint( $d... ); -
apply_filters( 'woocommerce_get_order_payment_tokens', $tokens, $order_id ); -
apply_filters( 'woocommerce_get_path_define_tokens', $path_tokens ); -
apply_filters( 'woocommerce_get_plugins_for_woocommerce', $matches, $plugins ); -
apply_filters( 'woocommerce_get_plugins_with_header', $matches, $header, $plugins ); -
apply_filters( 'woocommerce_get_price_excluding_tax', $return_price, $qty, $product ); -
apply_filters( 'woocommerce_get_price_html_from_text', '<span class="from">' . _x( 'From:', 'min_price', 'woocommerce' ) . ' </span>' ); -
apply_filters( 'woocommerce_get_price_html_from_to', wc_format_sale_price( $from, $to ), $from, $to, $this ); -
apply_filters( 'woocommerce_get_price_including_tax', $return_price, $qty, $product ); -
apply_filters( 'woocommerce_get_privacy_policy_text', $text, $type ); -
apply_filters( 'woocommerce_get_product_class_include_taxonomies', false ); -
apply_filters( 'woocommerce_get_product_id_by_sku', $id, $sku ); -
apply_filters( 'woocommerce_get_product_subcategories_cache_key', 'product-category-hierarchy-' . $parent_id, $parent_id ); -
apply_filters( 'woocommerce_get_product_terms', _wc_get_cached_product_terms( $product_id, $taxonomy, $args ), $product_id, $taxonomy, $args ); -
woocommerce_get_query_vars
filterapply_filters( 'woocommerce_get_query_vars', $this->query_vars ); -
woocommerce_get_remove_url
filterapply_filters( 'woocommerce_get_remove_url', $cart_page_url ? wp_nonce_url( add_query_arg( 'remove_item', $cart_item_key, $cart_page_url ), 'woocommerce-cart' ) : '' ); -
woocommerce_get_script_data
filterapply_filters( 'woocommerce_get_script_data', $params, $handle ); -
apply_filters( "woocommerce_get_settings_{$this->id}", $settings, $section_id ); -
apply_filters( 'woocommerce_get_settings_pages', $settings ); -
apply_filters( 'woocommerce_get_shipping_classes', $this->shipping_classes ); -
apply_filters( 'woocommerce_get_shop_coupon_data', false, $data, $this ); -
apply_filters( 'woocommerce_get_star_rating_html', $html, $rating, $count ); -
woocommerce_get_stock_html
filterapply_filters( 'woocommerce_get_stock_html', $html, $product ); -
woocommerce_get_tax_location
filterapply_filters( 'woocommerce_get_tax_location', $location, $tax_class, $customer ); -
apply_filters( 'woocommerce_get_terms_and_conditions_checkbox_text', get_option( 'woocommerce_checkout_terms_and_conditions_checkbox_text', sprintf( __( 'I have read and agree to the website %s', 'woocommerce' ), '[terms]' ) ) ); -
woocommerce_get_undo_url
filterapply_filters( 'woocommerce_get_undo_url', $cart_page_url ? wp_nonce_url( add_query_arg( $query_args, $cart_page_url ), 'woocommerce-cart' ) : '', $cart_item_key ); -
apply_filters( 'woocommerce_get_username_from_email', true ); -
apply_filters( 'woocommerce_get_variation_price', $price, $this, $min_or_max, $for_display ); -
apply_filters( 'woocommerce_get_variation_regular_price', $price, $this, $min_or_max, $for_display ); -
apply_filters( 'woocommerce_get_variation_sale_price', $price, $this, $min_or_max, $for_display ); -
apply_filters( 'woocommerce_get_view_order_url', wc_get_endpoint_url( 'view-order', $this->get_id(), wc_get_page_permalink( 'myaccount' ) ), $this ); -
apply_filters( 'woocommerce_get_wp_query_args', $wp_query_args, $query_vars ); -
do_action( 'woocommerce_grant_product_download_permissions', $order_id ); -
apply_filters( 'woocommerce_grouped_empty_price_html', '', $this ); -
apply_filters( 'woocommerce_grouped_free_price_html', __( 'Free!', 'woocommerce' ), $this ); -
apply_filters( 'woocommerce_grouped_price_html', $price . $this->get_price_suffix(), $this, $child_prices ); -
apply_filters( 'woocommerce_grouped_product_columns', array( 'quantity', 'label', 'price', ), $product ); -
do_action( 'woocommerce_grouped_product_list_after', $grouped_product_columns, $quantites_required, $product ); -
do_action( "woocommerce_grouped_product_list_after_{$column_id}", $grouped_product_child ); -
do_action( 'woocommerce_grouped_product_list_before', $grouped_product_columns, $quantites_required, $product ); -
do_action( "woocommerce_grouped_product_list_before_{$column_id}", $grouped_product_child ); -
apply_filters( "woocommerce_grouped_product_list_column_{$column_id}", $value, $grouped_product_child ); -
apply_filters( 'woocommerce_grouped_product_list_link', $grouped_product_child->get_permalink(), $grouped_product_child->get_id() ); -
woocommerce_helper_api_base
filterapply_filters( 'woocommerce_helper_api_base', 'https://woocommerce.com/wp-json/helper/1.0' ); -
woocommerce_helper_loaded
actiondo_action( 'woocommerce_helper_loaded' ); -
apply_filters( 'woocommerce_helper_suppress_admin_notices', false ); -
do_action( "woocommerce_hide_{$name}_notice" ); -
do_action( 'woocommerce_increase_coupon_usage_count', $coupon, $new_count, $used_by ); -
apply_filters( 'woocommerce_integration_description', $this->method_description, $this ); -
apply_filters( 'woocommerce_integration_title', $this->method_title, $this ); -
woocommerce_integrations
filterapply_filters( 'woocommerce_integrations', $load_integrations ); -
do_action( 'woocommerce_integrations_init' ); -
apply_filters( 'woocommerce_inventory_settings', $settings ); -
woocommerce_is_account_page
filterapply_filters( 'woocommerce_is_account_page', false ); -
woocommerce_is_downloadable
filterapply_filters( 'woocommerce_is_downloadable', true === $this->get_downloadable(), $this ); -
apply_filters( 'woocommerce_is_email_editor_page', false ); -
apply_filters( 'woocommerce_is_sold_individually', true === $this->get_sold_individually(), $this ); -
woocommerce_is_virtual
filterapply_filters( 'woocommerce_is_virtual', true === $this->get_virtual(), $this ); -
apply_filters( 'woocommerce_json_search_found_pages', $pages_results ); -
apply_filters( 'woocommerce_json_search_found_products', $products ); -
woocommerce_leaderboards
filterapply_filters( 'woocommerce_leaderboards', $leaderboards, $per_page, $after, $before, $persisted_query ); -
do_action( 'woocommerce_load_shipping_methods', $package ); -
apply_filters( 'woocommerce_localisation_address_formats', array( 'default' => "{name}\n{company}\n{address_1}\n{address_2}\n{city}\n{state}\n{postcode}\n{country}", 'AT' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}", 'AU' => "{name}\n{company}\n{address_1}\n{address_2}\n{city} {state} {postcode}\n{country}", 'BE' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}", 'CA' => "{company}\n{name}\... ); -
woocommerce_log_clear
actiondo_action( 'woocommerce_log_clear', $handle ); -
woocommerce_log_remove
actiondo_action( 'woocommerce_log_remove', $handle, $removed ); -
woocommerce_logging_class
filterapply_filters( 'woocommerce_logging_class', 'WC_Logger' ); -
apply_filters( 'woocommerce_login_credentials', $creds ); -
woocommerce_login_failed
actiondo_action( 'woocommerce_login_failed' ); -
woocommerce_login_redirect
filterapply_filters( 'woocommerce_login_redirect', $redirect, $user ); -
apply_filters( 'woocommerce_loop_product_link', get_the_permalink(), $product ); -
apply_filters( 'woocommerce_lost_password_confirmation_message', esc_html__( 'A password reset email has been sent to the email address on file for your account, but may take several minutes to show up in your inbox. Please wait at least 10 minutes before attempting another reset.', 'woocommerce' ) ); -
apply_filters( 'woocommerce_lost_password_message', esc_html__( 'Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.', 'woocommerce' ) ); -
do_action( 'woocommerce_lostpassword_form' ); -
woocommerce_mail_callback
filterapply_filters( 'woocommerce_mail_callback', 'wp_mail', $this ); -
apply_filters( 'woocommerce_mail_callback_params', array( $to, wp_specialchars_decode( $subject ), $message, $headers, $attachments ), $this ); -
woocommerce_matched_rates
filterapply_filters( 'woocommerce_matched_rates', $matched_tax_rates, $tax_class, $customer ); -
apply_filters( 'woocommerce_matched_tax_rates', $matched_tax_rates, $country, $state, $postcode, $city, $tax_class ); -
apply_filters( 'woocommerce_max_webhook_delivery_failures', 5 ); -
apply_filters( 'woocommerce_min_password_strength', 3 ); -
do_action( 'woocommerce_mini_cart_contents' ); -
apply_filters( 'woocommerce_mini_cart_item_class', 'mini_cart_item', $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_my_account_edit_address_field_value', $value, $key, $load_address ); -
apply_filters( 'woocommerce_my_account_edit_address_title', $page_title, $load_address ); -
apply_filters( 'woocommerce_my_account_my_address_description', esc_html__( 'The following addresses will be used on the checkout page by default.', 'woocommerce' ) ); -
apply_filters( 'woocommerce_my_account_my_address_formatted_address', $address, $customer->get_id(), $address_type ); -
apply_filters( 'woocommerce_my_account_my_downloads_title', esc_html__( 'Available downloads', 'woocommerce' ) ); -
apply_filters( 'woocommerce_my_account_my_orders_columns', array( 'order-number' => esc_html__( 'Order', 'woocommerce' ), 'order-date' => esc_html__( 'Date', 'woocommerce' ), 'order-status' => esc_html__( 'Status', 'woocommerce' ), 'order-total' => esc_html__( 'Total', 'woocommerce' ), 'order-actions' => ' ', ) ); -
apply_filters( 'woocommerce_my_account_my_orders_title', esc_html__( 'Recent orders', 'woocommerce' ) ); -
woocommerce_new_coupon
actiondo_action( 'woocommerce_new_coupon', $coupon_id, $coupon ); -
woocommerce_new_coupon_data
filterapply_filters( 'woocommerce_new_coupon_data', array( 'post_type' => 'shop_coupon', 'post_status' => $coupon->get_status( 'edit' ) ? $coupon->get_status( 'edit' ) : 'publish', 'post_author' => get_current_user_id(), 'post_title' => $coupon->get_code( 'edit' ), 'post_content' => '', 'post_excerpt' => $coupon->get_description( 'edit' ), 'post_date' => gmdate( 'Y-m-d H:i:s', $coupon->get_date_created()->getOffsetTimestamp() ), 'post_date_gmt' ... ); -
woocommerce_new_customer
actiondo_action( 'woocommerce_new_customer', $customer->get_id(), $customer ); -
do_action( 'woocommerce_new_customer_note', array( 'order_id' => $this->get_id(), 'customer_note' => $commentdata['comment_content'], ) ); -
apply_filters( 'woocommerce_new_order_note_data', array( 'comment_post_ID' => $this->get_id(), 'comment_author' => $comment_author, 'comment_author_email' => $comment_author_email, 'comment_author_url' => '', 'comment_content' => $note, 'comment_agent' => 'WooCommerce', 'comment_type' => 'order_note', 'comment_parent' => 0, 'comment_approved' => 1, ), array( 'order_id' => $this->get_id(), 'is_customer_note' => $is_customer_note, ) ); -
do_action( 'woocommerce_new_payment_token', $token_id, $token ); -
woocommerce_new_product
actiondo_action( 'woocommerce_new_product', $id, $product ); -
woocommerce_new_product_data
filterapply_filters( 'woocommerce_new_product_data', array( 'post_type' => 'product', 'post_status' => $product->get_status() ? $product->get_status() : ProductStatus::PUBLISH, 'post_author' => get_current_user_id(), 'post_title' => $product->get_name() ? $product->get_name() : __( 'Product', 'woocommerce' ), 'post_content' => $product->get_description(), 'post_excerpt' => $product->get_short_description(), 'post_parent' => $product->get_parent_i... ); -
do_action( 'woocommerce_new_product_variation', $id, $product ); -
apply_filters( 'woocommerce_new_product_variation_data', array( 'post_type' => 'product_variation', 'post_status' => $product->get_status() ? $product->get_status() : ProductStatus::PUBLISH, 'post_author' => get_current_user_id(), 'post_title' => $product->get_name( 'edit' ), 'post_excerpt' => $product->get_attribute_summary( 'edit' ), 'post_content' => '', 'post_parent' => $product->get_parent_id(), 'comment_status' => 'closed', 'ping_status' => 'cl... ); -
woocommerce_new_webhook
actiondo_action( 'woocommerce_new_webhook', $webhook_id, $webhook ); -
apply_filters( 'woocommerce_no_shipping_available_html', __( 'There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.', 'woocommerce' ) ); -
woocommerce_note_statuses
filterapply_filters( 'woocommerce_note_statuses', $allowed_statuses ); -
woocommerce_note_types
filterapply_filters( 'woocommerce_note_types', $allowed_types ); -
woocommerce_notice_types
filterapply_filters( 'woocommerce_notice_types', array( 'error', 'success', 'notice' ) ); -
do_action( "woocommerce_order_action_{sanitize_title($action)}", $order ); -
do_action( 'woocommerce_order_after_calculate_totals', $and_taxes, $this ); -
apply_filters( 'woocommerce_order_again_cart_item_data', array(), $item, $order ); -
apply_filters( 'woocommerce_order_amount_item_subtotal', $subtotal, $this, $item, $inc_tax, $round ); -
apply_filters( 'woocommerce_order_amount_item_tax', $tax, $item, $round, $this ); -
apply_filters( 'woocommerce_order_amount_item_total', $total, $this, $item, $inc_tax, $round ); -
apply_filters( 'woocommerce_order_amount_line_subtotal', $subtotal, $this, $item, $inc_tax, $round ); -
apply_filters( 'woocommerce_order_amount_line_tax', is_callable( array( $item, 'get_total_tax' ) ) ? wc_round_tax_total( $item->get_total_tax() ) : 0, $item, $this ); -
apply_filters( 'woocommerce_order_amount_line_total', $total, $this, $item, $inc_tax, $round ); -
do_action( 'woocommerce_order_before_calculate_taxes', $args, $this ); -
do_action( 'woocommerce_order_before_calculate_totals', $and_taxes, $this ); -
apply_filters( 'woocommerce_order_button_html', '<button type="submit" class="button alt' . esc_attr( wc_wp_theme_get_element_class_name( 'button' ) ? ' ' . wc_wp_theme_get_element_class_name( 'button' ) : '' ) . '" name="woocommerce_checkout_place_order" id="place_order" value="' . esc_attr( $order_button_text ) . '" data-value="' . esc_attr( $order_button_text ) . '">' . esc_html( $order_button_text ) . '</button>' ); -
apply_filters( 'woocommerce_order_button_text', __( 'Place order', 'woocommerce' ) ); -
apply_filters( 'woocommerce_order_cancelled_notice', __( 'Your order was cancelled.', 'woocommerce' ) ); -
apply_filters( 'woocommerce_order_cancelled_notice_type', 'notice' ); -
apply_filters( 'woocommerce_order_data_store_cpt_get_orders_query', $wp_query_args, $query_vars, $this ); -
do_action( 'woocommerce_order_details_after_customer_details', $order ); -
do_action( 'woocommerce_order_edit_product', $this->get_id(), $item->get_id(), $args, $product ); -
apply_filters( 'woocommerce_order_formatted_billing_address', $this->get_address( 'billing' ), $this ); -
apply_filters( 'woocommerce_order_formatted_line_subtotal', $subtotal, $item, $this ); -
apply_filters( 'woocommerce_order_formatted_shipping_address', $raw_address, $this ); -
do_action( 'woocommerce_order_fully_refunded', $order->get_id(), $refund->get_id() ); -
apply_filters( 'woocommerce_order_get_downloadable_items', $downloads, $this ); -
woocommerce_order_get_items
filterapply_filters( 'woocommerce_order_get_items', $items, $this, $types ); -
apply_filters( 'woocommerce_order_get_subtotal', (float) $subtotal, $this ); -
apply_filters( 'woocommerce_order_get_tax_location', $args, $this ); -
apply_filters( 'woocommerce_order_get_tax_totals', $tax_totals, $this ); -
apply_filters( 'woocommerce_order_get_total_discount', NumberUtil::round( $total_discount, WC_ROUNDING_PRECISION ), $this ); -
woocommerce_order_has_status
filterapply_filters( 'woocommerce_order_has_status', ( is_array( $status ) && in_array( $this->get_status(), $status, true ) ) || $this->get_status() === $status, $this, $status ); -
apply_filters( 'woocommerce_order_hide_zero_taxes', true ); -
apply_filters( 'woocommerce_order_is_created_via', $modus === $this->get_created_via(), $this, $modus ); -
woocommerce_order_is_paid
filterapply_filters( 'woocommerce_order_is_paid', $this->has_status( wc_get_is_paid_statuses() ), $this ); -
do_action( "woocommerce_order_item_{$item->get_type()}_html", $item_id, $item, $order ); -
do_action( 'woocommerce_order_item_add_action_buttons', $order ); -
do_action( 'woocommerce_order_item_add_line_buttons', $order ); -
do_action( 'woocommerce_order_item_after_calculate_taxes', $this, $calculate_tax_for ); -
apply_filters( 'woocommerce_order_item_display_meta_key', $display_key, $meta, $this ); -
do_action( 'woocommerce_order_item_fee_after_calculate_taxes', $this, $calculate_tax_for ); -
apply_filters( 'woocommerce_order_item_get_formatted_meta_data', $formatted_meta, $this ); -
do_action( 'woocommerce_order_item_shipping_after_calculate_taxes', $this, $calculate_tax_for ); -
apply_filters( 'woocommerce_order_items_meta_display', $output, $this, $flat ); -
apply_filters( 'woocommerce_order_items_meta_get_formatted', $formatted_meta, $this ); -
apply_filters( 'woocommerce_order_needs_payment', ( $this->has_status( $valid_order_statuses ) && $this->get_total() > 0 ), $this, $valid_order_statuses ); -
apply_filters( 'woocommerce_order_needs_shipping_address', $needs_address, $hide, $this ); -
woocommerce_order_number
filterapply_filters( 'woocommerce_order_number', $this->get_id(), $this ); -
do_action( 'woocommerce_order_partially_refunded', $order->get_id(), $refund->get_id() ); -
woocommerce_order_query
filterapply_filters( 'woocommerce_order_query', $results, $args ); -
woocommerce_order_query_args
filterapply_filters( 'woocommerce_order_query_args', $this->get_query_vars() ); -
woocommerce_order_refunded
actiondo_action( 'woocommerce_order_refunded', $order->get_id(), $refund->get_id() ); -
apply_filters( 'woocommerce_order_shipping_method', implode( ', ', $names ), $this ); -
apply_filters( 'woocommerce_order_shipping_to_display', $shipping, $this, $tax_display ); -
apply_filters( 'woocommerce_order_shipping_to_display_shipped_via', ' <small class="shipped_via">' . sprintf( __( 'via %s', 'woocommerce' ), $this->get_shipping_method() ) . '</small>', $this ); -
do_action( "woocommerce_order_status_{$status_transition['from']}_to_{$status_transition['to']}", $this->get_id(), $this ); -
do_action( 'woocommerce_order_status_changed', $this->get_id(), $status_transition['from'], $status_transition['to'], $this ); -
apply_filters( 'woocommerce_order_subtotal_to_display', $subtotal, $compound, $this ); -
do_action( 'woocommerce_order_update_coupon', $this->get_id(), $item->get_id(), $args ); -
woocommerce_order_update_fee
actiondo_action( 'woocommerce_order_update_fee', $this->get_id(), $item->get_id(), $args ); -
do_action( 'woocommerce_order_update_shipping', $this->get_id(), $item->get_id(), $args ); -
woocommerce_order_update_tax
actiondo_action( 'woocommerce_order_update_tax', $this->get_id(), $item->get_id(), $args ); -
woocommerce_ordered_again
actiondo_action_ref_array( 'woocommerce_ordered_again', array( $order->get_id(), $order_items, &$cart ) ); -
apply_filters( 'woocommerce_out_of_stock_message', __( 'This product is currently out of stock and unavailable.', 'woocommerce' ) ); -
apply_filters( 'woocommerce_output_cart_shortcode_content', true ); -
woocommerce_page_created
actiondo_action( 'woocommerce_page_created', $page_id, $page_data ); -
woocommerce_page_title
filterapply_filters( 'woocommerce_page_title', $page_title ); -
do_action( 'woocommerce_pay_order_after_submit' ); -
do_action( 'woocommerce_pay_order_before_submit' ); -
apply_filters( 'woocommerce_pay_order_button_html', '<button type="submit" class="button alt' . esc_attr( wc_wp_theme_get_element_class_name( 'button' ) ? ' ' . wc_wp_theme_get_element_class_name( 'button' ) : '' ) . '" id="place_order" value="' . esc_attr( $order_button_text ) . '" data-value="' . esc_attr( $order_button_text ) . '">' . esc_html( $order_button_text ) . '</button>' ); -
woocommerce_payment_complete
actiondo_action( 'woocommerce_payment_complete', $this->get_id(), $transaction_id ); -
do_action( "woocommerce_payment_complete_order_status_{$this->get_status()}", $this->get_id(), $transaction_id ); -
apply_filters( 'woocommerce_payment_complete_reduce_order_stock', ! $stock_reduced, $order_id ); -
apply_filters( 'woocommerce_payment_gateway_add_payment_method_delay', 20 ); -
woocommerce_payment_gateways
filterapply_filters( 'woocommerce_payment_gateways', $load_gateways ); -
apply_filters( 'woocommerce_payment_methods_list_item', $list[ $type ][ $key ], $payment_token ); -
apply_filters( 'woocommerce_payment_methods_types', array( 'cc' => __( 'Credit card', 'woocommerce' ), 'echeck' => __( 'eCheck', 'woocommerce' ), ) ); -
do_action( 'woocommerce_payment_token_added_to_order', $this->get_id(), $token->get_id(), $token, $token_ids ); -
do_action( 'woocommerce_payment_token_deleted', $token->get_id(), $token ); -
do_action( 'woocommerce_payment_token_loaded', $token ); -
do_action( 'woocommerce_payment_token_object_updated_props', $token, $updated_props ); -
do_action( 'woocommerce_payment_token_set_default', $token_id, $token ); -
do_action( 'woocommerce_payment_token_updated', $token->get_id() ); -
apply_filters( 'woocommerce_paypal_capture_request', $request, $order, $amount ); -
apply_filters( 'woocommerce_paypal_force_one_line_item', false, $order ); -
apply_filters( 'woocommerce_paypal_get_order_item_name', $item_name, $order, $item ); -
apply_filters( 'woocommerce_paypal_get_order_item_names', implode( ', ', $item_names ), $order ); -
woocommerce_paypal_line_item
filterapply_filters( 'woocommerce_paypal_line_item', array( 'item_name' => html_entity_decode( wc_trim_string( $item_name ? wp_strip_all_tags( $item_name ) : __( 'Item', 'woocommerce' ), 127 ), ENT_NOQUOTES, 'UTF-8' ), 'quantity' => (int) $quantity, 'amount' => wc_float_to_string( (float) $amount ), 'item_number' => $item_number, ), $item_name, $quantity, $amount, $item_number ); -
apply_filters( 'woocommerce_paypal_refund_request', $request, $order, $amount, $reason ); -
woocommerce_permission_list
filterapply_filters( 'woocommerce_permission_list', $data_store->get_downloads_for_customer( $customer_id ), $customer_id ); -
apply_filters( 'woocommerce_placeholder_img_src', $src ); -
apply_filters( 'woocommerce_pre_customer_bought_product', null, $customer_email, $user_id, $product_id ); -
do_action( 'woocommerce_pre_payment_complete', $this->get_id(), $transaction_id ); -
apply_filters( 'woocommerce_prevent_automatic_wizard_redirect', false ); -
apply_filters( 'woocommerce_price_filter_post_type', array( 'product' ) ); -
woocommerce_price_filter_sql
filterapply_filters( 'woocommerce_price_filter_sql', $sql, $meta_query_sql, $tax_query_sql ); -
apply_filters( 'woocommerce_price_filter_widget_max_amount', ceil( $max_price / $step ) * $step ); -
apply_filters( 'woocommerce_price_filter_widget_min_amount', floor( $min_price / $step ) * $step ); -
apply_filters( 'woocommerce_price_filter_widget_step', 10 ); -
woocommerce_price_format
filterapply_filters( 'woocommerce_price_format', $format, $currency_pos ); -
woocommerce_price_trim_zeros
filterapply_filters( 'woocommerce_price_trim_zeros', false ); -
apply_filters( 'woocommerce_prices_include_tax', get_option( 'woocommerce_prices_include_tax' ) === 'yes' ); -
apply_filters( 'woocommerce_print_r_alternatives', $alternatives, $expression ); -
apply_filters( 'woocommerce_privacy_erase_customer_personal_data_prop', $erased, $prop, $customer ); -
apply_filters( 'woocommerce_privacy_erase_customer_personal_data_props', array( 'billing_first_name' => __( 'Billing First Name', 'woocommerce' ), 'billing_last_name' => __( 'Billing Last Name', 'woocommerce' ), 'billing_company' => __( 'Billing Company', 'woocommerce' ), 'billing_address_1' => __( 'Billing Address 1', 'woocommerce' ), 'billing_address_2' => __( 'Billing Address 2', 'woocommerce' ), 'billing_city' => __( 'Billing City', 'woocommerce' ), 'billing_pos... ); -
apply_filters( 'woocommerce_privacy_erase_download_personal_data', $erasure_enabled, $email_address ); -
apply_filters( 'woocommerce_privacy_erase_order_personal_data', $erasure_enabled, $order ); -
apply_filters( 'woocommerce_privacy_export_customer_personal_data_prop_value', $value, $prop, $customer ); -
apply_filters( 'woocommerce_privacy_export_customer_personal_data_props', array( 'billing_first_name' => __( 'Billing First Name', 'woocommerce' ), 'billing_last_name' => __( 'Billing Last Name', 'woocommerce' ), 'billing_company' => __( 'Billing Company', 'woocommerce' ), 'billing_address_1' => __( 'Billing Address 1', 'woocommerce' ), 'billing_address_2' => __( 'Billing Address 2', 'woocommerce' ), 'billing_city' => __( 'Billing City', 'woocommerce' ), 'billing_pos... ); -
apply_filters( 'woocommerce_privacy_export_order_personal_data_meta', array( 'Payer first name' => __( 'Payer first name', 'woocommerce' ), 'Payer last name' => __( 'Payer last name', 'woocommerce' ), 'Payer PayPal address' => __( 'Payer PayPal address', 'woocommerce' ), 'Transaction ID' => __( 'Transaction ID', 'woocommerce' ), ) ); -
apply_filters( 'woocommerce_privacy_export_order_personal_data_meta_value', $order->get_meta( $meta_key ), $meta_key, $order ); -
apply_filters( 'woocommerce_privacy_export_order_personal_data_prop', $value, $prop, $order ); -
apply_filters( 'woocommerce_privacy_export_order_personal_data_props', array( 'order_number' => __( 'Order Number', 'woocommerce' ), 'date_created' => __( 'Order Date', 'woocommerce' ), 'total' => __( 'Order Total', 'woocommerce' ), 'items' => __( 'Items Purchased', 'woocommerce' ), 'customer_ip_address' => __( 'IP Address', 'woocommerce' ), 'customer_user_agent' => __( 'Browser User Agent', 'woocommerce' ), 'formatted_billing_address' => __( 'Billing Address', 'w... ); -
apply_filters( 'woocommerce_privacy_policy_page_id', 0 < $page_id ? absint( $page_id ) : 0 ); -
apply_filters( 'woocommerce_privacy_remove_order_personal_data_meta', array( 'Payer first name' => 'text', 'Payer last name' => 'text', 'Payer PayPal address' => 'email', 'Transaction ID' => 'numeric_id', ) ); -
do_action( 'woocommerce_proceed_to_checkout' ); -
apply_filters( "woocommerce_process_checkout_{$type}_field", apply_filters( 'woocommerce_process_checkout_field_' . $key, $value ) ); -
apply_filters( "woocommerce_process_checkout_field_{$key}", $value ); -
apply_filters( 'woocommerce_process_login_errors', $validation_error, $creds['user_login'], $creds['user_password'] ); -
apply_filters( "woocommerce_process_myaccount_field_{$key}", $value ); -
do_action( "woocommerce_process_product_meta_{$product_type}", $post_id ); -
apply_filters( 'woocommerce_process_registration_errors', $validation_error, $username, $password, $email ); -
apply_filters( "woocommerce_product_{$key}_tab_title", $product_tab['title'], $key ); -
do_action( 'woocommerce_product_additional_information', $product ); -
apply_filters( 'woocommerce_product_additional_information_heading', __( 'Additional information', 'woocommerce' ) ); -
do_action( 'woocommerce_product_after_tabs' ); -
do_action( 'woocommerce_product_after_variable_attributes', $loop, $variation_data, $variation ); -
apply_filters( 'woocommerce_product_backorders_allowed', ( 'yes' === $this->get_backorders() || 'notify' === $this->get_backorders() ), $this->get_id(), $this ); -
apply_filters( 'woocommerce_product_backorders_require_notification', ( $this->managing_stock() && 'notify' === $this->get_backorders() ), $this ); -
do_action( 'woocommerce_product_bulk_and_quick_edit', $post_id, $post ); -
do_action( 'woocommerce_product_bulk_edit_end' ); -
do_action( 'woocommerce_product_bulk_edit_save', $product ); -
do_action( 'woocommerce_product_bulk_edit_start' ); -
apply_filters( 'woocommerce_product_categories', get_terms( 'product_cat', $args ) ); -
apply_filters( 'woocommerce_product_categories_widget_args', $list_args ); -
apply_filters( 'woocommerce_product_categories_widget_dropdown_args', wp_parse_args( $dropdown_args, array( 'show_count' => $count, 'hierarchical' => $hierarchical, 'show_uncategorized' => 0, 'selected' => $this->current_cat ? $this->current_cat->slug : '', ) ) ); -
apply_filters( 'woocommerce_product_categories_widget_main_term', $terms[0], $terms ); -
apply_filters( 'woocommerce_product_categories_widget_product_terms_args', array( 'orderby' => 'parent', 'order' => 'DESC', ) ); -
apply_filters( 'woocommerce_product_category_filter_threshold', 100 ); -
apply_filters( 'woocommerce_product_coupon_types', array( 'fixed_product', 'percent' ) ); -
apply_filters( 'woocommerce_product_cross_sells_products_heading', __( 'You may be interested in…', 'woocommerce' ) ); -
apply_filters( 'woocommerce_product_crosssell_ids', $this->get_cross_sell_ids(), $this ); -
apply_filters( 'woocommerce_product_csv_importer_steps', $default_steps ); -
do_action( 'woocommerce_product_data_panels' ); -
apply_filters( 'woocommerce_product_data_store_cpt_get_products_query', $wp_query_args, $query_vars, $this ); -
apply_filters( 'woocommerce_product_data_tabs', array( 'general' => array( 'label' => __( 'General', 'woocommerce' ), 'target' => 'general_product_data', 'class' => array( 'hide_if_grouped' ), 'priority' => 10, ), 'inventory' => array( 'label' => __( 'Inventory', 'woocommerce' ), 'target' => 'inventory_product_data', 'class' => array( 'show_if_simple', 'show_if_variable', 'show_if_grouped', 'show_if_external' ), 'priority' => 20, ), 'shippin... ); -
apply_filters( 'woocommerce_product_default_attributes', $this->get_default_attributes(), $this ); -
apply_filters( 'woocommerce_product_description_heading', __( 'Description', 'woocommerce' ) ); -
apply_filters( 'woocommerce_product_dimensions', wc_format_dimensions( $this->get_dimensions( false ) ), $this ); -
do_action( 'woocommerce_product_duplicate', $duplicate, $product ); -
apply_filters( "woocommerce_product_export_{$this->export_type}_column_{$column_id}", '', $product, $column_id ); -
apply_filters( "woocommerce_product_export_{$this->export_type}_default_columns", $default_columns ); -
apply_filters( 'woocommerce_product_export_meta_value', $meta->value, $meta, $product, $row ); -
do_action( 'woocommerce_product_export_row' ); -
apply_filters( 'woocommerce_product_export_skip_meta_keys', array(), $product ); -
woocommerce_product_file
filterapply_filters( 'woocommerce_product_file', $file, $this, $download_id ); -
apply_filters( 'woocommerce_product_file_download_path', $file_path, $this, $download_id ); -
apply_filters( 'woocommerce_product_get_image', $image, $this, $size, $attr, $placeholder, $image ); -
apply_filters( 'woocommerce_product_get_rating_html', $html, $rating, $count ); -
do_action( 'woocommerce_product_import_before_import', $parsed_data ); -
do_action( 'woocommerce_product_import_before_process_item', $data ); -
apply_filters( 'woocommerce_product_import_get_product_object', $product, $data ); -
apply_filters( 'woocommerce_product_import_image_separator', ',' ); -
do_action( 'woocommerce_product_import_inserted_product_object', $object, $data ); -
apply_filters( 'woocommerce_product_import_pre_insert_product_object', $object, $data ); -
apply_filters( 'woocommerce_product_import_process_item_data', $data ); -
do_action( 'woocommerce_product_importer_before_set_parsed_data', $row, $mapped_keys ); -
apply_filters( 'woocommerce_product_importer_formatting_callbacks', $callbacks, $this ); -
apply_filters( 'woocommerce_product_importer_memory_exceeded', $return ); -
apply_filters( 'woocommerce_product_importer_pre_expand_data', $data ); -
apply_filters( 'woocommerce_product_importer_time_exceeded', $return ); -
apply_filters( 'woocommerce_product_is_visible', $visible, $this->get_id() ); -
woocommerce_product_loop_end
filterapply_filters( 'woocommerce_product_loop_end', ob_get_clean() ); -
apply_filters( 'woocommerce_product_loop_start', ob_get_clean() ); -
apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ); -
woocommerce_product_meta_end
actiondo_action( 'woocommerce_product_meta_end' ); -
do_action( 'woocommerce_product_meta_start' ); -
apply_filters( 'woocommerce_product_needs_shipping', ! $this->is_virtual(), $this ); -
apply_filters( 'woocommerce_product_object_query', $results, $args ); -
apply_filters( 'woocommerce_product_object_query_args', $this->get_query_vars() ); -
do_action( 'woocommerce_product_object_updated_props', $product, $this->updated_props ); -
do_action( 'woocommerce_product_options_advanced' ); -
do_action( 'woocommerce_product_options_attributes' ); -
do_action( 'woocommerce_product_options_dimensions' ); -
do_action( 'woocommerce_product_options_downloads' ); -
do_action( 'woocommerce_product_options_external' ); -
do_action( 'woocommerce_product_options_general_product_data' ); -
do_action( 'woocommerce_product_options_global_unique_id' ); -
do_action( 'woocommerce_product_options_inventory_product_data' ); -
do_action( 'woocommerce_product_options_reviews' ); -
do_action( 'woocommerce_product_options_shipping' ); -
do_action( 'woocommerce_product_options_shipping_product_data' ); -
do_action( 'woocommerce_product_options_sku' ); -
do_action( 'woocommerce_product_options_sold_individually' ); -
do_action( 'woocommerce_product_options_stock' ); -
do_action( 'woocommerce_product_options_stock_fields' ); -
do_action( 'woocommerce_product_options_stock_status' ); -
do_action( 'woocommerce_product_options_tax' ); -
woocommerce_product_parent
filterapply_filters( 'woocommerce_product_parent', absint( $this->get_post_data()->post_parent ), $this ); -
apply_filters( 'woocommerce_product_pre_search_products', false, $term, $type, $include_variations, $all_statuses, $limit ); -
apply_filters( 'woocommerce_product_price_class', 'price' ); -
woocommerce_product_query
actiondo_action( 'woocommerce_product_query', $q, $this ); -
apply_filters( 'woocommerce_product_query_max_rand_cache_count', 5 ); -
apply_filters( 'woocommerce_product_query_meta_query', $meta_query, $this ); -
apply_filters( 'woocommerce_product_query_tax_query', $tax_query, $this ); -
do_action( 'woocommerce_product_quick_edit_end' ); -
do_action( 'woocommerce_product_quick_edit_save', $product ); -
do_action( 'woocommerce_product_quick_edit_start' ); -
apply_filters( 'woocommerce_product_review_list_args', array( 'callback' => 'woocommerce_comments' ) ); -
do_action( 'woocommerce_product_set_visibility', $product->get_id(), $product->get_catalog_visibility() ); -
woocommerce_product_settings
filterapply_filters( 'woocommerce_product_settings', $settings ); -
apply_filters( 'woocommerce_product_short_description_editor_settings', $settings ); -
apply_filters( 'woocommerce_product_stock_status_options', array( ProductStockStatus::IN_STOCK => __( 'In stock', 'woocommerce' ), ProductStockStatus::OUT_OF_STOCK => __( 'Out of stock', 'woocommerce' ), ProductStockStatus::ON_BACKORDER => __( 'On backorder', 'woocommerce' ), ) ); -
apply_filters( 'woocommerce_product_subcategories_hide_empty', true ); -
woocommerce_product_supports
filterapply_filters( 'woocommerce_product_supports', in_array( $feature, $this->supports, true ), $feature, $this ); -
apply_filters( 'woocommerce_product_tag_cloud_widget_args', array( 'taxonomy' => $current_taxonomy, 'topic_count_text_callback' => array( $this, 'topic_count_text' ), ) ); -
apply_filters( 'woocommerce_product_template_csv_file_path', $template_path, $template_name ); -
do_action( 'woocommerce_product_thumbnails' ); -
apply_filters( 'woocommerce_product_thumbnails_columns', 4 ); -
do_action( 'woocommerce_product_type_changed', $product, $old_type, $new_type ); -
apply_filters( 'woocommerce_product_type_query', false, $product_id ); -
apply_filters( 'woocommerce_product_upsell_ids', $this->get_upsell_ids(), $this ); -
apply_filters( 'woocommerce_product_upsells_products_heading', __( 'You may also like…', 'woocommerce' ) ); -
do_action( 'woocommerce_product_write_panel_tabs' ); -
apply_filters( 'woocommerce_products_admin_list_table_filters', array( 'product_category' => array( $this, 'render_products_category_filter' ), 'product_type' => array( $this, 'render_products_type_filter' ), 'stock_status' => array( $this, 'render_products_stock_status_filter' ), ) ); -
apply_filters( 'woocommerce_products_general_settings', $settings ); -
apply_filters( 'woocommerce_quantity_input_autocomplete', 'off', $product ); -
apply_filters( 'woocommerce_quantity_input_classes', array( 'input-text', 'qty', 'text' ), $product ); -
apply_filters( 'woocommerce_quantity_input_inputmode', wc_is_stock_amount_integer() ? 'numeric' : 'decimal' ); -
apply_filters( 'woocommerce_quantity_input_pattern', wc_is_stock_amount_integer() ? '[0-9]*' : '' ); -
woocommerce_queue_class
filterapply_filters( 'woocommerce_queue_class', self::$default_cass ); -
woocommerce_rate_code
filterapply_filters( 'woocommerce_rate_code', $code_string, $key ); -
woocommerce_rate_compound
filterapply_filters( 'woocommerce_rate_compound', $compound, $key ); -
woocommerce_rate_label
filterapply_filters( 'woocommerce_rate_label', $rate_name, $key ); -
woocommerce_rate_percent
filterapply_filters( 'woocommerce_rate_percent', $rate_percent_value . '%', $tax_rate_id ); -
apply_filters( 'woocommerce_rating_filter_count', "({$count})", $count, $rating ); -
apply_filters( 'woocommerce_rating_filter_link', $link_ratings ? add_query_arg( 'rating_filter', $link_ratings, $link ) : remove_query_arg( 'rating_filter' ) ); -
do_action( "woocommerce_receipt_{$order->get_payment_method()}", $order->get_id() ); -
apply_filters( 'woocommerce_recently_viewed_products_widget_query_args', $query_args ); -
apply_filters( 'woocommerce_redirect_only_method_is_secure', false ); -
apply_filters( 'woocommerce_redirect_single_search_result', true ); -
do_action( 'woocommerce_reduce_order_stock', $order ); -
woocommerce_refund_created
actiondo_action( 'woocommerce_refund_created', $refund->get_id(), $args ); -
woocommerce_refund_deleted
actiondo_action( 'woocommerce_refund_deleted', $refund_id, $order_id ); -
apply_filters( 'woocommerce_regenerate_images_intermediate_image_sizes', $unfiltered_sizes ); -
woocommerce_register_form
actiondo_action( 'woocommerce_register_form' ); -
do_action( 'woocommerce_register_form_end' ); -
do_action( 'woocommerce_register_form_start' ); -
do_action( 'woocommerce_register_form_tag' ); -
do_action( 'woocommerce_register_post_type' ); -
apply_filters( 'woocommerce_register_post_type_product', array( 'labels' => array( 'name' => __( 'Products', 'woocommerce' ), 'singular_name' => __( 'Product', 'woocommerce' ), 'all_items' => __( 'All Products', 'woocommerce' ), 'menu_name' => _x( 'Products', 'Admin menu name', 'woocommerce' ), 'add_new' => __( 'Add New', 'woocommerce' ), 'add_new_item' => __( 'Add new product', 'woocommerce' ), 'edit' => __( 'Edit', 'woocommerce' ), 'edit_item' => _... ); -
apply_filters( 'woocommerce_register_post_type_product_variation', array( 'label' => __( 'Variations', 'woocommerce' ), 'public' => false, 'hierarchical' => false, 'supports' => false, 'capability_type' => 'product', 'rewrite' => false, ) ); -
apply_filters( 'woocommerce_register_post_type_shop_coupon', array( 'labels' => array( 'name' => __( 'Coupons', 'woocommerce' ), 'singular_name' => __( 'Coupon', 'woocommerce' ), 'menu_name' => _x( 'Coupons', 'Admin menu name', 'woocommerce' ), 'add_new' => __( 'Add coupon', 'woocommerce' ), 'add_new_item' => __( 'Add new coupon', 'woocommerce' ), 'edit' => __( 'Edit', 'woocommerce' ), 'edit_item' => __( 'Edit coupon', 'woocommerce' ), 'new_item' => __( ... ); -
apply_filters( 'woocommerce_register_post_type_shop_order', array( 'labels' => array( 'name' => __( 'Orders', 'woocommerce' ), 'singular_name' => _x( 'Order', 'shop_order post type singular name', 'woocommerce' ), 'add_new' => __( 'Add order', 'woocommerce' ), 'add_new_item' => __( 'Add new order', 'woocommerce' ), 'edit' => __( 'Edit', 'woocommerce' ), 'edit_item' => __( 'Edit order', 'woocommerce' ), 'new_item' => __( 'New order', 'woocommerce' ), 'vi... ); -
apply_filters( 'woocommerce_register_post_type_shop_order_refund', array( 'label' => __( 'Refunds', 'woocommerce' ), 'capability_type' => 'shop_order', 'public' => false, 'hierarchical' => false, 'supports' => false, 'add_order_meta_boxes' => false, 'exclude_from_order_count' => true, 'exclude_from_order_views' => false, 'exclude_from_order_reports' => false, 'exclude_from_order_sales_reports' => true, 'class_name' => 'WC_Order_Refund', 'rewrite' => false, ) ); -
apply_filters( 'woocommerce_register_shop_order_post_statuses', array( OrderInternalStatus::PENDING => array( 'label' => _x( 'Pending payment', 'Order status', 'woocommerce' ), 'public' => false, 'exclude_from_search' => false, 'show_in_admin_all_list' => true, 'show_in_admin_status_list' => true, 'label_count' => _n_noop( 'Pending payment <span class="count">(%s)</span>', 'Pending payment <span class="count">(%s)</span>', 'woocommerce' ), ), OrderInternalS... ); -
do_action( 'woocommerce_register_taxonomy' ); -
apply_filters( 'woocommerce_registration_auth_new_customer', true, $new_customer ); -
apply_filters( 'woocommerce_registration_redirect', $redirect ); -
woocommerce_remove_cart_item
actiondo_action( 'woocommerce_remove_cart_item', $cart_item_key, $this ); -
woocommerce_removed_coupon
actiondo_action( 'woocommerce_removed_coupon', $coupon_code ); -
apply_filters( 'woocommerce_report_downloads_query_from', $query_from ); -
apply_filters( 'woocommerce_report_low_in_stock_query_from', $wpdb->prepare( " FROM {$wpdb->posts} as posts INNER JOIN {$wpdb->wc_product_meta_lookup} AS lookup ON posts.ID = lookup.product_id WHERE 1=1 AND posts.post_type IN ( 'product', 'product_variation' ) AND posts.post_status = 'publish' AND lookup.stock_quantity <= %d AND lookup.stock_quantity > %d ", $stock, $nostock ) ); -
apply_filters( 'woocommerce_report_most_stocked_query_from', $wpdb->prepare( " FROM {$wpdb->posts} as posts INNER JOIN {$wpdb->wc_product_meta_lookup} AS lookup ON posts.ID = lookup.product_id WHERE 1=1 AND posts.post_type IN ( 'product', 'product_variation' ) AND posts.post_status = 'publish' AND lookup.stock_quantity > %d ", $stock ) ); -
apply_filters( 'woocommerce_report_out_of_stock_query_from', $wpdb->prepare( " FROM {$wpdb->posts} as posts INNER JOIN {$wpdb->wc_product_meta_lookup} AS lookup ON posts.ID = lookup.product_id WHERE 1=1 AND posts.post_type IN ( 'product', 'product_variation' ) AND posts.post_status = 'publish' AND lookup.stock_quantity <= %d ", $stock ) ); -
apply_filters( 'woocommerce_report_sales_by_category_get_products_in_category', $product_ids, $category_id ); -
woocommerce_reports_charts
filterapply_filters( 'woocommerce_reports_charts', $reports ); -
apply_filters( 'woocommerce_reports_get_order_report_data_args', $args ); -
apply_filters( 'woocommerce_reports_screen_ids', array( $wc_screen_id . '_page_wc-reports', 'toplevel_page_wc-reports' ) ); -
apply_filters( 'woocommerce_reports_taxes_rate', $rate, $rate_id, $tax_row ); -
apply_filters( 'woocommerce_reports_taxes_tax_rate', $tax_row->tax_rate, $rate_id, $tax_row ); -
apply_filters( 'woocommerce_reset_password_message', esc_html__( 'Enter a new password below.', 'woocommerce' ) ); -
do_action( 'woocommerce_resetpassword_form' ); -
woocommerce_resize_images
filterapply_filters( 'woocommerce_resize_images', true ); -
apply_filters( "woocommerce_rest_{$object_type}_schema", $schema['properties'] ); -
apply_filters( 'woocommerce_rest_allowed_image_mime_types', array( 'jpg|jpeg|jpe' => 'image/jpeg', 'gif' => 'image/gif', 'png' => 'image/png', 'bmp' => 'image/bmp', 'tiff|tif' => 'image/tiff', 'ico' => 'image/x-icon', 'webp' => 'image/webp', ) ); -
apply_filters_deprecated( 'woocommerce_rest_api_option_permissions', array( $permissions, $request ), '6.3.0' ); -
do_action( 'woocommerce_rest_api_uploaded_image_from_url', $file, $image_url ); -
apply_filters( 'woocommerce_rest_api_valid_to_save', ! in_array( $current_section, array( 'keys', 'webhooks' ), true ) ); -
apply_filters( 'woocommerce_rest_batch_items_limit', 100, $this->get_normalized_rest_base() ); -
apply_filters( 'woocommerce_rest_performance_indicators_data_value', $data, $stat, $report, $chart, $query_args ); -
apply_filters( 'woocommerce_rest_performance_indicators_jetpack_items', array( 'stats/visitors' => array( 'label' => __( 'Visitors', 'woocommerce' ), 'permission' => 'view_stats', 'format' => 'number', 'module' => 'stats', ), 'stats/views' => array( 'label' => __( 'Views', 'woocommerce' ), 'permission' => 'view_stats', 'format' => 'number', 'module' => 'stats', ), ) ); -
apply_filters( 'woocommerce_rest_reports_column_types', $this->column_types, $array ); -
apply_filters( 'woocommerce_rest_reports_products_extended_attributes', $this->extended_attributes, $product_data ); -
apply_filters( 'woocommerce_rest_reports_variations_extended_attributes', $this->extended_attributes, $product_data ); -
do_action( 'woocommerce_rest_save_product_variation', $variation->get_id(), $menu_order, $data ); -
apply_filters( 'woocommerce_rest_themes_collection_params', $params ); -
do_action( 'woocommerce_restock_refunded_item', $product->get_id(), $old_stock, $new_stock, $order, $product ); -
apply_filters( 'woocommerce_restock_refunded_items', true ); -
do_action( 'woocommerce_restore_cart_item', $cart_item_key, $this ); -
do_action( 'woocommerce_restore_order_stock', $order ); -
do_action( 'woocommerce_review_after_comment_text', $comment ); -
do_action( 'woocommerce_review_before_comment_text', $comment ); -
apply_filters( 'woocommerce_review_gravatar_size', '60' ); -
do_action( 'woocommerce_review_order_after_cart_contents' ); -
do_action( 'woocommerce_review_order_after_order_total' ); -
do_action( 'woocommerce_review_order_after_payment' ); -
do_action( 'woocommerce_review_order_after_shipping' ); -
do_action( 'woocommerce_review_order_after_submit' ); -
do_action( 'woocommerce_review_order_before_cart_contents' ); -
do_action( 'woocommerce_review_order_before_order_total' ); -
do_action( 'woocommerce_review_order_before_payment' ); -
do_action( 'woocommerce_review_order_before_shipping' ); -
do_action( 'woocommerce_review_order_before_submit' ); -
do_action_ref_array( 'woocommerce_save_account_details_errors', array( &$errors, &$user ) ); -
apply_filters( 'woocommerce_save_account_details_required_fields', array( 'account_first_name' => __( 'First name', 'woocommerce' ), 'account_last_name' => __( 'Last name', 'woocommerce' ), 'account_display_name' => __( 'Display name', 'woocommerce' ), 'account_email' => __( 'Email address', 'woocommerce' ), ) ); -
do_action( 'woocommerce_save_product_variation', $variation_id, $i ); -
do_action( 'woocommerce_saved_order_items', $order_id, $items ); -
apply_filters( 'woocommerce_saved_payment_methods_list', array(), $customer_id ); -
woocommerce_screen_ids
filterapply_filters( 'woocommerce_screen_ids', $screen_ids ); -
do_action( "woocommerce_sections_{$current_tab}" ); -
woocommerce_set_cart_cookies
actiondo_action( 'woocommerce_set_cart_cookies', $set ); -
do_action( "woocommerce_settings_{$current_tab}" ); -
do_action( "woocommerce_settings_{sanitize_title($value['id'])}" ); -
do_action( "woocommerce_settings_{sanitize_title($value['id'])}_after" ); -
do_action( "woocommerce_settings_{sanitize_title($value['id'])}_end" ); -
apply_filters( "woocommerce_settings_api_form_fields_{$this->id}", array_map( array( $this, 'set_defaults' ), $this->form_fields ) ); -
apply_filters( "woocommerce_settings_form_method_tab_{$current_tab}", 'post' ); -
woocommerce_settings_groups
filterapply_filters( 'woocommerce_settings_groups', array() ); -
do_action( 'woocommerce_settings_page_init' ); -
woocommerce_settings_pages
filterapply_filters( 'woocommerce_settings_pages', $settings ); -
do_action( "woocommerce_settings_save_{$current_tab}" ); -
woocommerce_settings_saved
actiondo_action( 'woocommerce_settings_saved' ); -
woocommerce_settings_start
actiondo_action( 'woocommerce_settings_start' ); -
do_action( "woocommerce_settings_tabs_{$current_tab}" ); -
apply_filters( 'woocommerce_setup_wizard_force_legacy', false ); -
apply_filters( 'woocommerce_setup_wizard_steps', $default_steps ); -
apply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 ); -
apply_filters( "woocommerce_shipping_{$this->id}_instance_option", $this->instance_settings[ $key ], $key, $this ); -
apply_filters( "woocommerce_shipping_{$this->id}_instance_settings_values", $this->instance_settings, $this ); -
apply_filters( "woocommerce_shipping_{$this->id}_option", parent::get_option( $key, $empty_value ), $key, $this ); -
apply_filters( 'woocommerce_shipping_address_map_url', 'https://maps.google.com/maps?&q=' . rawurlencode( implode( ', ', $address ) ) . '&z=16', $this ); -
apply_filters( 'woocommerce_shipping_address_map_url_parts', $address, $this ); -
apply_filters( 'woocommerce_shipping_calculator_enable_city', true ); -
apply_filters( 'woocommerce_shipping_calculator_enable_country', true ); -
apply_filters( 'woocommerce_shipping_classes_columns', array( 'wc-shipping-class-name' => __( 'Shipping class', 'woocommerce' ), 'wc-shipping-class-slug' => __( 'Slug', 'woocommerce' ), 'wc-shipping-class-description' => __( 'Description', 'woocommerce' ), 'wc-shipping-class-count' => __( 'Product count', 'woocommerce' ), ) ); -
do_action( 'woocommerce_shipping_classes_save_class', $term_id, $data ); -
apply_filters( 'woocommerce_shipping_estimate_html', __( 'Shipping options will be updated during checkout.', 'woocommerce' ) ); -
woocommerce_shipping_init
actiondo_action( 'woocommerce_shipping_init' ); -
apply_filters( "woocommerce_shipping_instance_form_fields_{$this->id}", array_map( array( $this, 'set_defaults' ), $this->instance_form_fields ) ); -
apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) ); -
apply_filters( 'woocommerce_shipping_method_add_rate', $rate, $args, $this ); -
apply_filters( 'woocommerce_shipping_method_add_rate_args', wp_parse_args( $args, array( 'id' => $this->get_rate_id(), 'label' => '', 'cost' => '0', 'taxes' => '', 'calc_tax' => 'per_order', 'meta_data' => array(), 'package' => false, 'price_decimals' => false, ) ), $this ); -
apply_filters( 'woocommerce_shipping_method_description', $this->method_description, $this ); -
apply_filters( 'woocommerce_shipping_method_supports', in_array( $feature, $this->supports ), $feature, $this ); -
woocommerce_shipping_methods
filterapply_filters( 'woocommerce_shipping_methods', $shipping_methods ); -
apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'woocommerce' ) ); -
apply_filters( 'woocommerce_shipping_package_details_array', $product_names, $package ); -
apply_filters( 'woocommerce_shipping_settings', $settings ); -
apply_filters( 'woocommerce_shipping_show_shipping_calculator', $first, $i, $package ); -
do_action( 'woocommerce_shipping_zone_after_methods_table', $zone ); -
do_action( 'woocommerce_shipping_zone_before_methods_table', $zone ); -
do_action( 'woocommerce_shipping_zone_method_added', $instance_id, $type, $this->get_id() ); -
apply_filters( 'woocommerce_shipping_zone_shipping_methods', $methods, $raw_methods, $allowed_classes, $this ); -
do_action( "woocommerce_shortcode_{$this->type}_loop_no_results", $this->attributes ); -
do_action( "woocommerce_shortcode_after_{$this->type}_loop", $this->attributes ); -
do_action( "woocommerce_shortcode_before_{$this->type}_loop", $this->attributes ); -
apply_filters( 'woocommerce_shortcode_order_tracking_order_id', $order_id ); -
apply_filters( 'woocommerce_shortcode_products_query', $query_args, $this->attributes, $this->type ); -
apply_filters( 'woocommerce_show_admin_bar_visit_store', true ); -
apply_filters( 'woocommerce_show_admin_notice', true, $notice ); -
apply_filters( 'woocommerce_show_invalid_variations_notice', true, $product_object ); -
apply_filters( 'woocommerce_show_variation_price', $variation->get_price() === '' || $this->get_variation_sale_price( 'min' ) !== $this->get_variation_sale_price( 'max' ) || $this->get_variation_regular_price( 'min' ) !== $this->get_variation_regular_price( 'max' ), $this, $variation ); -
apply_filters( 'woocommerce_single_product_carousel_options', array( 'rtl' => is_rtl(), 'animation' => 'slide', 'smoothHeight' => true, 'directionNav' => false, 'controlNav' => 'thumbnails', 'slideshow' => false, 'animationSpeed' => 500, 'animationLoop' => false, 'allowOneSlide' => false, ) ); -
apply_filters( 'woocommerce_single_product_image_gallery_classes', array( 'woocommerce-product-gallery', 'woocommerce-product-gallery--' . ( $has_media ? 'with-images' : 'without-images' ), 'woocommerce-product-gallery--columns-' . absint( $columns ), 'images', ) ); -
apply_filters( 'woocommerce_single_product_photoswipe_enabled', get_theme_support( 'wc-product-gallery-lightbox' ) ); -
apply_filters( 'woocommerce_single_product_photoswipe_options', array( 'shareEl' => false, 'closeOnScroll' => false, 'history' => false, 'hideAnimationDuration' => 0, 'showAnimationDuration' => 0, ) ); -
apply_filters( 'woocommerce_single_product_zoom_enabled', get_theme_support( 'wc-product-gallery-zoom' ) ); -
apply_filters( 'woocommerce_single_product_zoom_options', array() ); -
apply_filters( 'woocommerce_stock_amount_cart_item', wc_stock_amount( preg_replace( '/[^0-9\.]/', '', $cart_totals[ $cart_item_key ]['qty'] ) ), $cart_item_key ); -
woocommerce_stock_html
filterapply_filters( 'woocommerce_stock_html', $html, $availability['availability'], $product ); -
apply_filters( 'woocommerce_structured_data_breadcrumblist', $markup, $breadcrumbs ); -
apply_filters( 'woocommerce_structured_data_order', $markup, $sent_to_admin, $order ); -
apply_filters( 'woocommerce_structured_data_product', $markup, $product ); -
apply_filters( 'woocommerce_structured_data_product_offer', $markup_offer, $product ); -
apply_filters( 'woocommerce_structured_data_review', $markup, $comment ); -
apply_filters( 'woocommerce_structured_data_type_for_page', $types ); -
apply_filters( 'woocommerce_structured_data_website', $markup ); -
apply_filters( 'woocommerce_style_smallscreen_breakpoint', '768px' ); -
apply_filters( 'woocommerce_subcategory_count_html', ' <mark class="count">(' . esc_html( $category->count ) . ')</mark>', $category ); -
woocommerce_tax_rate_added
actiondo_action( 'woocommerce_tax_rate_added', $tax_rate_id, $tax_rate ); -
woocommerce_tax_rate_deleted
actiondo_action( 'woocommerce_tax_rate_deleted', $tax_rate_id ); -
woocommerce_tax_rate_updated
actiondo_action( 'woocommerce_tax_rate_updated', $tax_rate_id, $tax_rate ); -
woocommerce_tax_round
filterapply_filters( 'woocommerce_tax_round', NumberUtil::round( $in, wc_get_rounding_precision() ), $in ); -
woocommerce_tax_settings
filterapply_filters( 'woocommerce_tax_settings', $settings ); -
apply_filters( "woocommerce_taxonomy_args_{$name}", $taxonomy_data ); -
apply_filters( 'woocommerce_taxonomy_args_product_cat', array( 'hierarchical' => true, 'update_count_callback' => '_wc_term_recount', 'label' => __( 'Categories', 'woocommerce' ), 'labels' => array( 'name' => __( 'Product categories', 'woocommerce' ), 'singular_name' => __( 'Category', 'woocommerce' ), 'menu_name' => _x( 'Categories', 'Admin menu name', 'woocommerce' ), 'search_items' => __( 'Search categories', 'woocommerce' ), 'all_items' => __( '... ); -
apply_filters( 'woocommerce_taxonomy_args_product_shipping_class', array( 'hierarchical' => false, 'update_count_callback' => '_update_post_term_count', 'label' => __( 'Shipping classes', 'woocommerce' ), 'labels' => array( 'name' => __( 'Product shipping classes', 'woocommerce' ), 'singular_name' => __( 'Shipping class', 'woocommerce' ), 'menu_name' => _x( 'Shipping classes', 'Admin menu name', 'woocommerce' ), 'search_items' => __( 'Search shipping classes',... ); -
apply_filters( 'woocommerce_taxonomy_args_product_tag', array( 'hierarchical' => false, 'update_count_callback' => '_wc_term_recount', 'label' => __( 'Product tags', 'woocommerce' ), 'labels' => array( 'name' => __( 'Product tags', 'woocommerce' ), 'singular_name' => __( 'Tag', 'woocommerce' ), 'menu_name' => _x( 'Tags', 'Admin menu name', 'woocommerce' ), 'search_items' => __( 'Search tags', 'woocommerce' ), 'all_items' => __( 'All tags', 'woocomme... ); -
apply_filters( 'woocommerce_taxonomy_args_product_type', array( 'hierarchical' => false, 'show_ui' => false, 'show_in_nav_menus' => false, 'query_var' => is_admin(), 'rewrite' => false, 'public' => false, 'label' => _x( 'Product type', 'Taxonomy name', 'woocommerce' ), ) ); -
apply_filters( 'woocommerce_taxonomy_args_product_visibility', array( 'hierarchical' => false, 'show_ui' => false, 'show_in_nav_menus' => false, 'query_var' => is_admin(), 'rewrite' => false, 'public' => false, 'label' => _x( 'Product visibility', 'Taxonomy name', 'woocommerce' ), ) ); -
apply_filters( "woocommerce_taxonomy_objects_{$name}", array( 'product' ) ); -
apply_filters( 'woocommerce_taxonomy_objects_product_cat', array( 'product' ) ); -
apply_filters( 'woocommerce_taxonomy_objects_product_shipping_class', array( 'product', 'product_variation' ) ); -
apply_filters( 'woocommerce_taxonomy_objects_product_tag', array( 'product' ) ); -
apply_filters( 'woocommerce_taxonomy_objects_product_type', array( 'product' ) ); -
apply_filters( 'woocommerce_taxonomy_objects_product_visibility', array( 'product', 'product_variation' ) ); -
apply_filters( 'woocommerce_template_loader_files', array(), $default_file ); -
woocommerce_template_url
filterapply_filters( 'woocommerce_template_url', 'woocommerce/' ); -
apply_filters( 'woocommerce_terms_and_conditions_page_id', 0 < $page_id ? absint( $page_id ) : 0 ); -
apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ); -
woocommerce_thankyou
actiondo_action( 'woocommerce_thankyou', $order->get_id() ); -
do_action( "woocommerce_thankyou_{$order->get_payment_method()}", $order->get_id() ); -
apply_filters( 'woocommerce_theme_slug_for_templates', get_option( 'template' ) ); -
woocommerce_time_format
filterapply_filters( 'woocommerce_time_format', $time_format ); -
apply_filters( 'woocommerce_top_rated_products_widget_args', array( 'posts_per_page' => $number, 'no_found_rows' => 1, 'post_status' => 'publish', 'post_type' => 'product', 'meta_key' => '_wc_average_rating', 'orderby' => 'meta_value_num', 'order' => 'DESC', 'meta_query' => WC()->query->get_meta_query(), 'tax_query' => WC()->query->get_tax_query(), ) ); -
woocommerce_track_order
actiondo_action( 'woocommerce_track_order', $order->get_id() ); -
apply_filters( 'woocommerce_tracker_last_send_interval', strtotime( '-1 week' ) ); -
do_action( 'woocommerce_tracker_send_event' ); -
do_action( "woocommerce_trash_{$post_type}", $id ); -
apply_filters( 'woocommerce_trash_cancelled_orders_query_args', array( 'date_created' => '<' . strtotime( '-' . $option['number'] . ' ' . $option['unit'] ), 'limit' => $limit, 'status' => OrderInternalStatus::CANCELLED, 'type' => 'shop_order', ) ); -
woocommerce_trash_coupon
actiondo_action( 'woocommerce_trash_coupon', $id ); -
apply_filters( 'woocommerce_trash_failed_orders_query_args', array( 'date_created' => '<' . strtotime( '-' . $option['number'] . ' ' . $option['unit'] ), 'limit' => $limit, 'status' => OrderInternalStatus::FAILED, 'type' => 'shop_order', ) ); -
apply_filters( 'woocommerce_trash_pending_orders_query_args', array( 'date_created' => '<' . strtotime( '-' . $option['number'] . ' ' . $option['unit'] ), 'limit' => $limit, 'status' => OrderInternalStatus::PENDING, 'type' => 'shop_order', ) ); -
apply_filters( 'woocommerce_twenty_nineteen_styles', $styles ); -
apply_filters( 'woocommerce_twenty_seventeen_styles', $styles ); -
apply_filters( 'woocommerce_twenty_twenty_one_styles', $styles ); -
apply_filters( 'woocommerce_twenty_twenty_styles', $styles ); -
apply_filters( 'woocommerce_twenty_twenty_three_styles', $styles ); -
apply_filters( 'woocommerce_twenty_twenty_two_styles', $styles ); -
apply_filters( 'woocommerce_unforce_ssl_checkout', true ); -
apply_filters( 'woocommerce_update_cart_action_cart_updated', $cart_updated ); -
apply_filters( 'woocommerce_update_cart_validation', true, $cart_item_key, $values, $quantity ); -
woocommerce_update_coupon
actiondo_action( 'woocommerce_update_coupon', $coupon->get_id(), $coupon ); -
woocommerce_update_customer
actiondo_action( 'woocommerce_update_customer', $customer->get_id(), $customer ); -
do_action( 'woocommerce_update_new_customer_past_order', $order_id, $customer ); -
do_action( "woocommerce_update_option_{sanitize_title($option['type'])}", $option ); -
do_action( "woocommerce_update_options_{$current_tab}" ); -
do_action( "woocommerce_update_options_{$this->id}_{$section_id}" ); -
woocommerce_update_product
actiondo_action( 'woocommerce_update_product', $product->get_id(), $product ); -
do_action( 'woocommerce_update_product_variation', $product->get_id(), $product ); -
do_action( 'woocommerce_updated_instance_ids', $changes ); -
apply_filters( 'woocommerce_upsell_display_args', array( 'posts_per_page' => $limit, 'orderby' => $orderby, 'order' => $order, 'columns' => $columns, ) ); -
woocommerce_upsells_columns
filterapply_filters( 'woocommerce_upsells_columns', isset( $args['columns'] ) ? $args['columns'] : $columns ); -
woocommerce_upsells_order
filterapply_filters( 'woocommerce_upsells_order', isset( $args['order'] ) ? $args['order'] : $order ); -
woocommerce_upsells_orderby
filterapply_filters( 'woocommerce_upsells_orderby', isset( $args['orderby'] ) ? $args['orderby'] : $orderby ); -
apply_filters( 'woocommerce_user_last_update_fields', array( 'first_name', 'last_name' ) ); -
apply_filters( 'woocommerce_valid_location_types', array( 'postcode', 'state', 'country', 'continent' ) ); -
apply_filters( 'woocommerce_validate_postcode', $valid, $postcode, $country ); -
apply_filters( 'woocommerce_variable_empty_price_html', '', $this ); -
apply_filters( 'woocommerce_variable_price_html', $price . $this->get_price_suffix(), $this ); -
do_action( 'woocommerce_variable_product_before_variations' ); -
do_action( 'woocommerce_variable_product_bulk_edit_actions' ); -
do_action( 'woocommerce_variable_product_sync_data', $product ); -
apply_filters( 'woocommerce_variation_is_active', true, $this ); -
do_action( 'woocommerce_variation_options', $loop, $variation_data, $variation ); -
woocommerce_vat_countries
filterapply_filters( 'woocommerce_vat_countries', array_merge( $eu_countries, $vat_countries ) ); -
woocommerce_webhook_deleted
actiondo_action( 'woocommerce_webhook_deleted', $webhook->get_id(), $webhook ); -
apply_filters( 'woocommerce_webhook_deliver_async', true, $data['webhook'], $data['arg'] ); -
woocommerce_webhook_delivery
actiondo_action( 'woocommerce_webhook_delivery', $http_args, $response, $duration, $arg, $this->get_id() ); -
apply_filters( 'woocommerce_webhook_delivery_url', $this->get_prop( 'delivery_url', $context ), $this->get_id() ); -
do_action( 'woocommerce_webhook_disabled_due_delivery_failures', $this->get_id() ); -
woocommerce_webhook_event
filterapply_filters( 'woocommerce_webhook_event', isset( $topic[1] ) ? $topic[1] : '', $this->get_id() ); -
apply_filters( 'woocommerce_webhook_hash_algorithm', 'sha256', $payload, $this->get_id() ); -
woocommerce_webhook_hooks
filterapply_filters( 'woocommerce_webhook_hooks', $hooks, $this->get_id() ); -
woocommerce_webhook_loaded
actiondo_action( 'woocommerce_webhook_loaded', $webhook ); -
woocommerce_webhook_name
filterapply_filters( 'woocommerce_webhook_name', $this->get_prop( 'name', $context ), $this->get_id() ); -
do_action( 'woocommerce_webhook_options_save', $webhook->get_id() ); -
woocommerce_webhook_resource
filterapply_filters( 'woocommerce_webhook_resource', $topic[0], $this->get_id() ); -
woocommerce_webhook_secret
filterapply_filters( 'woocommerce_webhook_secret', $this->get_prop( 'secret', $context ), $this->get_id() ); -
woocommerce_webhook_status
filterapply_filters( 'woocommerce_webhook_status', $this->get_prop( 'status', $context ), $this->get_id() ); -
woocommerce_webhook_statuses
filterapply_filters( 'woocommerce_webhook_statuses', array( 'active' => __( 'Active', 'woocommerce' ), 'paused' => __( 'Paused', 'woocommerce' ), 'disabled' => __( 'Disabled', 'woocommerce' ), ) ); -
woocommerce_webhook_topic
filterapply_filters( 'woocommerce_webhook_topic', $this->get_prop( 'topic', $context ), $this->get_id() ); -
woocommerce_webhook_topics
filterapply_filters( 'woocommerce_webhook_topics', array( '' => __( 'Select an option…', 'woocommerce' ), 'coupon.created' => __( 'Coupon created', 'woocommerce' ), 'coupon.updated' => __( 'Coupon updated', 'woocommerce' ), 'coupon.deleted' => __( 'Coupon deleted', 'woocommerce' ), 'coupon.restored' => __( 'Coupon restored', 'woocommerce' ), 'customer.created' => __( 'Customer created', 'woocommerce' ), 'customer.updated' => __( 'Custome... ); -
woocommerce_webhook_updated
actiondo_action( 'woocommerce_webhook_updated', $webhook->get_id() ); -
apply_filters( 'woocommerce_widget_cart_item_quantity', '<span class="quantity">' . sprintf( '%s × %s', esc_html( $cart_item['quantity'] ), $product_price ) . '</span>', $cart_item, $cart_item_key ); -
do_action( "woocommerce_widget_field_{$setting['type']}", $key, $value, $setting, $instance ); -
apply_filters( 'woocommerce_widget_get_current_page_url', $link, $this ); -
do_action( 'woocommerce_widget_price_filter_end', $args ); -
do_action( 'woocommerce_widget_price_filter_start', $args ); -
do_action( 'woocommerce_widget_product_item_end', $args ); -
do_action( 'woocommerce_widget_product_item_start', $args ); -
do_action( 'woocommerce_widget_product_review_item_end', $args ); -
do_action( 'woocommerce_widget_product_review_item_start', $args ); -
do_action( 'woocommerce_widget_shopping_cart_after_buttons' ); -
do_action( 'woocommerce_widget_shopping_cart_before_buttons' ); -
do_action( 'woocommerce_widget_shopping_cart_buttons' ); -
do_action( "wp_{$blog_id}_wc_updater_cron" );
Generated from WooCommerce'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: