Single Page Shopping 1.1.0 has 27 actions and 30 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Single Page Shopping fires an action
add_action( 'awcs_after_main_content', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Single Page Shopping is about to use
add_filter( 'woocommerce_cart_updated_notice_type', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Hook: awcs_after_main_content. */ do_action( 'awcs_after_main_content' ); -
/** * Hook: awcs_before_main_content. */ do_action( 'awcs_before_main_content' ); -
/** * Hook: awcs_after_single_product_summary. */ do_action( 'awcs_after_single_product_summary' ); -
/** * Hook: awcs_before_shop_loop. */ do_action( 'awcs_before_shop_loop' ); -
/** * Hook: awcs_single_product_content. */ do_action( 'awcs_single_product_content', $product_url ); -
/** * Hook: awcs_single_product_summary. */ do_action( 'awcs_single_product_summary' ); -
woocommerce_after_save_address_validation
action Used by 6 plugins β Copy link Customise this hook/** * Hook: woocommerce_after_save_address_validation. */ do_action( 'woocommerce_after_save_address_validation', $user_id, $load_address, $address, $customer ); -
/** * Hook: woocommerce_after_shop_loop. */ do_action( 'woocommerce_after_shop_loop' ); -
/** * Hook: woocommerce_archive_description. */ do_action( 'woocommerce_archive_description' ); -
/** * Hook: woocommerce_before_single_product. */ do_action( 'woocommerce_before_single_product' ); -
woocommerce_before_single_product_summary
action Used by 25 plugins β Copy link Customise this hook/** * Hook: woocommerce_before_single_product_summary. */ do_action( 'woocommerce_before_single_product_summary' ); -
/** * WooCommerce Breadcrumb hook */ do_action( 'woocommerce_breadcrumb', $breadcrumbs, $args ); -
/** * Hook: woocommerce_no_products_found. */ do_action( 'woocommerce_no_products_found' ); -
/** * Hook: woocommerce_shop_loop. */ do_action( 'woocommerce_shop_loop' ); -
woocommerce_account_edit-address_endpoint
action Used by 4 plugins β Copy link Customise this hookdo_action( 'woocommerce_account_edit-address_endpoint' ); -
apply_filters( 'woocommerce_cart_updated_notice_type', 'success' ); -
apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
do_action( 'awcs_after_single_product' ); -
apply_filters( 'awcs_breadcrumb_defaults', array( 'delimiter' => ' / ', 'wrap_before' => '<nav class="woocommerce-breadcrumb">', 'wrap_after' => '</nav>', 'before' => '', 'after' => '', 'home' => _x( 'Home', 'breadcrumb', 'woocommerce' ), ) ); -
apply_filters( 'awcs_enqueue_styles', array( 'awcs-frontend-style' => array( 'src' => self::get_asset_url( 'assets/css/awcs-style.min.css' ), 'deps' => '', 'version' => $version, 'media' => 'all', 'has_rtl' => false, ), ) ); -
apply_filters( 'awcs_get_asset_url', AWCS_URL . $path ); -
apply_filters( 'awcs_get_script_data', $params, $handle ); -
apply_filters( 'awcs_loop_shop_per_page', $limit ); -
apply_filters( 'awcs_products_query', $query_args, $this->settings ); -
apply_filters( 'awcs_products_query_results', $results, $this ); -
do_action( 'before_woocommerce_pay' ); -
apply_filters( 'loop_shop_per_page', wc_get_default_products_per_row() * wc_get_default_product_rows_per_page() ); -
do_action( 'woocommerce_account_content' ); -
woocommerce_account_edit-account_endpoint
action Used by 2 plugins β Copy link Customise this hookdo_action( 'woocommerce_account_edit-account_endpoint' ); -
do_action( 'woocommerce_account_orders_endpoint', $current_page ); -
do_action( 'woocommerce_account_view-order_endpoint', $order_id ); -
apply_filters( 'woocommerce_add_to_cart_product_id', absint( $_POST['product_id'] ) ); -
apply_filters( 'woocommerce_add_to_cart_validation', true, $product_id, $quantity ); -
do_action( 'woocommerce_ajax_added_to_cart', $product_id ); -
do_action( 'woocommerce_before_pay_action', $order ); -
apply_filters( 'woocommerce_breadcrumb_home_url', home_url() ); -
woocommerce_cart_item_removed_notice_type
filter Used by 5 plugins β Copy link Customise this hookapply_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 ); -
apply_filters( 'woocommerce_cart_redirect_after_error', get_permalink($product_id), $product_id ); -
do_action( 'woocommerce_customer_save_address', $user_id, $load_address ); -
apply_filters( 'woocommerce_login_credentials', $creds ); -
do_action( 'woocommerce_login_failed' ); -
apply_filters( 'woocommerce_login_redirect', remove_query_arg( 'wc_error', $redirect ), $user ); -
apply_filters( 'woocommerce_pay_order_button_text', __( 'Pay for order', 'woocommerce' ) ); -
apply_filters( 'woocommerce_payment_successful_result', $result, $order_id ); -
apply_filters( 'woocommerce_process_login_errors', $validation_error, $creds['user_login'], $creds['user_password'] ); -
apply_filters( "woocommerce_process_myaccount_field_{$key}", $value ); -
apply_filters( 'woocommerce_process_registration_errors', $validation_error, $username, $password, $email ); -
woocommerce_product_query_max_rand_cache_count
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'woocommerce_product_query_max_rand_cache_count', 5 ); -
woocommerce_registration_auth_new_customer
filter Used by 6 plugins β Copy link Customise this hookapply_filters( 'woocommerce_registration_auth_new_customer', true, $new_customer ); -
do_action( 'woocommerce_save_account_details', $user->ID ); -
do_action_ref_array( 'woocommerce_save_account_details_errors', array( &$errors, &$user ) ); -
woocommerce_save_account_details_required_fields
filter Used by 4 plugins β Copy link Customise this hookapply_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' ), ) ); -
apply_filters( 'woocommerce_show_page_title', true ); -
apply_filters( 'woocommerce_stock_amount_cart_item', wc_stock_amount( preg_replace( '/[^0-9\.]/', '', $cart_totals[ $cart_item_key ]['qty'] ) ), $cart_item_key ); -
woocommerce_update_cart_action_cart_updated
filter Used by 4 plugins β Copy link Customise this hookapply_filters( 'woocommerce_update_cart_action_cart_updated', $cart_updated ); -
apply_filters( 'woocommerce_update_cart_validation', true, $cart_item_key, $values, $quantity );
Generated from Single Page Shopping's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and weβll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the pluginβs own hooks.
- Code written against the pluginβs actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2β3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the pluginβs files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3β7 business days
Choose thisNot sure which fits? Describe what you need and weβll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: