YayCheckout 1.0.0 has 8 actions and 38 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 YayCheckout fires an action
add_action( 'yaycheckout_checkout_terms', function() {
// Your code runs here.
}, 10, 1 );
// Change a value YayCheckout is about to use
add_filter( 'yaycheckout_admin_bar_layout', 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
-
/** * Another page a layout renders on this request, for the Edit Layout item: { * layout: Layout, view: string }, view naming the editor view to open * (LayoutEditorEmbed), or null. Pro's thank-you page answers on * order-received. */ apply_filters( 'yaycheckout_admin_bar_layout', null ); -
/** * Filters the built block directories to register. */ apply_filters( 'yaycheckout_built_blocks', $built ); -
/** * Prints inside the Terms block, after WooCommerce's terms: where an extension * that replaces the terms checkbox prints its own (Integrations\Germanized * prints its legal checkboxes here). */ do_action( 'yaycheckout_checkout_terms' ); -
/** * The editor views kept in layout meta, view => meta key. A view left out * opens, saves and previews as the checkout. */ apply_filters( 'yaycheckout_editor_views', $core ); -
/** * Whether a layout renders this order-received request, short of checking the * order. Runs at setup_theme, before the main query. */ apply_filters( 'yaycheckout_layout_renders_order_received', false ); -
/** * The live value picker's entries, key => label. Keys starting with `order_` * form its Order received group. */ apply_filters( 'yaycheckout_live_value_labels', self::cart_values() ); -
/** * The live values of another page a layout renders on this request, or null to * leave its spans as they are. Pro's thank-you page answers on order-received, * from its order. */ apply_filters( 'yaycheckout_live_values_source', null ); -
/** * Whether the checkout a layout renders, and the layout editor, load the * themeless theme instead of the site's. Runs at setup_theme, so only a plugin * or mu-plugin can hook it: the theme's functions.php is what it skips. */ apply_filters( 'yaycheckout_themeless_checkout', true ); -
apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ); -
woocommerce_ship_to_different_address_checked
filter Used by 39 plugins β Copy link Customise this hookapply_filters( 'woocommerce_ship_to_different_address_checked', 0 ); -
apply_filters( 'login_errors', $error->getMessage() ); -
do_action( 'woocommerce_after_shipping_rate', $method, $index ); -
apply_filters( 'woocommerce_cart_item_class', 'cart_item', $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_name', $link_name ? $link_open . '>' . $product->get_name() . '</a>' : $product->get_name(), $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_permalink', $product->is_visible() ? $product->get_permalink( $cart_item ) : '', $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $product ), $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_quantity', self::stepper_html( $product, $cart_item, $cart_item_key ), $cart_item_key, $cart_item ); -
apply_filters( 'woocommerce_cart_item_remove_link', self::remove_link_html( $product, $cart_item_key ), $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_cart_item_thumbnail', $product->get_image(), $cart_item, $cart_item_key ); -
woocommerce_cart_shipping_method_full_label
filter Used by 5 plugins β Copy link Customise this hookapply_filters( 'woocommerce_cart_shipping_method_full_label', $label, $method ); -
apply_filters( 'woocommerce_cart_totals_coupon_html', $amount_html, $coupon, $amount_html ); -
apply_filters( 'woocommerce_checkout_cart_item_quantity', $inline_quantity, $cart_item, $cart_item_key ); -
woocommerce_checkout_must_be_logged_in_message
filter Used by 67 plugins β Copy link Customise this hookapply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'yaycheckout' ) ); -
apply_filters( 'woocommerce_coupon_discount_amount_html', $html, $coupon ); -
woocommerce_create_account_default_checked
filter Used by 51 plugins β Copy link Customise this hookapply_filters( 'woocommerce_create_account_default_checked', false ); -
apply_filters( 'woocommerce_enable_order_notes_field', 'yes' === get_option( 'woocommerce_enable_order_comments', 'yes' ) ); -
apply_filters( 'woocommerce_login_credentials', $creds ); -
do_action( 'woocommerce_login_failed' ); -
do_action( 'woocommerce_login_form' ); -
do_action( 'woocommerce_login_form_end' ); -
do_action( 'woocommerce_login_form_start' ); -
woocommerce_no_available_payment_methods_message
filter Used by 43 plugins β Copy link Customise this hookapply_filters( 'woocommerce_no_available_payment_methods_message', WC()->customer->get_billing_country() ? esc_html__( 'Sorry, it seems that there are no available payment methods. Please contact us if you require assistance or wish to make alternate arrangements.', 'yaycheckout' ) : esc_html__( 'Please fill in your details above to see available payment methods.', 'yaycheckout' ) ); -
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.', 'yaycheckout' ) ); -
apply_filters( 'woocommerce_order_button_html', $yaycheckout_button ); -
apply_filters( 'woocommerce_order_button_text', $yaycheckout_default_label ); -
apply_filters( 'woocommerce_process_login_errors', $validation_error, $creds['user_login'], $creds['user_password'] ); -
woocommerce_shipping_may_be_available_html
filter Used by 29 plugins β Copy link Customise this hookapply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'yaycheckout' ) ); -
woocommerce_shipping_package_details_array
filter Used by 18 plugins β Copy link Customise this hookapply_filters( 'woocommerce_shipping_package_details_array', $product_names, $package ); -
apply_filters( 'woocommerce_update_cart_validation', true, $cart_item_key, $values, $quantity ); -
apply_filters( 'yaycheckout_express_wallet_order_markers', [ 'payment_request_type' => [ 'gateways' => [ 'fkwcs_stripe', 'fkwcs_stripe_apple_pay', 'fkwcs_stripe_google_pay' ], 'values' => [ 'apple_pay', 'google_pay' ], ], 'express_checkout_type' => [ 'gateways' => [ 'stripe' ] ], 'express_payment_type' => [ 'gateways' => [ 'woocommerce_payments' ] ], ] ); -
apply_filters( 'yaycheckout_localize_admin_data', $admin_data ); -
apply_filters( 'yaycheckout_localize_meta', $meta ); -
do_action( "yaycheckout_slot_{$yaycheckout_slot_name}" ); -
do_action( 'yaycommerce_admin_shell_booted', $instance );
Generated from YayCheckout'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: