StoreEngine 2.7.2 has 428 actions and 900 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when StoreEngine fires an action
add_action( 'storeengine/stock_status_changed', function( $arg1, $arg2, $from, $status ) {
// Your code runs here.
}, 10, 4 );
// Change a value StoreEngine is about to use
add_filter( 'storeengine/payment_complete_order_status', function( $value, $arg2, $object ) {
// Change $value here.
return $value;
}, 10, 3 );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
-
/** * Fires when the stock status of a product or variation transitions. */ do_action( 'storeengine/stock_status_changed', $this->get_id(), 0, $from, $status ); -
/** * Filters the order status to set after payment complete. */ apply_filters( 'storeengine/payment_complete_order_status', $this->needs_processing() ? OrderStatus::PROCESSING : OrderStatus::COMPLETED, $this->get_id(), $this ); -
/** * Reuses the same product loop the shop archive uses, so cards match the theme * styling. The main query has been scoped to author=vendor_id by * StorePage::scope_main_query(). */ do_action( 'storeengine/templates/archive_product_content' ); -
/** * Fires when an object is read into memory. */ do_action( "storeengine/{$this->object_type}/read", $this->get_id(), $this ); -
/** * Let addons adjust the requested quantity before it's added to the cart — * e.g. rounding up to a minimum order quantity or case size. */ apply_filters( 'storeengine/cart/add_to_cart_quantity', $quantity, $product_id, $variation_id, $price_id ); -
/** * Filter: 'storeengine/order_get_[billing|shipping]_[prop]' */ apply_filters( "storeengine/customer/billing_{$prop}", $value, $this ); -
/** * In view context, return the default status if no status has been set. */ apply_filters( 'storeengine/default_order_status', OrderStatus::PAYMENT_PENDING ); -
/** * Controls whether the StoreEngine admin bar should be disabled. */ apply_filters( 'storeengine/disable_admin_bar', true ); -
/** * Fires after adding product rating. */ do_action( 'storeengine/frontend/after_product_rating', $comment_id, $comment_post_ID, $storeengine_rating ); -
/** * Filter StoreEngine formatted order total. */ apply_filters( 'storeengine/get_formatted_order_total', $formatted_total, $this, $tax_display, $display_refunded ); -
/** * Variation aggregate stock just changed. */ do_action( 'storeengine/inventory/stock_quantity_set', (int) $this->get_product_id(), (int) $this->get_id(), null === $qty ? null : Quantity::round( (float) $qty ), 'editor' ); -
/** * Whether this is a REST API request. */ apply_filters( 'storeengine/is_rest_api_request', $is_rest_api_request ); -
storeengine/membership/user_added_to_group
action Used by 2 plugins → Copy link Customise this hook/** * Fires after a user is granted an access group (any source). */ do_action( 'storeengine/membership/user_added_to_group', $user_id, $group_id, $source ); -
storeengine/membership/user_removed_from_group
action Used by 2 plugins → Copy link Customise this hook/** * Fires after a user is removed from an access group (any source). */ do_action( 'storeengine/membership/user_removed_from_group', $user_id, $group_id ); -
/** * Action hook fired after an address in the order customer details. */ do_action( 'storeengine/order/details_after_customer_address', 'billing', $order ); -
/** * Filter valid order statuses for cancel. */ apply_filters( 'storeengine/order/valid_statuses_for_cancel', [ OrderStatus::PAYMENT_PENDING, OrderStatus::PAYMENT_FAILED ], $order ); -
/** * Brackets the formatting of this price so `storeengine/price_args` listeners * know which price is being rendered — e.g. to show a product priced in its * own currency with that currency's symbol. */ do_action( 'storeengine/price/before_format', $this ); -
/** * Filter a product's resolved FAQ groups. */ apply_filters( 'storeengine/product_faq_groups', $groups, $product_id ); -
/** * Fires after a tax is created or updated via the REST API. */ do_action( 'storeengine/rest_insert_tax', $tax, $request, true ); -
/** * Fires after core schema files were re-applied via dbDelta. Addons should * hook here to re-sync their own tables. */ do_action( 'storeengine/schema_synced' ); -
/** * Developers can add additional flat rates based on this one via this action. */ do_action( "storeengine/shipping/{$this->get_method_id()}_add_rate", $this, $rate ); -
/** * Indicate that the StoreEngine shipping zone has been loaded. */ do_action( 'storeengine/shipping/zone_loaded', $this ); -
/** * Filters whether the affiliate registration shortcode treats the current * visitor as logged in. */ apply_filters( 'storeengine/shortcode/affiliate_registration_is_user_logged_in', is_user_logged_in(), $attributes ); -
/** * Allow addons to prepend/append their own packs. Each item must have at * minimum: id, label, region, rates (array). The install endpoint will look * the pack up again through the same filter chain. */ apply_filters( 'storeengine/tax_packs/list', $packs ); -
/** * Hook: storeengine/templates/product_loop. */ do_action( 'storeengine/templates/product_loop' ); -
/** * Filter the valid order statuses for payment. */ apply_filters( 'storeengine/valid_order_statuses_for_payment', [ OrderStatus::PAYMENT_PENDING, OrderStatus::PAYMENT_FAILED, ], $this ); -
/** * Filters all query clauses at once, for convenience. */ apply_filters_ref_array( "{$this->hook_prefix}/clauses", [ compact( $pieces ), &$this ] ); -
/** * Filters the DISTINCT clause of the query. */ apply_filters_ref_array( "{$this->hook_prefix}/distinct", [ $distinct, &$this ] ); -
/** * Filters the SELECT clause of the query. */ apply_filters_ref_array( "{$this->hook_prefix}/fields", [ $fields, &$this ] ); -
/** * Filters the number of found posts for the query. */ apply_filters_ref_array( "{$this->hook_prefix}/found_results", [ $this->found_results, &$this, ] ); -
/** * Filters the query to run for retrieving the found posts. */ apply_filters_ref_array( "{$this->hook_prefix}/found_results_query", [ 'SELECT FOUND_ROWS()', &$this ] ); -
/** * Filters the GROUP BY clause of the query. */ apply_filters_ref_array( "{$this->hook_prefix}/groupby", [ $groupby, &$this ] ); -
/** * Filters the JOIN clause of the query. */ apply_filters_ref_array( "{$this->hook_prefix}/join_paged", [ $join, &$this ] ); -
/** * Filters the LIMIT clause of the query. */ apply_filters_ref_array( "{$this->hook_prefix}/limits", [ $limits, &$this ] ); -
/** * Fires once the loop has ended. */ do_action_ref_array( "{$this->hook_prefix}/loop_end", [ &$this ] ); -
/** * Fires if no results are found in a post query. */ do_action_ref_array( "{$this->hook_prefix}/loop_no_results", [ &$this ] ); -
/** * Fires once the loop is started. */ do_action_ref_array( "{$this->hook_prefix}/loop_start", [ &$this ] ); -
/** * Filters the ORDER BY clause of the query. */ apply_filters_ref_array( "{$this->hook_prefix}/orderby", [ $orderby, &$this ] ); -
/** * Fires after the query variable object is created, but before the actual * query is run. */ do_action_ref_array( "{$this->hook_prefix}/pre_get_results", [ &$this ] ); -
/** * Filters the posts array before the query takes place. */ apply_filters_ref_array( "{$this->hook_prefix}/pre_query", [ null, &$this ] ); -
/** * Filters the completed SQL query before sending. */ apply_filters_ref_array( "{$this->hook_prefix}/request", [ $this->request, &$this ] ); -
/** * Filters the Post IDs SQL request before sending. */ apply_filters( "{$this->hook_prefix}/request_ids", $this->request, $this ); -
/** * Filters whether to split the query. */ apply_filters( "{$this->hook_prefix}/split_query", $split_the_query, $this, $old_request, compact( $pieces ) ); -
/** * Filters the arguments for posts pagination links. */ apply_filters( "{$this->hook_prefix}/the_pagination_args", $args ); -
/** * Fires once the result data has been set up. */ do_action_ref_array( "{$this->hook_prefix}/the_result", [ &$result, &$this ] ); -
/** * Filters the WHERE clause of the query. */ apply_filters_ref_array( "{$this->hook_prefix}/where_paged", [ $where, &$this ] ); -
/** * Filter the transaction url. */ apply_filters( 'storeengine_get_transaction_url', $return_url, $order, $this ); -
/** * Initialize the plugin. */ do_action( 'storeengine_init' ); -
/** * When WP has loaded all plugins, trigger the storeengine_loaded hook. */ do_action( 'storeengine_loaded' ); -
/** * Filter the saved payment method option. */ apply_filters( 'storeengine_payment_gateway_get_new_payment_method_option_html', $html, $this ); -
storeengine_payment_gateway_get_new_payment_method_option_html_label
filter Copy link Customise this hook/** * Filter the saved payment method label. */ apply_filters( 'storeengine_payment_gateway_get_new_payment_method_option_html_label', $this->new_method_label ? $this->new_method_label : __( 'Use a new payment method', 'storeengine' ), $this ); -
storeengine_payment_gateway_get_saved_payment_method_option_html
filter Copy link Customise this hook/** * Filter the saved payment method HTML. */ apply_filters( 'storeengine_payment_gateway_get_saved_payment_method_option_html', $html, $token, $this ); -
storeengine_payment_gateway_save_new_payment_method_option_html
filter Copy link Customise this hook/** * Filter the saved payment method checkbox HTML */ apply_filters( 'storeengine_payment_gateway_save_new_payment_method_option_html', $html, $this ); -
/** * Declarative registration: return an array of descriptors. */ apply_filters( 'storeengine_shortcode_block_registry', [] ); -
/** * Action triggered when there are errors during shutdown. */ do_action( 'storeengine_shutdown_error', $error ); -
/** * Trigger action after saving to the DB. */ do_action( "storeengine/{$this->object_type}/after/object_save", $this, $create ); -
/** * Trigger action before saving to the DB. Allows you to adjust object props * before save. */ do_action( "storeengine/{$this->object_type}/before/object_save", $this, $create ); -
/** * Fires immediately after an object gets deleted from database. */ do_action( "storeengine/{$this->object_type}/deleted", $id, $this, $force_delete ); -
/** * Fires immediately after an object updated into database. */ do_action( "storeengine/{$this->object_type}/updated", $this->get_id(), $this ); -
/** * Important note on this filter: Changes to address fields can and will be * overridden by the storeengine/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 * storeengine/default_address_fields instead. */ apply_filters( "storeengine/{$type}fields", $address_fields, $country ); -
/** * Filters the account-move preview counts. Pro addons append their own * entries. */ apply_filters( 'storeengine/account/move_preview', $counts, $this->from, $this->to ); -
/** * Filters the list of tables whose ownership is transferred on account move. */ apply_filters( 'storeengine/account/moveable_tables', $tables, $this->from, $this->to ); -
/** * Fires after an account move has been committed. */ do_action( 'storeengine/account/moved', $this->from, $this->to, $result ); -
/** * Fires while an account move is in progress, inside the transaction. */ do_action_ref_array( 'storeengine/account/moving', [ $this->from, $this->to, &$result ] ); -
/** * Fires immediately after adding metadata. */ do_action( "storeengine/added_{$this->object_type}_meta", $meta->id, $this->get_id(), $meta->key, $meta->value ); -
/** * Fires after specific addon loaded. */ do_action( "storeengine/addons/{$this->addon_name}/loaded" ); -
/** * Fires when a clawback leaves the affiliate owing the store. */ do_action( 'storeengine/addons/affiliate/balance_negative', $affiliate_id, $amount ); -
/** * Filter the full satellite-plugin teaser payload. */ apply_filters( 'storeengine/admin/satellite_plugins', $data ); -
/** * Filters the admin app's localized data (window.StoreEngineGlobal). */ apply_filters( 'storeengine/admin/script_data', $data ); -
/** * Fires after an affiliate cancels their pending withdrawal request. */ do_action( 'storeengine/affiliate/after_withdraw_cancelled', $payout_id ); -
/** * Fires after withdraw insert. */ do_action( 'storeengine/affiliate/after_withdraw_data_insert', $withdraw, $withdraw_args ); -
/** * Filter whether this affiliate may request a withdrawal. Return a WP_Error to * block it with a message (Pro: tax form on file). */ apply_filters( 'storeengine/affiliate/can_request_withdraw', true, $user_id ); -
/** * Filter the resolved commission rate (after the per-affiliate override). * Pro's lifetime-volume tiers hook in here. */ apply_filters( 'storeengine/affiliate/commission_rate', $commission_rate, $commission_type, $affiliate_id, $total_amount ); -
/** * Fires after the affiliate payout history — Pro renders the sub-affiliate / * MLM "My Network" section here. */ do_action( 'storeengine/affiliate/dashboard_after_content', $current_user_id ); -
/** * Fires below the affiliate overview cards — Pro renders affiliate * preferences (payout currency) here. */ do_action( 'storeengine/affiliate/dashboard_after_overview', $current_user_id ); -
/** * Pro and third-party addons extend this schema to accept their own setting * keys through the same save ajax (one request, one option). Pro returns extra * keys like `lifetime_commission_days` here. */ apply_filters( 'storeengine/affiliate/settings_schema', [ 'allow_referral_tracking' => 'boolean', 'referral_type' => 'string', 'referral_tracking_length' => 'integer', 'referral_link_target' => 'string', 'terms_url' => 'string', 'commission_type' => 'string', 'commission_rate' => 'float', 'allow_auto_commission' => 'boolean', 'allow_self_referral' => 'boolean', 'allow_zero_commission' => 'boolean', 'per_referral_commission_cap' => 'float', 'per_mont... ); -
/** * Let the pro augmentation (and 3rd parties) register write abilities under * the same category without editing core. */ do_action( 'storeengine/ai/register_abilities', $this ); -
/** * Resolve the completed order on post-purchase pages that carry no * `order_hash`. */ apply_filters( 'storeengine/analytics/purchase_order', $order ); -
/** * Filter whether an object is trashable. */ apply_filters( "storeengine/api/{$object->get_object_type()}/object_trashable", $supports_trash, $object ); -
/** * Fires after a single object is deleted or trashed via the REST API. */ do_action( "storeengine/api/{$object->get_object_type()}delete__object", $object, $response, $request ); -
/** * Extra add-to-cart REST args contributed by addons (e.g. a customer-set * donation / name-your-price amount). Merged over the core args below. */ apply_filters( 'storeengine/api/cart/add_item_args', [] ); -
/** * Per-line custom data pulled from the request by addons. Flows into * Cart::add_product_to_cart()'s $item_data argument (which REST historically * dropped), so customer-set amounts survive the React / instant / embeddable * checkout paths. */ apply_filters( 'storeengine/api/cart/item_data', [], $request, $price, $product ); -
/** * Fires after PayPal credentials validation. */ do_action( 'storeengine/api/paypal/after_collect_payment', $result, $order, $this ); -
/** * Fires after PayPal credentials validation. Throw * `\StoreEngine\Classes\Exceptions\StoreEngineException` exception if you want * to produce credentials validation failure. */ do_action( 'storeengine/api/paypal/after_validate_credentials', $result, $request ); -
/** * Fires before collect payment for PayPal. */ do_action( 'storeengine/api/paypal/before_collect_payment', $order, $this ); -
/** * Fires before PayPal credentials validation. */ do_action( 'storeengine/api/paypal/before_validate_credentials', $request ); -
/** * Fires after stripe intent creation. */ do_action( 'storeengine/api/stripe/after_capture_payment', $response, $order ); -
/** * Fires after applied coupon on cart. */ do_action( 'storeengine/applied_coupon' ); -
/** * Filters whether apply base tax for local pickup shipping method or not. */ apply_filters( 'storeengine/apply_base_tax_for_local_pickup', true ); -
/** * Filter the post types included in a backup. */ apply_filters( 'storeengine/backup/post_types', $types ); -
/** * Filter the final list of tables to export. */ apply_filters( 'storeengine/backup/tables', $tables, $opts ); -
/** * Before the plugin initialization. */ do_action( 'storeengine/before_init' ); -
/** * Filters the query arguments built from the shop filters in the URL. */ apply_filters( 'storeengine/blocks/product_filter_query_args', $args, $values ); -
/** * Fires when a bulk import has processed every staged product. */ do_action( 'storeengine/bulk_import/completed', $job->get_id(), $job->get_counters() ); -
/** * Fires after the bulk importer created or updated a product. */ do_action( 'storeengine/bulk_import/product_saved', $product_id, $group, ! $existing_id ); -
/** * Fires after newly-added bundle items are granted to an existing purchaser's * order. */ do_action( 'storeengine/bundle/order_synced', $order, $new_products, $bundle_id ); -
/** * Filter the order statuses excluded from bundle sync. */ apply_filters( 'storeengine/bundle/sync_excluded_statuses', $statuses ); -
/** * Filter whether an order entitles its buyer to newly-added bundle items. */ apply_filters( 'storeengine/bundle/sync_order_is_entitled', $entitled, $order ); -
/** * Bundle items that can be granted but not actually delivered — e.g. a * licensable product with no released build behind it. Without this the buyer * silently ends up with a license key and no download. */ apply_filters( 'storeengine/bundle/sync_warnings', [], $bundle_items, $bundle_id ); -
/** * Filter whether the provider script may load right away. Return false from a * cookie-consent integration, then dispatch the `storeengine:captcha-consent` * window event once consent is given. */ apply_filters( 'storeengine/captcha/can_load_script', true ); -
/** * Filter whether the CAPTCHA loader is enqueued on the current page. */ apply_filters( 'storeengine/captcha/enqueue', $needed ); -
/** * Filter whether to let the request through while the provider is unreachable. */ apply_filters( 'storeengine/captcha/fail_open', $fail_open, $form, $result ); -
/** * Fires when a CAPTCHA check fails (Fraud Shield can use it as a signal). */ do_action( 'storeengine/captcha/failed', $form, $reason, $result, Helper::get_user_ip() ); -
/** * Filter whether a form is protected for this request. */ apply_filters( 'storeengine/captcha/should_verify', $should, $form, $context ); -
/** * Fires after a CAPTCHA token was verified. */ do_action( 'storeengine/captcha/verified', $form, $result ); -
/** * Filter cart item data after add to cart. */ apply_filters( 'storeengine/cart/add_item', $cart_item, $cart_id ); -
/** * Filter cart item data during add to cart. */ apply_filters( 'storeengine/cart/add_item_data', $item_data, $price, $product_id, $variation_id, $quantity ); -
/** * Fires after adding product on Cart. */ do_action( 'storeengine/cart/add_to_cart', $cart_id, $price_id, $product_id, $variation_id, $quantity, $item_data ); -
/** * Let addons block or approve a line before it's added to the cart — e.g. * keeping a prescription-only item out of an unattended online basket. * Registered but never called until now, so gates like retail's * Gating::validate_add_to_cart() silently never ran. */ apply_filters( 'storeengine/cart/add_to_cart_validation', true, $product_id, $quantity, $variation_id, $price_id ); -
/** * Fires after calculating cart totals. */ do_action( 'storeengine/cart/after_calculate_totals', $this ); -
/** * Fires after a cart line item's content. Used to render coupon-driven labels * such as a BOGO "FREE" badge. */ do_action( 'storeengine/cart/after_cart_item_content', $cart_item, $key ); -
/** * Fires inside a cart line's title, after the product name. For short inline * labels that belong beside the name — e.g. a BOGO "Free" chip. */ do_action( 'storeengine/cart/after_cart_item_title', $cart_item, $key ); -
/** * Allowed Price type filter. */ apply_filters( 'storeengine/cart/allowed_price_types', [ 'onetime' ] ); -
/** * Fires before calculating cart totals. */ do_action( 'storeengine/cart/before_calculate_totals', $this ); -
/** * Filtering if display prices including tax or not! */ apply_filters_deprecated( 'storeengine/cart/display_prices_including_tax', [ TaxUtil::display_prices_including_tax( $this->get_customer() ) ], '1.6.4', 'storeengine/tax/display_prices_including_tax' ); -
/** * Filter cart contents total tax. */ apply_filters( 'storeengine/cart/get_cart_contents_tax', $cart_contents_tax ); -
/** * Filter cart contents taxes. */ apply_filters( 'storeengine/cart/get_cart_contents_taxes', $cart_contents_taxes ); -
/** * Filter cart contents total. */ apply_filters( 'storeengine/cart/get_cart_contents_total', $cart_contents_total ); -
/** * Filter cart discount tax. */ apply_filters( 'storeengine/cart/get_discount_tax', $discount_tax ); -
/** * Filter cart discount total. */ apply_filters( 'storeengine/cart/get_discount_total', $discount_total ); -
/** * Filter cart fee total tax. */ apply_filters( 'storeengine/cart/get_fee_tax', $fee_total_tax ); -
/** * Filter cart fee taxes. */ apply_filters( 'storeengine/cart/get_fee_taxes', $fee_taxes ); -
/** * Filter cart fee total. */ apply_filters( 'storeengine/cart/get_fee_total', $fee_total ); -
/** * Filter cart item remove url. */ apply_filters( 'storeengine/cart/get_remove_url', $remove_item_url ); -
/** * Filter cart shipping tax. */ apply_filters( 'storeengine/cart/get_shipping_tax', $shipping_tax ); -
/** * Filter shipping taxes. */ apply_filters( 'storeengine/cart/get_shipping_taxes', $shipping_taxes ); -
/** * Filter cart shipping total. */ apply_filters( 'storeengine/cart/get_shipping_total', $shipping_total ); -
/** * Filter cart subtotal. */ apply_filters( 'storeengine/cart/get_subtotal', $subtotal ); -
/** * Filter cart subtotal tax. */ apply_filters( 'storeengine/cart/get_subtotal_tax', $subtotal_tax ); -
/** * Filter get cart tax. */ apply_filters( 'storeengine/cart/get_tax', $cart_total_tax ); -
/** * Filter cart taxes. */ apply_filters( 'storeengine/cart/get_taxes', $taxes, $this ); -
/** * Filter get cart total. */ apply_filters( 'storeengine/cart/get_total', $this->get_totals_var( 'total' ) ); -
/** * Filter cart total tax. */ apply_filters( 'storeengine/cart/get_total_tax', $total_tax ); -
/** * Fires after cart initialization finished. */ do_action( 'storeengine/cart/initialized' ); -
/** * Fires when validate_cart_items() drops a line the customer can no longer buy * as-is (price/variation no longer resolvable). */ do_action( 'storeengine/cart/invalid_item_removed', $cart_item, $reason ); -
/** * Filter cart item id after generation. */ apply_filters( 'storeengine/cart/item_id', $cart_item_id, $product_id, $variation_id, $variation, $item_data ); -
/** * Fires after removing cart item. */ do_action_ref_array( 'storeengine/cart/item_removed', [ &$this, $item_key ] ); -
/** * Fires after updating cart item quantity. */ do_action( 'storeengine/cart/item_update_quantity', $item_key, $quantity, $this ); -
/** * Fires after cart loaded. */ do_action_ref_array( 'storeengine/cart/loaded', [ &$this ] ); -
/** * Filter cart needs payment. */ apply_filters( 'storeengine/cart/needs_payment', $needs_payment, $this ); -
/** * Provides a means of overriding the default 'no shipping available' HTML * string. */ apply_filters( 'storeengine/cart/no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'storeengine' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ), $formatted_destination ); -
/** * Filter the formatted product price from price(float). */ apply_filters( 'storeengine/cart/product_price', $formatted_price, Helper::get_price( $priceId ), $priceId, $product ); -
/** * Filter formatted product subtotal from price(float). */ apply_filters( 'storeengine/cart/product_subtotal', $product_subtotal, Helper::get_price( $price_id ), $quantity, $this ); -
/** * Filter to allow plugins to prevent shipping calculations. */ apply_filters( 'storeengine/cart/ready_to_calc_shipping', true ); -
/** * Fires before removing cart item. */ do_action_ref_array( 'storeengine/cart/remove_item', [ &$this, $item_key ] ); -
/** * Fires after reset the cart. */ do_action( 'storeengine/cart/reset', $this ); -
/** * Filters the cart snapshot returned to storefront clients. */ apply_filters( 'storeengine/cart/snapshot', $snapshot, $cart ); -
/** * Filter cart subtotal. */ apply_filters( 'storeengine/cart/subtotal', $cart_subtotal, $compound, $this ); -
/** * Filter get cart tax totals. */ apply_filters( 'storeengine/cart/tax_totals', $tax_totals, $this ); -
/** * Filter cart taxes total. */ apply_filters( 'storeengine/cart/taxes_total', $total, $compound, $display, $this ); -
/** * Filter cart total. */ apply_filters( 'storeengine/cart/total', Formatting::price( $total ) ); -
/** * Fires after a checkout order-summary line item. Used to render coupon-driven * labels such as a BOGO "FREE" badge. */ do_action( 'storeengine/checkout/after_order_summary_item', $cart_item, $key ); -
/** * Fires inside an order-summary line's title, after the product name. For * short inline labels that belong beside the name — e.g. a BOGO "Free" chip. */ do_action( 'storeengine/checkout/after_order_summary_item_title', $cart_item, $key ); -
/** * Mirror of the place_order remap hook for the pay-order flow. Gateway addons * hook here to translate React-adapter payload keys (e.g. * `stripe_payment_intent_id` → legacy `payment_intent_id`) and persist * intent ids on the existing order — unlike the place_order variant, the * order already exists and is passed explicitly, so handlers must not fall * back to a draft-order lookup. */ do_action( 'storeengine/checkout/before_pay_order_payload', $payment_data, $payment_method, $order ); -
/** * Per-gateway opportunity to remap / persist anything the React adapter sent * in `payment_payload` before CheckoutService::place_order() runs. Gateway * addons hook here to copy intent ids, transaction ids, etc. from * $payment_data onto the draft order so their server-side process_payment() * can verify the payment. */ do_action( 'storeengine/checkout/before_place_order_payload', $payment_data, $payment_method ); -
/** * Fires after creating fee on Order. */ do_action( 'storeengine/checkout/create_order_fee_item', $item, $fee, $order ); -
/** * Fires after creating a subscription setup-fee item on the order. */ do_action( 'storeengine/checkout/create_order_setup_fee_item', $item, $cart_item, $order ); -
/** * Fires after adding shipping on Order. */ do_action( 'storeengine/checkout/create_order_shipping_item', $shipping_item, $shipping_rate, $order ); -
/** * Fires after adding tax on Order. */ do_action( 'storeengine/checkout/create_order_tax_item', $item, $tax_rate_id, $order ); -
/** * Filter the raw checkout-field schema. Addons can flip the `system` flag or * adjust per-field defaults per store mode (e.g. demote email and require * phone in phone-only checkout). */ apply_filters( 'storeengine/checkout/fields_schema', [ 'email' => [ 'payload_key' => 'user_email', 'group' => 'contact', 'label' => __( 'Email', 'storeengine' ), 'system' => true, ], 'billing_first_name' => [ 'payload_key' => 'billing_first_name', 'group' => 'billing', 'label' => __( 'First name', 'storeengine' ), 'default_enabled' => true, 'default_required' => true, ], 'billing_last_name' => [ 'payload_key' => 'billing_last_name', 'group' => 'b... ); -
/** * Fires inside a checkout order-summary line item, below the product details. * Used for per-line labels that belong with the product — e.g. a BOGO "Free" * chip. */ do_action( 'storeengine/checkout/order_summary_item_meta', $cart_item, $key ); -
/** * Trim long product names in the order summary. It is a narrow sidebar column, * so an untrimmed name wraps over several lines and pushes the price and * quantity out of view. The full name stays available on hover. 0 disables * trimming. */ apply_filters( 'storeengine/checkout/order_summary_item_name_length', 45, $cart_item ); -
/** * Fires when placing an order fails after the order was processed (payment * declined or an error). */ do_action( 'storeengine/checkout/place_order_failed', $order, $error, $payload ); -
/** * Controls if registration is required in order for checkout to be completed. */ apply_filters( 'storeengine/checkout/registration_required', ! self::get_settings( 'enable_guest_checkout', true ) ); -
/** * Allow addons to enrich the checkout state snapshot (e.g. expose the * verification mode + whether OTP is required before placing the order, split * rewarded units into a FREE line, or inject coupon suggestions). */ apply_filters( 'storeengine/checkout/state_snapshot', $snapshot, $cart ); -
/** * Allow addons to pre-process / gate the payload before validation runs (e.g. * inject a synthesized email in phone-only mode, or reject an unverified * contact). Returning a WP_Error short-circuits the checkout. */ apply_filters( 'storeengine/checkout/validate_data', $data ); -
/** * Filter the maximum number of products in a comparison. */ apply_filters( 'storeengine/compare/max_products', self::MAX_DEFAULT ); -
/** * Filters the value of the constant. */ apply_filters( 'storeengine/constant/default_value', null, $name ); -
/** * Allows filtering of continents in StoreEngine. */ apply_filters( 'storeengine/continents', include STOREENGINE_ROOT_DIR_PATH . 'i18n/continents.php' ); -
/** * Controls whether the cookie should only be accessible via the HTTP protocol, * or if it should also be accessible to Javascript. */ apply_filters( 'storeengine/cookie_httponly', $httponly, $name, $value, $expire, $secure ); -
/** * Allows filtering of the list of countries in StoreEngine. */ apply_filters( 'storeengine/countries', include STOREENGINE_ROOT_DIR_PATH . 'i18n/countries.php' ); -
/** * Filter the list of allowed selling countries. */ apply_filters( 'storeengine/countries_allowed_countries', $countries ); -
/** * Filters the items that a coupon should be applied to. */ apply_filters( 'storeengine/coupon_get_items_to_apply', $items_to_apply, $coupon, $this ); -
/** * Whether this coupon grants free shipping. */ apply_filters( 'storeengine/coupon/free_shipping', $free_shipping, $this ); -
/** * Filters the coupon meta keys loaded into the coupon's settings. */ apply_filters( 'storeengine/coupon/internal_meta_keys', $this->internal_meta_keys, $this ); -
/** * Filters which coupon post is used when several share the same code. */ apply_filters( 'storeengine/coupon/resolve_duplicate_code', $best, $posts, $code, $cart ); -
/** * Allow third parties to register additional providers. */ apply_filters( 'storeengine/couriers/providers', $providers ); -
/** * Action hook to adjust refund before save. */ do_action( 'storeengine/create_refund', $refund, $args ); -
/** * Filter the customer default location before geolocation. */ apply_filters( 'storeengine/customer_default_location', $default_location_string ?? '' ); -
/** * Filter the customer default location after geolocation. */ apply_filters( 'storeengine/customer_default_location_array', $default_location ); -
/** * Filters the taxable address for a given customer. */ apply_filters( 'storeengine/customer_taxable_address', [ $country, $state, $postcode, $city ], $this ); -
/** * Fires after the cart & checkout customize is saved. */ do_action( 'storeengine/customize/checkout_saved', $options ); -
/** * Fires after the customer dashboard customize is saved. */ do_action( 'storeengine/customize/dashboard_saved', $options ); -
/** * Filters the presets offered on the Customize screen. */ apply_filters( 'storeengine/customize/presets', $all ); -
/** * Fires after the shop customize is saved. */ do_action( 'storeengine/customize/saved', $customize ); -
/** * Filters which palette colours count as the brand colours, by slug. */ apply_filters( 'storeengine/customize/theme_palette_map', [ 'primary' => $colors['primary'], 'primary-2' => self::shade( $colors['primary'], -0.14 ), 'primary-soft' => $colors['soft'], 'accent' => $colors['primary'], ], $colors, get_stylesheet() ); -
/** * Used to output content after core address fields. */ do_action( 'storeengine/dashboard/after-edit-address', $addr_type ); -
/** * Columns for the downloads table. */ apply_filters( 'storeengine/dashboard/downloads/columns', [ 'product' => __( 'Product', 'storeengine' ), 'actions' => __( 'Download', 'storeengine' ), ] ); -
/** * Rows an addon will append to this page. Asked for up front so the empty * state and the pagination can account for them before anything is rendered. */ apply_filters( 'storeengine/dashboard/downloads/page_row_count', 0, $paged, $limit ); -
/** * Render a cell for an addon-owned column on a file-download row. */ do_action( 'storeengine/dashboard/downloads/permission_cell', $column, $label, $file_product_id ); -
/** * Append addon-owned rows (licensed builds, and anything else that is a * download but not a file permission). */ do_action( 'storeengine/dashboard/downloads/rows', $columns, $paged, $limit, $rendered_file_products ); -
/** * Total downloadable items across every source, so addon rows stay reachable * past page one. Counting only the file permissions — as this used to — * left every licensed download after the tenth unreachable. */ apply_filters( 'storeengine/dashboard/downloads/total', 0, $paged, $limit ); -
/** * Output extra fields inside the edit-address form, before the submit button. */ do_action( 'storeengine/dashboard/edit-address/after-fields', $load_address ); -
/** * How many orders the dashboard home lists (Customize → Customer Dashboard). */ apply_filters( 'storeengine/dashboard/recent_orders_count', 5 ); -
/** * Fires immediately after deleting metadata. */ do_action( "storeengine/deleted_{$this->object_type}_meta", $meta->id, $this->get_id(), $meta->key, $meta->value ); -
/** * Allow add-ons (e.g. StoreEngine Pro "Advanced Coupons") to fully handle a * coupon type that core does not implement — such as Buy X Get Y. Return * true to signal the coupon was handled; core handling is then skipped. */ apply_filters( 'storeengine/discounts/handle_coupon', false, $coupon, $items_to_apply, $this ); -
/** * Filter the amount field's rendering args. */ apply_filters( 'storeengine/donation/amount_field_args', $args, $product, $config ); -
/** * Enrich a ledger row before insert. The Pro Fundraising addon uses this to * attach recurring/subscription, fund, tribute and company fields captured * elsewhere in the request or on the order. */ apply_filters( 'storeengine/donation/ledger_row', $row, $order, $item ); -
/** * Fires after a donation ledger row is written and its campaign total bumped. * The Pro Fundraising addon uses this to log activity, detect goal-reached, * and send tribute/tax receipts. */ do_action( 'storeengine/donation/recorded', $donation_id, $campaign_id, $order, $item ); -
/** * Fires when a donation's ledger status follows its order. */ do_action( 'storeengine/donation/status_changed', (int) $row->id, $target, $current, $order ); -
/** * Allow hosts to whitelist additional download roots (absolute paths). */ apply_filters( 'storeengine/downloads/allowed_roots', $roots ); -
/** * Filter the filepath for download. */ apply_filters( 'storeengine/downloads/parse_file_path', $file_path, $remote_file ); -
/** * Filter the remote filepath for download. */ apply_filters( 'storeengine/downloads/parse_remote_file_path', $file_path ); -
/** * Filter download filepath. */ apply_filters( 'storeengine/downloads/product_filepath', $downloadable_file['file'], $email, $order, $product, $download_permission ); -
/** * Filter css properties */ apply_filters( 'storeengine/dynamic_css_root_properties', [ '--storeengine-primary-color' => esc_attr( $storeengine_settings->global_primary_color ?? '' ), '--storeengine-secondary-color' => esc_attr( $storeengine_settings->global_secondary_color ?? '' ), '--storeengine-text-color' => esc_attr( $storeengine_settings->global_text_color ?? '' ), '--storeengine-subtitle-color' => esc_attr( $storeengine_settings->global_subtitle_color ?? '' ), '--storeeng... ); -
/** * Filters an email setting as the emails read it, without changing what is * saved. */ apply_filters( 'storeengine/email/setting', $settings[ $name ] ?? $default, $name ); -
/** * Allow plugins to enable nocache headers. Enabled for Google weblight. */ apply_filters( 'storeengine/enable_nocache_headers', false ); -
/** * Flush the rewrite rules after install or update. */ do_action( 'storeengine/flush_rewrite_rules' ); -
/** * Filter formatted price. */ apply_filters( 'storeengine/formatted/price', number_format( $price, $args['decimals'], $args['decimal_separator'], $args['thousand_separator'] ), $price, $args['decimals'], $args['decimal_separator'], $args['thousand_separator'], $original_price ); -
storeengine/frontend_dashboard/account_section_{$storeengine_sub}
action Copy link Customise this hook/** * Fires after a sub-tab renders so addons can append additional content * without editing core templates. Slug-suffixed: e.g. * `storeengine/frontend_dashboard/account_section_notifications`. */ do_action( "storeengine/frontend_dashboard/account_section_{$storeengine_sub}", $customer ); -
/** * Fires before withdraw insert. */ do_action( 'storeengine/frontend/affiliate/before_withdraw_data_insert', $withdraw_args ); -
/** * Hook for dynamic dashboard page contents. */ do_action( "storeengine/frontend/dashboard_{$value}_endpoint", get_query_var( 'storeengine_dashboard_sub_page' ) ); -
/** * General filter on form fields. */ apply_filters( 'storeengine/frontend/form_field', $field, $key, $args, $value ); -
/** * Filter by type. */ apply_filters( "storeengine/frontend/form_field_{$args['type']}", $field, $key, $args, $value ); -
/** * Whether to render the floating mini-cart on the current request. */ apply_filters( 'storeengine/frontend/show_floating_cart', true ); -
/** * Lets the Pro addon (and third parties) boot once the free funnel builder is * fully loaded. Pro hangs its upsell engine here. */ do_action( 'storeengine/funnel-builder/loaded' ); -
/** * Lets integrations rewrite the navigation target (e.g. append tracking). */ apply_filters( 'storeengine/funnel-builder/next_step_url', $url, $step, $atts ); -
/** * Pro replaces/augments the offer markup with the live one-click offer (price * + accept button bound to the saved payment token). Wrapped in a dedicated * class so the aBlocks block's design controls can hook it. */ apply_filters( 'storeengine/funnel-builder/offer_html', $html, $step ); -
/** * Lets the Pro addon register its own funnel-builder routes (upsell * accept/reject, A/B, conditions) on the same namespace. */ do_action( 'storeengine/funnel-builder/rest_api_init' ); -
/** * Filters the gateway description. */ apply_filters( 'storeengine/gateway_description', wp_kses_post( $this->description ), $this->id ); -
/** * Filter the gateway icon. */ apply_filters( 'storeengine/gateway_icon', $this->icon, $this->id ); -
/** * Filter the gateway icon. */ apply_filters( 'storeengine/gateway_icon_html', $icon, $this->id ); -
/** * Filter the method description. */ apply_filters( 'storeengine/gateway_method_description', $this->method_description, $this ); -
/** * Filter the method title. */ apply_filters( 'storeengine/gateway_method_title', $this->method_title, $this ); -
/** * Filter the gateway title. */ apply_filters( 'storeengine/gateway_title', $title, $this->id ); -
storeengine/gateway/{$this->id}_email_instructions_order_status
filter Copy link Customise this hook/** * Filter the email instructions order status. */ apply_filters( "storeengine/gateway/{$this->id}_email_instructions_order_status", OrderStatus::ON_HOLD, $order ); -
/** * Controls the location hash used in geolocation-based caching. */ apply_filters( 'storeengine/geolocation_ajax_get_location_hash', $location_hash, $location, $customer ); -
/** * Get geolocation filter. */ apply_filters( 'storeengine/geolocation/geo-locate-ip', [ 'country' => $country_code, 'state' => '', 'city' => '', 'postcode' => '', ], $ip_address ); -
/** * Filter to allow custom geolocation of the IP address. */ apply_filters( 'storeengine/geolocation/pre-geo-locate-ip', false, $ip_address, $fallback, $api_fallback ); -
/** * Fallback to title case, uppercasing the first letter of each word. */ apply_filters( 'storeengine/get_credit_card_type_label', ( array_key_exists( $type, self::$cc_types ) ? self::$cc_types[ $type ] : ucwords( $type ) ) ); -
/** * Controls the maximum number of Payment Methods that will be listed via the * My Account page. */ apply_filters( 'storeengine/get_customer_payment_tokens_limit', $limit ?? get_option( 'posts_per_page' ) ); -
/** * Filter: 'storeengine/get_order_address' */ apply_filters( 'storeengine/get_order_address', array_merge( $this->data[ $address_type ], $this->get_prop( $address_type, 'view' ) ), $address_type, $this ); -
/** * Filter the return url. */ apply_filters( 'storeengine/get_return_url', $return_url, $order ); -
/** * Fires for every received incoming webhook, before structured handling. This * is the seam no-code automations (Zapier/Make/n8n catch hooks) and custom * code hook into. */ do_action( 'storeengine/incoming_webhook/received', $payload, $context ); -
/** * Run after StoreEngine has been installed or updated. */ do_action( 'storeengine/installed' ); -
/** * Flag whether integration needs to be running. */ apply_filters( 'storeengine/integrations/maybe_run_integration', $should_run, $order_item, $this ); -
/** * Filter the rounding precision for internal 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( 'storeengine/internal_rounding_precision', $precision ); -
/** * Fires after CSV import sets stock on a variation. */ do_action( 'storeengine/inventory/import_stock_set', $product->get_id(), $variation->get_id(), \StoreEngine\Utils\Quantity::parse( $variation_datum['stock_quantity'], (int) $product->get_id() ) ); -
/** * Fires after a label is created. */ do_action( 'storeengine/label/created', $label ); -
/** * Fires after a label and its assignments are deleted. */ do_action( 'storeengine/label/deleted', $label ); -
/** * Filters whether the current user may view, assign or manage labels. */ apply_filters( 'storeengine/labels/can', $allowed, $what ); -
/** * Filters local pickup shipping methods. */ apply_filters( 'storeengine/local_pickup_methods', [ 'local_pickup' ] ); -
/** * Allow a site to keep membership products visible in the shop. */ apply_filters( 'storeengine/membership/hide_products_from_catalog', true ); -
/** * Lets add-ons (e.g. drip content) keep a post locked for a user who holds the * group. */ apply_filters( 'storeengine/membership/is_post_drip_locked', false, $post_id, $user_id ); -
/** * Optional replacement HTML for a hidden block (empty string by default). */ apply_filters( 'storeengine/membership/restricted_block_content', '', $block ); -
/** * Fires once when a user's access group grant passes its expiry date. */ do_action( 'storeengine/membership/user_membership_expired', $user_id, $group_id ); -
/** * Override the visitor's currency for this call — e.g. Pro locks it to the * currency of a cart holding products priced in their own currency. Applied * outside the per-request cache because the cart can change mid-request. Must * return an enabled currency or the base. */ apply_filters( 'storeengine/multi_currency/active_currency', $resolved ); -
/** * Leave this product's price untouched — e.g. Pro's product currency, where * the price is already in the product's own currency. */ apply_filters( 'storeengine/multi_currency/skip_price_conversion', false, (int) $product_id ); -
/** * Allow the Pro addon to take over the entire overview by short-circuiting * this output. Pro hooks here and prints rich charts then returns true to * suppress the basic stats below. */ apply_filters( 'storeengine/multi_vendor/render_overview', false, $vendor ); -
/** * Filters notice arguments. */ apply_filters( "storeengine/notice/notice_{$name}", $args, $name ); -
/** * Filter the discount amount to display. */ apply_filters( 'storeengine/order_discount_to_display', Formatting::price( $this->get_total_discount( 'excl' === $tax_display ), [ 'currency' => $this->get_currency() ] ), $this ); -
/** * Fires during set new status when manual update is set to true. */ do_action( 'storeengine/order_edit_status', $order_id, $new_order_status ); -
/** * Filter orders formatted billing address. */ apply_filters( 'storeengine/order_get_formatted_billing_address', $address ? $address : $empty_content, $raw_address, $this ); -
/** * Filter orders formatted shipping address. */ apply_filters( 'storeengine/order_get_formatted_shipping_address', $address ? $address : $empty_content, $raw_address, $this ); -
/** * Filter to check if an order is downloadable. */ apply_filters( 'storeengine/order_is_download_permitted', $this->has_status( OrderStatus::COMPLETED ) || ( 'yes' === get_option( 'storeengine/downloads_grant_access_after_payment' ) && $this->has_status( OrderStatus::PROCESSING ) ), $this ); -
/** * Filter the list of statuses which are considered 'paid'. */ apply_filters( 'storeengine/order_is_paid_statuses', [ self::PROCESSING, self::COMPLETED ] ); -
/** * Trigger notification emails. */ apply_filters( 'storeengine/order_is_partially_refunded', ( $remaining_refund_amount - $args['amount'] ) > 0 || ( $order->has_free_item() && ( $remaining_refund_items - $refund_item_count ) > 0 ), $order->get_id(), $refund->get_id() ); -
/** * Filter the list of statuses which are considered 'pending payment'. */ apply_filters( 'storeengine/order_is_pending_statuses', [ self::PAYMENT_PENDING ] ); -
/** * Fires after calculating taxes for specific order item. */ do_action( 'storeengine/order_item/after_calculate_taxes', $this, $calculate_tax_for ); -
/** * Fires after calculated order item shipping tax. */ do_action( 'storeengine/order_item/shipping/after_calculate_taxes', $this, $calculate_tax_for ); -
/** * Filter to allow payment gateways to provide payment card info for an order. */ apply_filters( 'storeengine/order_payment_card_info', [], $order ); -
/** * Fires when the order progresses from a pending payment status to a paid one. */ do_action( 'storeengine/order_payment_status_changed', $order_id, $this ); -
/** * Allow developers to filter this coupon before it gets re-applied to the * order. */ apply_filters( 'storeengine/order_recalculate_coupons_coupon_object', $coupon_object, $coupon_code, $coupon_item, $this ); -
/** * Fires when order status is changed. */ do_action( "storeengine/order_status_{$new_status}", $order_id, $this, $status_transition ); -
/** * Fires when order status is changed. */ do_action( "storeengine/order_status_{$old_status}_to_{$new_status}", $order_id, $this ); -
/** * Fires after calculate totals on Order. */ do_action( 'storeengine/order/after_calculate_totals', $and_taxes, $this ); -
/** * Action to signal that a coupon has been applied to an order. */ do_action( 'storeengine/order/applied_coupon', $coupon, $this ); -
/** * Fires before tax calculation on order. */ do_action( 'storeengine/order/before_calculate_taxes', $args, $this ); -
/** * Fires before calculate totals on Order. */ do_action( 'storeengine/order/before_calculate_totals', $and_taxes, $this ); -
/** * Fires after adding tax on Order. */ do_action( 'storeengine/order/checkout/create_order_tax_item', $item, $tax_rate_id, $this ); -
/** * Filter the status to set the order to when fully refunded. */ apply_filters( 'storeengine/order/fully_refunded_status', OrderStatus::REFUNDED, $order->get_id(), $refund->get_id() ); -
/** * Filter the URL to cancel the order in the frontend. */ apply_filters( 'storeengine/order/get_cancel_order_url', wp_nonce_url( add_query_arg( [ 'cancel_order' => 'true', 'order' => $this->get_order_key(), 'order_id' => $this->get_id(), 'redirect' => $redirect, ], $this->get_cancel_endpoint() ), 'storeengine-cancel_order' ), $this, $redirect ); -
/** * Filter the raw URL to cancel the order in the frontend. */ apply_filters( 'storeengine/order/get_cancel_order_url_raw', add_query_arg( [ 'cancel_order' => 'true', 'order' => $this->get_order_key(), 'order_id' => $this->get_id(), 'redirect' => $redirect, '_wpnonce' => wp_create_nonce( 'storeengine-cancel_order' ), ], $this->get_cancel_endpoint() ), $this, $redirect ); -
/** * Filter the URL to edit the order in the backend. */ apply_filters( 'storeengine/order/get_edit_url', $edit_url, $this ); -
/** * Filter to check if an order is editable. */ apply_filters( 'storeengine/order/is_editable', in_array( $this->get_status(), $editable_statuses, true ), $this ); -
/** * Action hook fired after an order note is added for the customer. */ do_action( 'storeengine/order/new_customer_note', $note, $this ); -
/** * Action hook fired after an order note is added. */ do_action( 'storeengine/order/note_added', $comment_id, $this ); -
/** * Action hook fired after an order note is deleted. */ do_action( 'storeengine/order/note_deleted', $note_id, $note ); -
/** * Fires after payment token added to order. */ do_action( 'storeengine/order/payment_token_added', $order_id, $token_id, $token, $token_ids ); -
/** * Resolve a vendor id for this lookup row. Default null. The multi-vendor * addon resolves it from product post_author. */ apply_filters( 'storeengine/order/product_lookup_vendor_id', null, $order_item->get_product_id(), $order_item, $order ); -
/** * Trigger action before removing all order line items. Allows you to track * order items. */ do_action( 'storeengine/order/remove_order_items', $this, $type ); -
/** * Trigger action after removing all order line items. */ do_action( 'storeengine/order/removed_order_items', $this, $type ); -
/** * Fires after a gateway settlement is recorded against an order. */ do_action( 'storeengine/order/settlement_recorded', $order, $captured_amount, $mismatch ); -
/** * Fires when order status is changed. */ do_action( "storeengine/order/status_{$new_status}", $order_id, $old_status, $this ); -
/** * Fires when order status is changed. */ do_action( 'storeengine/order/status_changed', $order_id, $old_status, $new_status, $this ); -
/** * Fires after free-core stock-quantity has been reduced for an order line. * Multi-location addons hook this to mirror the deduction at the default * location. */ do_action( 'storeengine/order/stock_reduced', $product_id, $variation_id, $qty, $order_id ); -
/** * Fires after free-core stock-quantity has been restored from a * cancelled/refunded order. Multi-location addons mirror the restock at the * default location. */ do_action( 'storeengine/order/stock_restored', $product_id, $variation_id, $qty, $order_id ); -
/** * Columns the CSV exporter writes. Addons may append extra columns AFTER the * fields the importer maps by position (so appended cells are ignored on * import). The Labels addon adds a "Labels" column. */ apply_filters( 'storeengine/orders/csv/export_headers', [ 'Order Key', 'Order Status', 'Customer Email', 'Order Currency', 'Order Subtotal', 'Order Total', 'Order Tax', 'Date Created (GMT)', 'Date Updated (GMT)', 'Date Placed (GMT)', 'Date Paid (GMT)', 'Payment Method (name)', 'Payment Method (title)', 'Transaction ID', 'IP Address', 'User Agent', 'Customer Note', 'Cart Hash', 'Meta Data', ] ); -
/** * Mirror of `storeengine/orders/csv/export_headers`: addons may append the * corresponding cells to each exported row. The row must have the same column * count the header filter emits. */ apply_filters( 'storeengine/orders/csv/export_row', $order_row, $order ); -
/** * Let addons prefetch per-order data in one query instead of one per order — * e.g. the Labels addon loads every row's labels. */ do_action( 'storeengine/orders/rest/collection_prefetch', $query->get_results(), $request ); -
/** * Let addons add extra WHERE clauses to the orders list query — e.g. the * Labels addon narrows by its own `labels[]` / `labels_match` query * parameters. */ apply_filters( 'storeengine/orders/rest/collection_where', $where, $request ); -
/** * Let addons add fields to the order REST response — e.g. the Labels addon * adds `labels[]`. Default-null handlers return the base data untouched, so * when nothing hooks this the response is identical. */ apply_filters( 'storeengine/orders/rest/response_data', $data, $item, $request ); -
/** * Fire once StoreEngine page as been created. */ do_action( 'storeengine/page_created', $page_id, $page_data ); -
/** * Fires after payment complete process of an order. */ do_action( 'storeengine/payment_complete', $order_id, $transaction_id ); -
/** * If order status isn't valid for mark order as processing/completed, then * fire this hook. */ do_action( "storeengine/payment_complete_order_status_{$status}", $order_id, $transaction_id ); -
storeengine/payment_gateway_enabled_notification_email_addresses
filter Copy link Customise this hook/** * Allows adding to the addresses that receive payment gateway enabled * notifications. */ apply_filters( 'storeengine/payment_gateway_enabled_notification_email_addresses', [], $gateway ); -
/** * Filter the gateway supported features. */ apply_filters( 'storeengine/payment_gateway_supports', in_array( $feature, $this->supports, true ), $feature, $this ); -
/** * Hook that is called when the payment gateways have been registered. */ do_action( 'storeengine/payment_gateways_initialized', $this ); -
/** * Filter payment token class per type. */ apply_filters( 'storeengine/payment_token/token_classname', $classname, $type, $gateway ); -
/** * Short-circuit coupon validation. Return a non-null value (bool true or * WP_Error) to bypass the standard checks entirely. Used by the subscription * recurring-discount feature to re-apply a locked-in coupon at renewal even * after it has expired or hit its usage limit. */ apply_filters( 'storeengine/pre_is_coupon_valid', null, $coupon, $this ); -
/** * Fires before payment complete process of an order. */ do_action( 'storeengine/pre_payment_complete', $order_id, $transaction_id ); -
/** * Filters the string of price markup. */ apply_filters( 'storeengine/price', $return, $price, $args, $unformatted_price, $original_price ); -
/** * Filters whether a product is taxable. */ apply_filters( 'storeengine/price/is_taxable', $this->get_product()->is_taxable(), $this ); -
/** * Let other addons scrub their own order-attached personal data (e.g. invoice * meta, eu-vat numbers) before the order is saved. */ do_action( 'storeengine/privacy/anonymize_order', $order ); -
/** * Let active addons contribute their own erasers. Each entry must be a WP * eraser array: `[ 'eraser_friendly_name' => string, 'callback' => callable * ]`. */ apply_filters( 'storeengine/privacy/erasers', $erasers ); -
/** * Let active addons contribute their own exporters (multi-vendor, affiliate, * eu-compliance consent logs, …). Each entry must be a WP exporter array: `[ * 'exporter_friendly_name' => string, 'callback' => callable ]`. */ apply_filters( 'storeengine/privacy/exporters', $exporters ); -
/** * Filter the configurable product form schema. Add-ons register their own * fields here (same shape as above) so they show up in the settings screen. */ apply_filters( 'storeengine/product_form/fields_schema', $schema ); -
/** * Filter whether a user is restricted to the configured product form. */ apply_filters( 'storeengine/product_form/is_subject', $subject, $user ); -
/** * Let integrations opt a request out (imports, syncs, migrations). */ apply_filters( 'storeengine/product_form/skip_enforcement', false, $request ); -
/** * Filter a product's resolved size chart. */ apply_filters( 'storeengine/product_size_chart', $chart, $product_id ); -
/** * Fires after the out-of-stock badge — pro back-in-stock addon hooks here to * render a "Notify me" form. */ do_action( 'storeengine/product/after_out_of_stock_badge', $product ); -
/** * Fires before a product post is permanently deleted, after its own variations * (if any) are already gone. Addons that key data off product_id alone * (independent of any variation) hook this to clean it up — core doesn't * know those tables exist. */ do_action( 'storeengine/product/before_delete', $post_id ); -
/** * Filters whether a product is taxable. */ apply_filters( 'storeengine/product/is_taxable', ProductTaxStatus::TAXABLE === $this->get_tax_status() && TaxUtil::is_tax_enabled(), $this ); -
/** * Filter a single price row as prepared for the product editor / API. Addons * attach extra per-price config (e.g. name-your-price / donation settings * stored outside the Price entity) here. */ apply_filters( 'storeengine/product/price_array_item', $item, $price, $context ); -
/** * Filters all quantity input args. */ apply_filters( 'storeengine/quantity_input_args', wp_parse_args( $args, $defaults ), $product ); -
/** * Controls the quantity input's type attribute. */ apply_filters( 'storeengine/quantity_input_type', $type ); -
/** * Filter the units available for each sell-by mode. */ apply_filters( 'storeengine/quantity/units', $units ); -
/** * Filter raw price. */ apply_filters( 'storeengine/raw/price', $negative ? $price * - 1 : $price, $original_price ); -
/** * Fires after a customer edits their own review. Return true from any callback * on the filter below to re-moderate (set to pending). */ apply_filters( 'storeengine/remoderate_edited_review', false, $comment_id ); -
/** * Fires after removing coupon from cart. */ do_action( 'storeengine/removed_coupon' ); -
/** * Filters a tab's response (e.g. Pro adds profit columns). */ apply_filters( "storeengine/reports/{$id}/data", $data, $params ); -
/** * Short-circuit or adjust the query params for a tab. */ apply_filters( "storeengine/reports/{$id}/query", $params ); -
/** * Fires once a report backfill finished. */ do_action( 'storeengine/reports/backfill_done', $state ); -
/** * Fires after the nightly reconcile (Pro snapshots hook in here). */ do_action( 'storeengine/reports/nightly' ); -
/** * Filters an order's report fact row before it is stored. */ apply_filters( 'storeengine/reports/order_fact', $fact, $order ); -
/** * Fires after a range of report days was rebuilt. */ do_action( 'storeengine/reports/range_rebuilt', $from, $to ); -
/** * This filter is documented in build_order_fact(). */ apply_filters( 'storeengine/reports/refund_fact', $fact, $refund, $parent ); -
/** * Register report tabs. Values are AbstractReport instances keyed by tab id; * Pro adds Subscriptions, Memberships, Sources, Coupons and addon tabs here. */ apply_filters( 'storeengine/reports/tabs', $tabs ); -
/** * Secondary authorization gate. */ apply_filters( 'storeengine/request/authorize', true, [ 'action' => $action, 'handler' => $this, 'namespace' => $this->namespace, 'capability' => $user_cap, 'is_visitor' => $this->is_visitor_action, 'details' => $details, ] ); -
/** * Fires after a tax is deleted via the REST API. */ do_action( 'storeengine/rest_delete_tax', $tax, $response, $request ); -
/** * Filter tax object returned from the REST API. */ apply_filters( 'storeengine/rest_prepare_tax', $response, $item, $request ); -
/** * Filter arguments, before passing to $wpdb->get_results(), when querying * taxes via the REST API. */ apply_filters( 'storeengine/rest_tax_query', $prepared_args, $request ); -
/** * Allow Pro addons (returns, installment plans) to inject extra fields or * actions into the order response. Mirrors the WP-side * `storeengine/dashboard/order/actions` filter. */ do_action( 'storeengine/rest/me/order_response', $response, $order, $request ); -
/** * Fires after a store reply is saved. */ do_action( 'storeengine/review/replied', $reply, $review, $notify ); -
/** * Fires when a review's verified-purchase state changes. */ do_action( 'storeengine/review/verified_changed', $comment_id, $verified, $source, $order_id ); -
/** * Install a companion that is not on WordPress.org (StoreEngine Pro). */ apply_filters( 'storeengine/satellite/install', null, $key, $basename ); -
/** * Filter download filepath. */ apply_filters( "storeengine/secure_downloads/{$dl_type}/file_data", [], $resource, $product ); -
/** * Delete a custom seeded object type registered by an addon. */ apply_filters( 'storeengine/seeder/delete_object', false, $type, $id ); -
/** * Register dummy-data seeder providers. */ apply_filters( 'storeengine/seeder/providers', [] ); -
/** * Lets pro override per-product SEO (meta box values, AI titles, OG image * generation) without the free engine depending on pro. */ apply_filters( 'storeengine/seo/product_data', $data, $product ); -
/** * Controls whether the cookie should be set. */ apply_filters( 'storeengine/set_cookie_enabled', true, $name, $value, $expire, $secure ); -
/** * Controls the options to be specified when setting the cookie. */ apply_filters( 'storeengine/set_cookie_options', [ 'expires' => $expire, 'secure' => $secure, 'path' => COOKIEPATH ? COOKIEPATH : '/', 'domain' => COOKIE_DOMAIN, 'httponly' => apply_filters( 'storeengine/cookie_httponly', $httponly, $name, $value, $expire, $secure ), ], $name, $value ); -
/** * Fires after saving the affiliate settings. */ do_action( 'storeengine/settings/affiliate/after_save_affiliate_settings', $is_updated, $args ); -
/** * Initialize shipping. */ do_action( 'storeengine/shipping_init' ); -
/** * Filter the shipping rate delivery time. */ apply_filters( 'storeengine/shipping_rate_delivery_time', $this->data['delivery_time'], $this ); -
/** * Filter the shipping rate description. */ apply_filters( 'storeengine/shipping_rate_description', $this->data['description'], $this ); -
/** * Filter to allow tax status to be overridden for a shipping rate. */ apply_filters( 'storeengine/shipping_rate_tax_status', $this->data['tax_status'], $this ); -
/** * Fires after getting shipping rates for a package. */ do_action( 'storeengine/shipping/after_get_rates_for_package', $package, $shipping_method ); -
/** * Fires before getting shipping rates for a package. */ do_action( 'storeengine/shipping/before_get_rates_for_package', $package, $shipping_method ); -
/** * Filter to not require shipping city for shipping calculation, even if it is * required at checkout. This can be used to allow shipping calculations to be * done without a city. */ apply_filters( 'storeengine/shipping/calculator_enable_city', true ); -
/** * 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( 'storeengine/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( 'storeengine/shipping/calculator_enable_state', true ); -
/** * Filters the default shipping method for a package. */ apply_filters( 'storeengine/shipping/chosen_method', $default, $package['rates'], $chosen_method ); -
/** * Filter the list of allowed selling countries. */ apply_filters( 'storeengine/shipping/countries', $countries ); -
/** * Get shipping zone criteria */ apply_filters( 'storeengine/shipping/get_zone_criteria', $criteria, $package, $postcode_locations ); -
/** * Fires when a shipping method is chosen. */ do_action( 'storeengine/shipping/method_chosen', $chosen_method ); -
/** * Filter the calculated shipping rates. */ apply_filters( 'storeengine/shipping/package_rates', $package['rates'], $package ); -
/** * Allow packages to be reorganized after calculating the shipping. */ apply_filters( 'storeengine/shipping/packages', $this->packages ); -
/** * Filter the shipping rate delivery time. */ apply_filters( 'storeengine/shipping/shipping_rate_delivery_time', $this->data['delivery_time'], $this ); -
/** * Filter the shipping rate description. */ apply_filters( 'storeengine/shipping/shipping_rate_description', $this->data['description'], $this ); -
/** * Filter to allow tax status to be overridden for a shipping rate. */ apply_filters( 'storeengine/shipping/shipping_rate_tax_status', $this->data['tax_status'], $this ); -
/** * Filters the table rate cost before it is added. Return null to hide the * method. */ apply_filters( 'storeengine/shipping/table_rate_cost', $cost, $measured, $package, $this ); -
/** * Filters whether the vendor signup shortcode treats the current user as an * existing vendor. */ apply_filters( 'storeengine/shortcode/vendor_signup_is_vendor', $user && in_array( Role::ROLE, (array) $user->roles, true ), $user ); -
/** * Filter sort fees callback. */ apply_filters( 'storeengine/sort_fees_callback', $a->amount > $b->amount ? - 1 : 1, $a, $b ); -
/** * Allows filtering of country states in StoreEngine. */ apply_filters( 'storeengine/states', include STOREENGINE_ROOT_DIR_PATH . 'i18n/states.php' ); -
/** * Fires after a manual/global stock adjustment was written, so an add-on that * keeps per-location stock can route the change there. */ do_action( 'storeengine/stock/adjusted', $result ); -
/** * Lets add-ons (per-location thresholds) append digest lines. */ apply_filters( 'storeengine/stock/low_stock_digest_rows', $rows ); -
/** * Filter movement-row args before insert. Multi-location addons hook this to * inject `location_id` so the column (added by inventory-pro's installer) gets * populated. */ apply_filters( 'storeengine/stock/record_movement_args', $args ); -
/** * Quantity this order line still has to restock. Add-ons that already put part * of it back (e.g. POS refunds that restocked at issue time) subtract it here * so it isn't restocked twice. */ apply_filters( 'storeengine/stock/restore_qty', $qty, $product_id, $variation_id, $order_id ); -
/** * Filters the digest payload before it is rendered. */ apply_filters( 'storeengine/store_digest/payload', $payload, $cadence ); -
/** * Determines which pages are created during install. */ apply_filters( 'storeengine/store_page_contents', [ 'shop_page' => [ 'title' => _x( 'Store Shop', 'Page title', 'storeengine' ), 'slug' => ! $prefix ? _x( 'shop', 'Page slug', 'storeengine' ) : _x( 'store-shop', 'Page slug', 'storeengine' ), 'content' => '', ], 'cart_page' => [ 'title' => _x( 'Store Cart', 'Page title', 'storeengine' ), 'slug' => ! $prefix ? _x( 'cart', 'Page slug', 'storeengine' ) : _x( 'store-cart', 'Page slug', 'storeengine... ); -
/** * Fires after adding stripe metadata on Order. */ do_action( 'storeengine/stripe/after_add_stripe_meta', $order ); -
/** * Applies a saved payment method to a subscription, or to one of its unpaid * renewal orders. */ apply_filters( "storeengine/subscription/apply_payment_method/{$gateway_id}", null, $order, $token, $subscription ); -
/** * Fires before a subscription created by a failed checkout is moved to trash. */ do_action( 'storeengine/subscription/before_failed_checkout_removal', $subscription, $stored_order ); -
/** * Filter the renewal order before the gateway payment action fires. Gateways * can use this to verify saved card tokens or refresh credentials. */ apply_filters( 'storeengine/subscription/before_scheduled_payment', $renewal_order, $subscription ); -
/** * Filters whether the coupon should be allowed to be removed. */ apply_filters( 'storeengine/subscription/bypass_coupon_removal', false, $coupon, $coupon_type, $calculation_type, $cart ); -
/** * Filters whether a user can change the payment method of a subscription. */ apply_filters( 'storeengine/subscription/can_change_payment_method', $can_change, $subscription, $user_id ); -
/** * Filters whether a cancelled subscription can be reactivated. */ apply_filters( 'storeengine/subscription/can_reactivate_cancelled', true, $this ); -
/** * Filters whether a pending-cancellation subscription can be resumed. */ apply_filters( 'storeengine/subscription/can_resume', $can_be_updated, $this ); -
storeengine/subscription/cart/recurring_cart_itemized_tax_totals_html
filter Copy link Customise this hook/** * Allow third-parties to filter the tax displayed. */ apply_filters( 'storeengine/subscription/cart/recurring_cart_itemized_tax_totals_html', Utils::prepare_cart_price_html( $recurring_tax->formatted_amount, $recurring_cart ), $recurring_cart, $recurring_code, $recurring_tax ); -
/** * Allow third-parties to filter the tax displayed. */ apply_filters( 'storeengine/subscription/cart/recurring_cart_tax_totals_html', Utils::prepare_cart_price_html( $recurring_cart->get_taxes_total(), $recurring_cart ), $recurring_cart ); -
/** * Triggers when removed. */ do_action( 'storeengine/subscription/date_deleted', $this, $prop ); -
/** * Triggers when changed. */ do_action( 'storeengine/subscription/date_updated', $this, $prop, $value ); -
/** * Fires when a customer starts an early renewal, before redirecting to pay. */ do_action( 'storeengine/subscription/early_renewal_started', $renewal_order, $subscription ); -
/** * Fires when an order is paid after the subscriptions of its failed checkout * were removed. */ do_action( 'storeengine/subscription/failed_checkout_order_paid', $order, (array) $removed ); -
/** * Fires after the subscriptions of a failed checkout were removed. */ do_action( 'storeengine/subscription/failed_checkout_subscriptions_removed', $removed, $stored_order ); -
storeengine/subscription/gateway_supports_payment_method_change
filter Copy link Customise this hook/** * Filters whether customers can change a subscription's payment method for a * gateway. */ apply_filters( 'storeengine/subscription/gateway_supports_payment_method_change', $supported, $gateway ); -
/** * Allow third-parties to filter the early renewal URL. */ apply_filters( 'storeengine/subscription/get_early_renewal_url', $url, $subscription->get_id() ); -
/** * Filter the URL to edit the order in the backend. */ apply_filters( 'storeengine/subscription/get_edit_url', $edit_url, $this ); -
/** * Fires after a new order is created from a subscription. Use this to verify * saved payment tokens or add gateway meta before the scheduled_payment action * fires. */ do_action( 'storeengine/subscription/order_created_from_subscription', $order, $subscription, $type ); -
/** * Fires after a subscription's payment method was changed. */ do_action( 'storeengine/subscription/payment_method_updated', $subscription, $token, $old_token, $user_id ); -
/** * Whether to keep this item in the cart alongside a subscription. */ apply_filters( 'storeengine/subscription/preserve_cart_item', true, $item, $cart ); -
/** * Filters whether a subscription created by a failed checkout is removed. */ apply_filters( 'storeengine/subscription/remove_after_failed_checkout', $should_remove, $subscription, $stored_order, $error ); -
/** * Allow third-parties to override whether the fees will be removed from the * initial order cart. */ apply_filters( 'storeengine/subscription/remove_fees_from_initial_cart', $remove_fees_from_cart, $cart, $recurring_carts ); -
/** * Whether adding this item should clear the cart. */ apply_filters( 'storeengine/subscription/should_clear_cart_for_item', false, $cart, $price, is_array( $item_data ) ? $item_data : [] ); -
/** * Filter whether the customer can pay an upcoming renewal early via checkout. */ apply_filters( 'storeengine/subscriptions/can_renew_early_via_checkout', empty( $reason ), $subscription, $user_id, $reason ); -
/** * Allow third-parties to filter whether the customer can renew a subscription * early. */ apply_filters( 'storeengine/subscriptions/can_user_renew_early', $can_renew_early, $subscription, $user_id, $reason ); -
/** * Whether the tax engine is active. */ apply_filters( 'storeengine/tax_enabled', Helper::get_settings( 'enable_product_tax' ) ); -
/** * Filtering if display prices including tax or not! */ apply_filters( 'storeengine/tax/display_prices_excluding_tax', 'excl' === self::get_tax_price_display_mode( $customer ) ); -
/** * Filtering if display prices including tax or not! */ apply_filters( 'storeengine/tax/display_prices_including_tax', 'incl' === self::get_tax_price_display_mode( $customer ) ); -
/** * Hook: storeengine/templates/after_product_loop */ do_action( 'storeengine/templates/after_product_loop' ); -
/** * Hook: storeengine/templates/archive_product_header. */ do_action( 'storeengine/templates/archive_header_filter' ); -
/** * Hook - storeengine/templates/before_course_loop_content_inner */ do_action( 'storeengine/templates/before_course_loop_content_inner' ); -
/** * Hook: storeengine/templates/no_product_found */ do_action( 'storeengine/templates/no_product_found' ); -
/** * The storeengine/templates/review_before hook */ do_action( 'storeengine/templates/review_before', $comment ); -
/** * The storeengine/templates/review_before_comment_meta hook. */ do_action( 'storeengine/templates/review_before_comment_meta', $comment ); -
/** * The storeengine/templates/review_comment_text hook */ do_action( 'storeengine/templates/review_comment_text', $comment ); -
/** * The storeengine/templates/review_meta hook. */ do_action( 'storeengine/templates/review_meta', $comment ); -
/** * The storeengine/templates/single_filter hook. */ do_action( 'storeengine/templates/single_filter' ); -
/** * Add-ons append extra product info below a block-built product page. */ do_action( 'storeengine/templates/single_product_customize_after' ); -
/** * Run after StoreEngine has been updated. */ do_action( 'storeengine/updated' ); -
/** * Fires immediately after updating metadata. */ do_action( "storeengine/updated_{$this->object_type}_meta", $meta->id, $this->get_id(), $meta->key, $meta->value ); -
/** * Filters the valid order statuses for payment complete. */ apply_filters( 'storeengine/valid_order_statuses_for_payment_complete', [ OrderStatus::ON_HOLD, OrderStatus::PAYMENT_PENDING, OrderStatus::PAYMENT_FAILED, OrderStatus::CANCELLED, ], $this ); -
/** * Fires before a variation row is hard-deleted, while get_id()/ * get_product_id() are still valid. Multi-location addons hook this to clean * up their own per-location stock rows for this variation — nothing in core * otherwise knows those tables exist, so without this a deleted variant leaves * an orphaned storeengine_location_stock row behind (same ghost-row mechanism * as the variation_id=0 mirror bu... */ do_action( 'storeengine/variation/before_delete', $this->get_id(), $this->get_product_id() ); -
apply_filters( "storeengine/{$this->object_type}/db/{$context}", $data, $this ); -
apply_filters( 'storeengine/auth/min_password_length', 8 ); -
apply_filters( 'storeengine/adjust_non_base_location_prices', true ); -
do_action( 'storeengine/cart/check_items' ); -
apply_filters( 'storeengine/order/item_name', $item->get_name(), $item ); -
do_action( 'storeengine/templates/archive_product_sidebar' ); -
do_action( 'storeengine/checkout/customer_created', $user_id, $userdata ); -
apply_filters( 'storeengine/coupon_get_apply_quantity', $apply_quantity, $item, $coupon, $this ); -
apply_filters( 'storeengine/product/quantity_form_args', [ 'quantity' => 1 ] ); -
do_action( 'storeengine/subscription/activated_for_order', $order->get_id() ); -
do_action( 'storeengine/templates/after_main_content', 'archive-product.php' ); -
do_action( 'storeengine/templates/before_main_content', 'archive-product.php' ); -
apply_filters( 'the_content', $page->post_content ); -
apply_filters( 'storeengine_settings', json_decode( get_option( STOREENGINE_SETTINGS_NAME, '{}' ) ) ); -
apply_filters( 'storeengine/coupon_get_discount_amount', NumberUtil::round( min( $discount, $discounting_amount ), Formatting::get_rounding_precision() ), $discounting_amount, $cart_item, $single, $this ); -
storeengine/email/{$this->get_hook_name('content-replacements')}
filter Copy link Customise this hookapply_filters( "storeengine/email/{$this->get_hook_name('content-replacements')}", $replacements, $abc ); -
storeengine/email/{$this->get_hook_name('subject-replacements')}
filter Copy link Customise this hookapply_filters( "storeengine/email/{$this->get_hook_name('subject-replacements')}", $replacements, $abc ); -
apply_filters( 'storeengine/instant_checkout/session/rate_limit', true, $request ); -
apply_filters( 'storeengine/order/item_permalink', $is_visible ? get_permalink( $item->get_product_id() ) : '', $item, $order ); -
do_action( 'storeengine/templates/single-product/header_right_content' ); -
apply_filters( 'storeengine/templates/use_block_templates', false ); -
storeengine/{$this->object_type}_operational_data/db/{$context}
filter Copy link Customise this hookapply_filters( "storeengine/{$this->object_type}_operational_data/db/{$context}", $data, $this ); -
do_action( "storeengine/addons/activated_{$addon_slug}" ); -
do_action( 'storeengine/addons/affiliate/after_registration', $affiliate_id ); -
do_action( 'storeengine/addons/affiliate/commission_approved', (int) $payload['commission_id'] ); -
do_action( 'storeengine/addons/affiliate/commission_reversed', (int) $commission['commission_id'], $order, 1.0 ); -
do_action( "storeengine/addons/deactivated_{$addon_slug}" ); -
do_action( 'storeengine/after_create_subscription', $subscription_instance ); -
do_action( 'storeengine/ajax/cart/added_to_cart', $request->get_params() ); -
do_action( 'storeengine/api/after_delete_order', $order, $order_id, $force ); -
apply_filters( 'storeengine/auth/register_userdata', [ 'user_login' => $username, 'user_email' => $email, 'user_pass' => $password, 'role' => 'storeengine_customer', 'display_name' => trim( $first_name . ' ' . $last_name ) ?: $username, 'first_name' => $first_name, 'last_name' => $last_name, ], $request ); -
apply_filters( 'storeengine/calc_tax', $override, $price, $rates, $price_includes_tax ); -
do_action( 'storeengine/cart/added_to_cart', $request->get_params() ); -
do_action( 'storeengine/cart/after_item_quantity_update', $this->cart_items[ $cart_item_key ], $old_quantity, $this ); -
apply_filters( 'storeengine/cart/item_image_post_id', $cart_item->product_id, $cart_item ); -
apply_filters( 'storeengine/cart/item_name', $cart_item->name, $cart_item ); -
apply_filters( 'storeengine/cart/item_permalink', get_the_permalink( $cart_item->product_id ), $cart_item ); -
apply_filters( 'storeengine/cart/remove_taxes_zero_rate_id', 'zero-rated' ); -
apply_filters( 'storeengine/cart/totals_order_total_html', $order_total_html ); -
do_action( 'storeengine/change_subscription_status', $subscription ); -
apply_filters( 'storeengine/checkout_redirect_empty_cart', true ); -
apply_filters( 'storeengine/checkout/contact_field_context', [ 'mode' => 'email_only' ] ); -
apply_filters( 'storeengine/checkout/create_customer_data', [ 'user_login' => $username, 'user_email' => $email, 'role' => 'storeengine_customer', 'display_name' => $first_name . ' ' . $last_name, 'first_name' => $first_name, 'last_name' => $last_name, ] ); -
apply_filters( "storeengine/checkout/gateway/{$gateway->id}/data", $g, $gateway ); -
apply_filters( 'storeengine/checkout/place_order_button_text', __( 'Place order', 'storeengine' ), $cart->needs_payment() ); -
apply_filters( 'storeengine/checkout/publishable_key_auth', null, $request ); -
do_action( 'storeengine/courier/shipment_status_updated', $id, $status, $internal_status, $delivered ); -
apply_filters( 'storeengine/course_get_rating_html', $stars, $average, $count ); -
apply_filters( 'storeengine/date_format', $date_format ); -
apply_filters( 'storeengine/email/mail_send_arguments', [ 'headers' => $headers, 'body' => $body, 'to' => $to, 'subject' => $subject, 'attachments' => $args['attachments'] ?? [], ], $this->email_name, $args ); -
apply_filters( 'storeengine/get_country_locale_base', $this->locale['default'] ); -
apply_filters( 'storeengine/get_order_item_totals', $total_rows, $this, $tax_display ); -
apply_filters( 'storeengine/instant_checkout/session/authorize', null, $request ); -
apply_filters( 'storeengine/membership/before_content_protect', $plan_id, $post ); -
do_action( 'storeengine/multi_vendor/vendor_registered', $vendor ); -
do_action( 'storeengine/multi_vendor/withdrawal_requested', $id, $user_id, $amount ); -
do_action( 'storeengine/multi_vendor/withdrawal_status_changed', $id, $status, $from ); -
apply_filters( 'storeengine/new_order_note_data', [ 'comment_post_ID' => $this->get_order_id(), 'comment_author' => $comment_author, 'comment_author_email' => $comment_author_email, 'comment_author_url' => '', 'comment_content' => $this->get_content( 'edit' ), 'comment_agent' => 'StoreEngine', 'comment_type' => 'order_note', 'comment_parent' => 0, 'comment_approved' => 1, ], [ 'order_id' => $this->get_order_id(), 'is_customer_note' => $this->g... ); -
apply_filters( 'storeengine/order_needs_payment', $need_payment, $this, $valid_order_statuses ); -
apply_filters( 'storeengine/order_shipping_to_display_tax_label', ' <small class="tax_label">' . Countries::init()->ex_tax_or_vat() . '</small>', $this, $tax_display ); -
apply_filters( 'storeengine/order/valid_statuses_for_payment', $valid_statuses_for_payment, $this ); -
apply_filters( 'storeengine/order/valid_unpaid_statuses', $valid_unpaid_statuses, $this ); -
apply_filters( 'storeengine/payment_settings_fields', [] ); -
apply_filters( 'storeengine/paypal_request_sslverify', false ); -
apply_filters( 'storeengine/paypal_request_timeout', 30 ); -
do_action( 'storeengine/price_deleted', $payload['id'] ); -
apply_filters( 'storeengine/price_ex_tax_amount', $tax_amount, $key, $rate, $price ); -
apply_filters( 'storeengine/price_inc_tax_amount', $non_compound_price - ( $non_compound_price / ( 1 + ( $compound_rate / 100 ) ) ), $key, $rates[ $key ], $price ); -
do_action( 'storeengine/price/after_format', $this ); -
do_action( 'storeengine/product/after_add_to_cart', $product ); -
do_action( 'storeengine/product/after_add_to_cart_form', $product ); -
do_action( 'storeengine/product/before_add_to_cart', $product ); -
do_action( 'storeengine/product/before_add_to_cart_form', $product ); -
apply_filters( 'storeengine/product/get_compare_price', (float) $product_price->compare_price, 'view', (int) $product_price->product_id ); -
apply_filters( 'storeengine/product/get_price', $price, 'view', (int) $product_price->product_id ); -
apply_filters( 'storeengine/product/get_price_types', [ 'onetime' ] ); -
apply_filters( 'storeengine/products/cross_sell/args', $args ); -
apply_filters( 'storeengine/quantity_input_max', - 1, $product, $price ); -
apply_filters( 'storeengine/quantity_input_min', $isFractional ? $step : 1, $product, $price ); -
apply_filters( 'storeengine/quantity_input_step', $step, $product, $price ); -
apply_filters( 'storeengine/refund/can_admin_refund_order', ( 0 < $item->get_total() - $item->get_total_refunded() ), $item->get_id(), $item ); -
apply_filters( 'storeengine/rest_user_capability', $allowed ? true : new WP_Error( 'storeengine_rest_forbidden_context', esc_html__( 'Sorry, insufficient permission.', 'storeengine' ), [ 'status' => rest_authorization_required_code() ] ), ReviewReplies::CAPABILITY ); -
apply_filters( 'storeengine/review/verified_order', 0, $user_id, $email, $product_id ); -
apply_filters( 'storeengine/shipping/free_shipping_is_available', true, $package, $this ); -
apply_filters( 'storeengine/stripe/update_customer_args', $args ); -
do_action( 'storeengine/subscription/failed_to_create_renewal_order', $type, $subscription ); -
apply_filters( 'storeengine/subscription/is_failed_renewal_order', $is_failed_renewal_order, $order->get_id(), $old_status ); -
do_action( 'storeengine/subscription/paid_for_failed_renewal_order', $order, $subscription ); -
apply_filters( 'storeengine/subscription/sign_up_fee', $sign_up_fee, $this ); -
do_action( 'storeengine/subscription/unable_to_update_status', $this, $new_status, $old_status ); -
do_action( 'storeengine/templates/before_product_loop' ); -
apply_filters( 'storeengine/templates/is_allow_block_theme_header', true ); -
do_action_deprecated( "{$this->cache_group}_loop_end", [ &$this ], '1.6.9', $this->hook_prefix . '/loop_end' ); -
do_action_deprecated( "{$this->cache_group}_loop_no_results", [ &$this ], '1.7.1', $this->hook_prefix . '/loop_no_results' ); -
do_action_deprecated( "{$this->cache_group}_loop_start", [ &$this ], '1.6.9', $this->hook_prefix . '/loop_start' ); -
do_action_deprecated( "{$this->cache_group}_pre_get_results", [ &$this ], '1.6.9', $this->hook_prefix . '/pre_get_results' ); -
do_action_deprecated( "{$this->cache_group}_the_result", [ &$this ], '1.6.9', $this->hook_prefix . '/the_result' ); -
apply_filters( "{$this->hook_prefix}/per_page", $per_page ); -
apply_filters( 'academy_pro/single/bundle_content_args', array( 'duration' => $duration, 'total_lessons' => $total_lessons, 'total_enroll_count_status' => $total_enroll_count_status, 'total_enrolled' => $total_enrolled, 'max_students' => $max_students, 'last_update' => $last_update, ), $bundle_id ); -
apply_filters( 'academy_pro/single/bundle_price_args', array( 'enrolled' => false, 'is_paid' => true, 'regular_price' => $regular_price, 'sale_price' => $sale_price, 'price' => $price, ), $bundle_id ); -
apply_filters( 'academy/templates/single_course/enroll_content', ob_get_clean(), $bundle_id ); -
apply_filters( 'academy/templates/single_course/price_content_args', ob_get_clean(), $bundle_id ); -
do_action( 'admin_print_styles' ); -
apply_filters( 'storeengine_affiliate/templates/shortcode/registration', ob_get_clean() ); -
do_action( "storeengine_dashboard_handle_{$type}_request", $value ?: null ); -
apply_filters( 'storeengine_get_dynamic_meta_values', $meta_args, $q_obj ); -
apply_filters( 'storeengine_is_checkout', false ); -
apply_filters( 'storeengine_is_dashboard_page', false ); -
apply_filters( 'storeengine_is_thankyou', false ); -
do_action( 'storeengine_pro/abandoned_cart/track_cart' ); -
apply_filters( 'storeengine_products_shortcode_args', $args ); -
apply_filters( 'storeengine_restricted_page_title', 'This content is restricted' ); -
apply_filters( 'storeengine_webhooks_query_args', $this->args ); -
do_action( "storeengine/{$this->get_object_type()}/create_order_fee_item", $item, $fee, $this ); -
do_action( "storeengine/{$this->get_object_type()}/create_order_line_item", $item, $args, $this ); -
apply_filters( "storeengine/{$this->get_settings_name()}/get_settings", $value, $key ); -
apply_filters( "storeengine/{$this->get_settings_name()}/settings", array_merge( $this->get_default_settings(), (array) Helper::get_settings( $this->get_settings_name(), [] ) ) ); -
apply_filters( "storeengine/{$this->id}/display_save_payment_method_checkbox", true ); -
apply_filters( "storeengine/{$this->id}/save_payment_method", $this->order_or_cart_has_subscription( $order ) || $this->maybe_user_request_saved_payment_method(), $order ); -
apply_filters( "storeengine/{$this->meta_type}_read_meta", $meta_data, $this ); -
apply_filters_deprecated( "storeengine/{$this->object_type}/collection/per_page", [ $per_page ], '1.6.9', $this->hook_prefix . '/per_page' ); -
apply_filters( "storeengine/{$this->object_type}/has_status", ( is_array( $status ) && in_array( $this->get_status(), $status, true ) ) || $this->get_status() === $status, $this, $status ); -
apply_filters( "storeengine/{$this->object_type}/payment_method_to_display", $payment_method_to_display, $this, $context ); -
do_action( "storeengine/{$this->object_type}/untrashed", $this, $previous_status ); -
do_action( "storeengine/account_payment_methods_column_{$column}", $method ); -
apply_filters( 'storeengine/account_payment_methods_columns', [ 'id' => __( 'ID', 'storeengine' ), 'method' => __( 'Method', 'storeengine' ), 'gateway' => __( 'Gateway', 'storeengine' ), 'expires' => __( 'Expires', 'storeengine' ), 'actions' => __( 'Actions', 'storeengine' ), ] ); -
do_action( 'storeengine/add_payment_method_form_bottom' ); -
do_action( 'storeengine/addons/affiliate/update_commission_status', $payload['commission_id'], $payload['status'] ); -
do_action( 'storeengine/addons/affiliate/update_payout_status', $payout_id, $status ); -
do_action( 'storeengine/addons/affiliate/update_status', $affiliate_id, $status ); -
apply_filters( 'storeengine/addons/dependencies', [ 'inventory-pro' => [ 'inventory' ], 'pos' => [ 'inventory' ], 'returns' => [ 'inventory' ], ] ); -
do_action( 'storeengine/addons/loaded' ); -
apply_filters( 'storeengine/addons/loader_args', [ 'paypal' => 'Paypal', 'stripe' => 'Stripe', 'affiliate' => 'Affiliate', 'membership' => 'Membership', 'subscription' => 'Subscription', 'donation' => 'Donation', 'invoice' => 'Invoice', 'email' => 'Email', 'webhooks' => 'Webhooks', 'migration-tool' => 'MigrationTool', 'csv' => 'Csv', 'catalog-mode' => 'CatalogMode', 'razorpay' => 'Razorpay', 'paddle' => 'Paddle', 'multi-currency' => 'MultiCur... ); -
apply_filters( 'storeengine/addons/webhook/event', $this->event, $this->id ); -
apply_filters( 'storeengine/addons/webhook/hashing_algorithm', 'sha256', $payload, $this->id ); -
apply_filters( 'storeengine/addons/webhook/resource', $this->resource, $this->id ); -
apply_filters( 'storeengine/addons/webhook/topic', $this->topic, $this->id ); -
apply_filters( 'storeengine/addons/webhook/useragent_string', sprintf( 'StoreEngine/%s Webhook, (WordPress/%s)', STOREENGINE_VERSION, $GLOBALS['wp_version'] ) ); -
apply_filters( 'storeengine/admin_notice/dismissal_capability', 'manage_storeengine_shop_manager', $notice_name ); -
do_action( "storeengine/admin_notice/hide_{$notice_name}_notice" ); -
do_action( 'storeengine/admin/after_save_settings', $is_update, 'base', $payload ); -
apply_filters( 'storeengine/admin/extra_addons', [] ); -
apply_filters( 'storeengine/admin/payments_settings_default_data', [ 'bank_transfer' => [ 'type' => 'bank_transfer', 'is_enabled' => false, 'title' => __( 'Bank Transfer', 'storeengine' ), 'description' => __( 'Take payments in person via BACS. More commonly known as direct bank/wire transfer.', 'storeengine' ), 'instructions' => __( 'Make your payment directly into our bank account. Please use your Order ID as the payment reference. Your order will not be shi... ); -
apply_filters( 'storeengine/admin/pos_primary_label', __( 'Sessions', 'storeengine' ) ); -
apply_filters( 'storeengine/admin/satellite_courier_catalog', [ [ 'label' => 'Pathao', 'details' => __( 'Push orders and auto-poll delivery status.', 'storeengine' ), ], [ 'label' => 'Steadfast', 'details' => __( 'One-click consignment creation and tracking sync.', 'storeengine' ), ], [ 'label' => 'Shiprocket', 'details' => __( 'Multi-carrier shipping and tracking.', 'storeengine' ), ], ] ); -
apply_filters( 'storeengine/admin/satellite_dropship_catalog', [ [ 'label' => 'AliExpress', 'details' => __( 'Import products and sync inventory from the marketplace.', 'storeengine' ), ], [ 'label' => 'CJ Dropshipping', 'details' => __( 'Source and fulfil from the CJ supplier network.', 'storeengine' ), ], [ 'label' => 'Spocket', 'details' => __( 'Curated US/EU suppliers with fast shipping.', 'storeengine' ), ], [ 'label' => 'Zendrop', 'details' => __( 'C... ); -
apply_filters( 'storeengine/admin/satellite_payments_catalog', [ [ 'label' => 'Paystack', 'details' => __( 'Card, bank transfer, USSD and mobile-money payments across Africa.', 'storeengine' ), ], [ 'label' => 'Square', 'details' => __( 'Card payments via the Square Web Payments SDK — card data never touches your server.', 'storeengine' ), ], ] ); -
do_action( "storeengine/admin/save_gateways/{$gateway}/settings", $data ); -
apply_filters( 'storeengine/admin/settings_default_data', [ 'store_name' => 'StoreEngine', 'store_email' => get_option( 'admin_email' ), 'store_currency' => 'USD', 'store_currency_position' => 'left', 'store_currency_thousand_separator' => ',', 'store_currency_decimal_separator' => '.', 'store_currency_decimal_limit' => 2, 'store_country' => '', 'store_address_1' => '', 'store_address_2' => '', 'store_city' => '', 'store_state' => '', 'store_postcode'... ); -
apply_filters( 'storeengine/admin/setup_scripts_data', array_merge( $this->assets->get_backend_script_data(), [ 'admin_url' => admin_url(), 'customize_url' => add_query_arg( 'return', admin_url( 'admin.php?page=storeengine-settings&path=general' ), admin_url( 'customize.php' ) ), ] ) ); -
do_action( 'storeengine/admin/setup/init', $this ); -
do_action( "storeengine/admin/verify_payment_{$payment_method}_config", $payload['config'] ); -
do_action( "storeengine/admin/verify_payment_{$this->id}_config", $payload ); -
apply_filters( 'storeengine/advanced_coupon/enabled', false ); -
apply_filters( 'storeengine/affiliate/can_provision', true, get_current_user_id() ); -
apply_filters( 'storeengine/affiliate/commission_base', (float) $order->get_total() - (float) $order->get_total_tax() - (float) $order->get_shipping_total(), $order, $affiliate_id ); -
do_action( 'storeengine/affiliate/commission_created', $commission ); -
apply_filters( 'storeengine/affiliate/cookie_days', $days, is_array( $decoded ) ? $decoded : [] ); -
apply_filters( 'storeengine/affiliate/me_payload', $payload, $affiliate ); -
apply_filters( 'storeengine/affiliate/order_attribution', null, $order ); -
apply_filters( 'storeengine/affiliate/public_settings', $payload, $settings ); -
apply_filters( 'storeengine/affiliate/referral_param', 'ref' ); -
apply_filters( 'storeengine/affiliate/settings/affiliate_settings_default_data', [ 'allow_referral_tracking' => true, 'referral_type' => 'last', 'referral_tracking_length' => 30, 'referral_link_target' => 'shop', 'terms_url' => '', 'commission_type' => 'percentage', 'commission_rate' => 10, 'allow_auto_commission' => true, 'allow_self_referral' => false, 'allow_zero_commission' => true, 'minimum_withdraw_amount' => 10, 'is_enabled_paypal_withdraw' => false, 'is_enabled_eche... ); -
apply_filters( 'storeengine/affiliate/should_auto_approve_commission', true, $commission, $order ); -
storeengine/affiliate/templates/registration-form-before-submit
action Copy link Customise this hookdo_action( 'storeengine/affiliate/templates/registration-form-before-submit' ); -
do_action( 'storeengine/after_account_payment_methods', $has_methods ); -
do_action( 'storeengine/after_single_product_delivered', $product_id, $order_id, $current_status, $new_status ); -
do_action( 'storeengine/after_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] ); -
apply_filters( 'storeengine/ajax/cart/add_to_cart_response', $data, $product_id, $price_id ); -
apply_filters( 'storeengine/ajax/product_archive_response', [ 'markup' => apply_filters( 'storeengine/product_filter_markup', $markup ), 'found_posts' => $products_query->found_posts, 'pixel_data' => [ 'page_title' => html_entity_decode( wp_get_document_title() ), 'currency' => Formatting::get_currency(), 'products' => Pixel::get_product_archive_data(), ], ] ); -
apply_filters( 'storeengine/ajax/product/prepare_price_settings', [ 'setup_fee' => $payload['setup_fee'] ?? false, 'setup_fee_name' => $payload['setup_fee_name'] ?? '', 'setup_fee_price' => $payload['setup_fee_price'] ?? '', 'setup_fee_type' => $payload['setup_fee_type'] ?? '', 'trial' => $payload['trial'] ?? false, 'trial_days' => $payload['trial_days'] ?? 7, 'expire' => $payload['expire'] ?? false, 'expire_days' => $payload['expire_days'] ?? 3, 'payment_dur... ); -
apply_filters( 'storeengine/ajax/product/price_fields', [ 'product_id' => 'id', 'price_name' => 'string', 'price_type' => 'string', 'price' => 'float', 'compare_price' => 'float', 'setup_fee' => 'boolean', 'setup_fee_name' => 'string', 'setup_fee_price' => 'float', 'setup_fee_type' => 'string', 'trial' => 'boolean', 'trial_days' => 'integer', 'expire' => 'boolean', 'expire_days' => 'integer', 'payment_duration' => 'integer', 'payment_duration_type' ... ); -
do_action_ref_array( 'storeengine/ajax/product/set_price_props', [ &$price, $data ] ); -
apply_filters( 'storeengine/ajax/product/validate_price_data', true, $payload, $context ); -
apply_filters( 'storeengine/ajax/settings_fields', [ 'store_name' => 'string', 'store_email' => 'string', 'store_address_1' => 'string', 'store_address_2' => 'string', 'store_city' => 'string', 'store_state' => 'string', 'store_postcode' => 'string', 'store_country' => 'string', 'store_currency' => 'string', 'store_currency_position' => 'string', 'store_currency_thousand_separator' => 'string', 'store_currency_decimal_separator' => 'string', 's... ); -
apply_filters( 'storeengine/ajax/validate_settings', new WP_Error(), $payload ); -
do_action( 'storeengine/all_product_delivered', $order_id ); -
apply_filters( 'storeengine/analytics/product_stats', [ [ 'label' => __( 'Revenue', 'storeengine' ), 'icon' => 'money-receive', 'data' => $revenue, ], [ 'label' => __( 'Units Sold', 'storeengine' ), 'icon' => 'bag', 'data' => $units, ], [ 'label' => __( 'Orders', 'storeengine' ), 'icon' => 'invoice', 'data' => $orders, ], [ 'label' => __( 'Avg. Order Value', 'storeengine' ), 'icon' => 'chart-alt', 'data' => $aov, ], ], $product_id, $from, $to, $co... ); -
apply_filters( 'storeengine/analytics/stats', [ [ 'label' => __( 'Sales', 'storeengine' ), 'icon' => 'money-receive', 'data' => $this->get_sales_stats( $from, $to, $compare, $currency ), ], [ 'label' => __( 'Orders', 'storeengine' ), 'icon' => 'bag', 'data' => $this->get_orders_stats( $from, $to, $compare, $currency ), ], [ 'label' => __( 'Refund', 'storeengine' ), 'icon' => 'money-send', 'data' => $this->get_refund_stats( $from, $to, $com... ); -
do_action( 'storeengine/api/after_create_order', $order ); -
do_action( 'storeengine/api/after_create_renewal_order', $order ); -
do_action( 'storeengine/api/after_delete_subscription', $subs ); -
do_action( 'storeengine/api/after_update_order', $order ); -
do_action( 'storeengine/api/before_create_order', $request ); -
do_action( 'storeengine/api/before_create_renewal_order', $subscription ); -
do_action( 'storeengine/api/before_delete_order', $request ); -
do_action( 'storeengine/api/before_delete_subscription', $subscription ); -
do_action( 'storeengine/api/before_update_order', $request ); -
apply_filters( 'storeengine/api/cart/cart_schema', $schema ); -
apply_filters( 'storeengine/api/cart/get_public_cart_schema', $schema ); -
apply_filters( 'storeengine/api/checkout/totals', [ 'subtotal' => (float) $cart->get_cart_subtotal(), 'shipping' => (float) $cart->get_shipping_total(), 'tax' => (float) $cart->get_taxes_total( true, false ), 'discount' => (float) $cart->get_discount_total(), 'total' => (float) $cart->get_total( 'edit' ), ], $cart ); -
apply_filters( 'storeengine/api/customer/customer_data', [ 'id' => $customer->get_id(), 'user_registered' => $customer->get_user_registered() ? $customer->get_user_registered()->format('Y-m-d H:i:s') : null, 'name' => $customer->get_name(), 'first_name' => $customer->get_first_name(), 'last_name' => $customer->get_last_name(), 'email' => $customer->get_email(), 'email_hash' => md5( $customer->get_email() ), 'total_orders' => $customer->get_total_orde... ); -
apply_filters( 'storeengine/api/mini_cart_response', [ 'is_empty' => $cart->is_cart_empty(), 'tax_itemized' => 'itemized' === Helper::get_settings( 'tax_total_display' ), 'subtotal' => (float) $cart->get_subtotal(), 'total' => (float) $cart->get_total( 'edit' ), 'taxes_total' => (float) $cart->get_taxes_total(), 'tax_or_vat' => Countries::get_instance()->tax_or_vat(), 'tax_label_suffix' => TaxUtil::get_tax_label_suffix(), 'tax_totals' => $cart->g... ); -
do_action( 'storeengine/api/order/add_order_item', $order, $order_item, $type ); -
do_action( 'storeengine/api/order/delete_order_item', $order, $item, $item_id ); -
apply_filters( 'storeengine/api/order/item_schema', $schema ); -
apply_filters( 'storeengine/api/order/public_item_schema', $schema ); -
do_action( 'storeengine/api/order/update_order_item', $order, $item ); -
apply_filters( 'storeengine/api/settings', $settings ); -
do_action( "storeengine/api/settings/payment-gateways/update/{$gateway}", $payload ); -
do_action( "storeengine/api/settings/payment-gateways/verify/{$gateway}", $request->get_param( 'config' ) ); -
do_action( 'storeengine/api/stripe/after_native_subscription_created', $result['created'], $order ); -
apply_filters( 'storeengine/archive/filterable_product_attributes', $public ); -
apply_filters( 'storeengine/archive/product_filter_by_attribute_args', [ 'attribute_name' => $attribute_name, 'attribute_label' => $attributes[ $attribute_name ]['label'], 'field_name' => 'attribute_' . $attribute_name, 'terms' => $terms, ], $attribute_name ); -
apply_filters( 'storeengine/archive/product_filter_by_category_args', [ 'categories' => Helper::get_all_product_category_lists() ] ); -
apply_filters( 'storeengine/archive/product_filter_by_search_args', [] ); -
apply_filters( 'storeengine/archive/product_filter_by_tags_args', [ 'tags' => $tags ] ); -
apply_filters( 'storeengine/archive/product_filter_widgets', $config ); -
do_action( 'storeengine/archive/sidebar/filter_widget_after', $widget ); -
do_action( 'storeengine/archive/sidebar/filter_widget_before', $widget ); -
do_action( 'storeengine/assets/after_frontend_scripts' ); -
apply_filters( 'storeengine/attribute/rewrite_rule', [ 'slug' => Helper::get_attribute_taxonomy_name( $name ), 'with_front' => false, ] ); -
apply_filters( 'storeengine/available_payment_gateways', $_available_gateways ); -
apply_filters( 'storeengine/backend_scripts_data', array_merge( $this->_get_script_data(), [ 'first_order' => Helper::get_first_order_date( 'Y-m-d' ), 'currency_options' => Helper::get_currency_options(), 'localeConv' => localeconv(), 'countries' => Countries::init()->get_countries(), 'currencies' => $currencies, 'enable_after_purchase_redirect' => Helper::get_settings( 'enable_after_purchase_redirect', false ), 'enable_faqs' => (bool) Helper::... ); -
apply_filters( 'storeengine/backup/batch_size', 2000 ); -
apply_filters( 'storeengine/backup/import_batch_size', 500 ); -
apply_filters( 'storeengine/backup/option_patterns', [ 'storeengine%' ] ); -
apply_filters( 'storeengine/bank_icon', Helper::get_assets_url( 'images/payment-methods/bacs-alt.svg' ) ); -
apply_filters( 'storeengine/base_rounding_precision', 6 ); -
apply_filters( 'storeengine/base_tax_rates', self::find_rates( [ 'country' => Countries::init()->get_base_country(), 'state' => Countries::init()->get_base_state(), 'postcode' => Countries::init()->get_base_postcode(), 'city' => Countries::init()->get_base_city(), 'tax_class' => $tax_class, ] ), $tax_class ); -
do_action( 'storeengine/before_account_payment_methods', $has_methods ); -
do_action( 'storeengine/before_create_subscription', $order ); -
do_action( 'storeengine/before_single_product_delivered', $product_id, $order_id, $current_status, $new_status ); -
do_action( 'storeengine/before_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] ); -
do_action( 'storeengine/before_update_subscription', $order ); -
apply_filters( 'storeengine/blocks/product_sort_options', [ 'menu_order' => __( 'Custom order', 'storeengine' ), 'title' => __( 'Name: A to Z', 'storeengine' ), 'date' => __( 'Newest', 'storeengine' ), 'modified' => __( 'Recently updated', 'storeengine' ), 'ID' => __( 'Product ID', 'storeengine' ), 'title-desc' => __( 'Name: Z to A', 'storeengine' ), 'price' => __( 'Price: low to high', 'storeengine' ), 'price-desc' => __( 'Price: high to low', 'store... ); -
apply_filters( 'storeengine/books_stationery/detail_rows', $rows, $product_id ); -
apply_filters( 'storeengine/bulk_import/batch_time_budget', 20 ); -
apply_filters( 'storeengine/bulk_import/image_timeout', 15 ); -
apply_filters( 'storeengine/bulk_import/max_editable_rows', 2000 ); -
apply_filters( 'storeengine/bulk_import/max_file_bytes', 20 * MB_IN_BYTES ); -
apply_filters( 'storeengine/bulk_import/max_image_bytes', 10 * MB_IN_BYTES ); -
apply_filters( 'storeengine/calc_shipping_tax', $taxes, $price, $rates ); -
apply_filters( 'storeengine/calculate_item_totals_taxes', $total_taxes, $item, $this ); -
do_action( 'storeengine/calculate_totals', $this->cart ); -
apply_filters( 'storeengine/calculated_total', $this->get_total( 'total' ), $this->cart ); -
apply_filters( 'storeengine/can_review_product', $allowed, $product_id, $user_id, $permission ); -
apply_filters( 'storeengine/captcha/coupon_rate_limit', 10 ); -
apply_filters( 'storeengine/captcha/forms', $forms ); -
apply_filters( 'storeengine/captcha/providers', $providers ); -
apply_filters( 'storeengine/captcha/rate_limit', 20 ); -
apply_filters( 'storeengine/captcha/rest_routes', [ '#^/storeengine/v1/checkout/place$#' => 'checkout', '#^/storeengine/v1/checkout/pay-order$#' => 'pay_order', '#^/storeengine/v1/checkout/payment-intent/[^/]+$#' => static fn( WP_REST_Request $request ): string => absint( $request->get_param( 'order_id' ) ) ? 'pay_order' : 'checkout', '#^/storeengine/v1/instant-checkout/stripe-intent$#' => 'checkout', '#^/storeengine/v1/auth/login$#' => 'login... ); -
apply_filters( 'storeengine/captcha/score_threshold', min( 1.0, max( 0.0, $threshold ) ) ); -
apply_filters( 'storeengine/captcha/verify_timeout', 8 ); -
do_action( 'storeengine/cart/after_cart_totals' ); -
do_action_ref_array( 'storeengine/cart/before_add_to_cart', [ &$this, $price, $quantity, $variation_id, $variation, $item_data, ] ); -
do_action( 'storeengine/cart/before_cart_totals' ); -
do_action( 'storeengine/cart/calculate_fees', $this ); -
apply_filters( 'storeengine/cart/calculate_shipping_address', $address ); -
do_action( 'storeengine/cart/calculated_shipping' ); -
do_action( 'storeengine/cart/cart_totals_after_order_total' ); -
do_action( 'storeengine/cart/cart_totals_before_order_total' ); -
do_action( 'storeengine/cart/deleted', $rest_of_carts_ids ); -
apply_filters( 'storeengine/cart/hide_zero_taxes', true ); -
apply_filters( 'storeengine/cart/item_price', storeengine_cart()->get_product_price( $cart_item->get_price(), $cart_item->price_id, $cart_item->product_id ), $cart_item, $key ); -
apply_filters( 'storeengine/cart/item_removed_title', $title, $item ); -
apply_filters( 'storeengine/cart/item_subtotal', storeengine_cart()->get_product_subtotal( $cart_item->get_price(), $cart_item->price_id, $cart_item->product_id, $cart_item->quantity ), $cart_item, $key ); -
apply_filters( 'storeengine/cart/item_updated_title', $title, $item ); -
do_action_ref_array( 'storeengine/cart/loaded_from_session', [ &$this ] ); -
do_action_ref_array( 'storeengine/cart/loading_from_session', [ &$this, &$carts ] ); -
apply_filters( 'storeengine/cart/needs_shipping', $needs_shipping ); -
apply_filters( 'storeengine/cart/order_total_label', __( 'Total', 'storeengine' ), $cart ); -
apply_filters( 'storeengine/cart/quantity_form_args', [ 'name' => 'quantity[' . $key . ']', 'quantity' => $cart_item->quantity, ], $cart_item ); -
apply_filters( 'storeengine/cart/raw_item_price', $this->price, $this ); -
apply_filters( 'storeengine/cart/refresh_shortcodes', [ 'storeengine-order-summary-shortcode' => '[storeengine_order_summary]', 'storeengine-cart-sub-total-table-shortcode' => '[storeengine_cart_sub_total_table]', ] ); -
do_action_ref_array( 'storeengine/cart/saved', [ &$this ] ); -
do_action( 'storeengine/cart/set_cart_cookies', $set ); -
apply_filters( 'storeengine/cart/shipping_packages', [ [ 'contents' => $this->get_items_needing_shipping(), 'contents_cost' => array_sum( wp_list_pluck( $this->get_items_needing_shipping(), 'line_total' ) ), 'applied_coupons' => $this->get_coupons(), 'user' => [ 'ID' => get_current_user_id(), ], 'destination' => [ 'country' => $this->get_customer()->get_shipping_country(), 'state' => $this->get_customer()->get_shipping_state(), 'postcode' => $thi... ); -
apply_filters( 'storeengine/cart/totals_coupon_html', $coupon_html, $coupon, $discount_amount_html ); -
apply_filters( 'storeengine/cart/totals_coupon_label', sprintf( esc_html__( 'Coupon: %s', 'storeengine' ), $coupon->get_code() ), $coupon ); -
apply_filters( 'storeengine/cart/totals_fee_label', sprintf( esc_html__( '%s Fee', 'storeengine' ), $fee->name ), $fee ); -
apply_filters( 'storeengine/cart/totals_get_fees_from_cart_taxes', $fee->taxes, $fee, $this ); -
apply_filters( 'storeengine/cart/totals_get_item_tax_rates', $item_tax_rates, $item, $this->cart ); -
apply_filters( 'storeengine/cart/validated_cart_items', $new_cart_items, $this ); -
apply_filters( 'storeengine/catalog-mode/add-to-cart-replacement-args', [ 'hide_pricing' => Settings::init()->get_settings( 'disable_price' ), 'hide_add_to_cart' => self::maybe_hide_add_to_cart(), 'show_pricing' => ! Settings::init()->get_settings( 'disable_price' ), 'pricing_placeholder' => Settings::init()->get_settings( 'price_placeholder' ), 'add_to_cart_placeholder' => Settings::init()->get_settings( 'add_to_cart_placeholder' ), 'add_to_cart_button' => $button... ); -
apply_filters( 'storeengine/catalog-mode/disabled_rest_routes', [ '/storeengine/v1/cart', '/storeengine/v1/checkout', '/storeengine/v1/instant-checkout', '/storeengine/v1/embed-keys', ] ); -
apply_filters( 'storeengine/check_icon', Helper::get_assets_url( 'images/payment-methods/check-alt.svg' ) ); -
do_action( 'storeengine/checkout_page/after_submit' ); -
do_action( 'storeengine/checkout_page/before_submit' ); -
apply_filters( 'storeengine/checkout_page/no_payment_method_notice', [ 'message' => __( 'No payment methods are available right now. Please contact support and we’ll assist you in completing your payment.', 'storeengine' ), 'title' => __( 'Unable to Process Payment', 'storeengine' ), ] ); -
do_action( 'storeengine/checkout/after_pay_order', $order ); -
do_action( 'storeengine/checkout/after_place_order', $order, $payload ); -
do_action( 'storeengine/checkout/before_order_summary' ); -
storeengine/checkout/before_pay_order_payload/{$payment_method}
action Copy link Customise this hookdo_action( "storeengine/checkout/before_pay_order_payload/{$payment_method}", $payment_data, $order ); -
storeengine/checkout/before_place_order_payload/{$payment_method}
action Copy link Customise this hookdo_action( "storeengine/checkout/before_place_order_payload/{$payment_method}", $payment_data ); -
do_action( 'storeengine/checkout/billing_address/after', $customer ); -
apply_filters( 'storeengine/checkout/consent_checkboxes', [] ); -
apply_filters( 'storeengine/checkout/consent_label', $html, $key ); -
apply_filters( 'storeengine/checkout/contact_login_url', $url, $email, $redirect ); -
apply_filters( 'storeengine/checkout/cors_origin', null, $request ); -
apply_filters( 'storeengine/checkout/create_intent', null, $gateway, $order, $cart ); -
do_action( 'storeengine/checkout/create_order_coupon_item', $item, $coupon, $order ); -
do_action( 'storeengine/checkout/create_order_line_item', $item, $values, $order ); -
apply_filters( "storeengine/checkout/gateway/{$id}/data", $data, $gateway ); -
apply_filters( 'storeengine/checkout/get_checkout_url', self::maybe_force_ssl_protocol( self::get_page_permalink( 'checkout_page' ) ) ); -
do_action( 'storeengine/checkout/newsletter_opt_in', $order ); -
do_action( 'storeengine/checkout/order_processed', $order, $payload ); -
apply_filters( 'storeengine/checkout/payment_successful', $result, $order->get_id() ); -
apply_filters( 'storeengine/checkout/require_email', true, $data ); -
apply_filters( 'storeengine/checkout/required_shipping_fields', [ 'shipping_city', 'shipping_state', 'shipping_post_code' ] ); -
apply_filters( 'storeengine/checkout/resolve_session', null, $session_id, $request ); -
apply_filters( 'storeengine/checkout/thankyou_page_url', self::maybe_force_ssl_protocol(self::get_page_permalink( 'thankyou_page' )) ); -
apply_filters( 'storeengine/checkout/validate', null, $data ); -
apply_filters( 'storeengine/cod_icon', Helper::get_assets_url( 'images/payment-methods/cod-alt.svg' ) ); -
apply_filters( 'storeengine/countries_allowed_country_states', $states ); -
apply_filters( 'storeengine/countries_base_address', $base_address ); -
apply_filters( 'storeengine/countries_base_address_2', $base_address_2 ); -
apply_filters( 'storeengine/countries_base_city', Helper::get_settings( 'store_city', '' ) ); -
apply_filters( 'storeengine/countries_base_country', Helper::get_settings( 'store_country', '' ) ); -
apply_filters( 'storeengine/countries_base_postcode', Helper::get_settings( 'store_postcode', '' ) ); -
apply_filters( 'storeengine/countries_base_state', Helper::get_settings( 'store_state', '' ) ); -
apply_filters( 'storeengine/countries_estimated_for_prefix', $return, $country_code ); -
apply_filters( 'storeengine/countries_ex_tax_or_vat', $return ); -
apply_filters( 'storeengine/countries_inc_tax_or_vat', $return ); -
apply_filters( 'storeengine/countries_shipping_country_states', $states ); -
apply_filters( 'storeengine/countries_shipping_to_prefix', $return, $country_code ); -
apply_filters( 'storeengine/countries_tax_or_vat', $return ); -
apply_filters( 'storeengine/country_locale_field_selectors', [ 'address_1' => '#billing_address_1_field, #shipping_address_1_field', 'address_2' => '#billing_address_2_field, #shipping_address_2_field', 'state' => '#billing_state_field, #shipping_state_field, #calc_shipping_state_field', 'postcode' => '#billing_postcode_field, #shipping_postcode_field, #calc_shipping_postcode_field', 'city' => '#billing_city_field, #shipping_city_field, #calc_shipping_ci... ); -
apply_filters( 'storeengine/coupon_code', $value ); -
apply_filters( 'storeengine/coupon_custom_discounts_array', $this->discounts[ strtolower( $coupon->get_code() ) ], $coupon ); -
apply_filters( 'storeengine/coupon_discount_amount_html', $discount_amount_html, $coupon ); -
apply_filters( 'storeengine/coupon_get_items_to_validate', $this->get_items(), $this ); -
apply_filters( 'storeengine/coupon_is_valid', true, $coupon, $this ); -
apply_filters( 'storeengine/coupon_sort', $coupon->sort, $coupon ); -
apply_filters( 'storeengine/coupon_validate_expiry_date', time() > $coupon->get_date_expires()->getTimestamp(), $coupon, $this ); -
apply_filters( 'storeengine/coupon_validate_maximum_amount', $coupon->get_maximum_amount() < $subtotal, $coupon ); -
apply_filters( 'storeengine/coupon_validate_minimum_amount', $coupon->get_minimum_amount() > $subtotal, $coupon, $subtotal ); -
apply_filters( 'storeengine/coupon/is_valid_for_cart', true ); -
apply_filters( 'storeengine/coupon/is_valid_for_product', $is_valid, $product_id, $price_id, $object ); -
apply_filters( 'storeengine/coupon/validate_user_usage_limit', $coupon->get_usage_limit_per_user() > 0, $user_id, $coupon, $this ); -
do_action( 'storeengine/courier/auto_pushed', $order_id, $shipment_id, (string) $cfg['provider'] ); -
do_action( 'storeengine/courier/shipment_created', $id, $order_id, $provider_id ); -
apply_filters( 'storeengine/credit_card_type_labels', [ 'mastercard' => _x( 'MasterCard', 'Name of credit card', 'storeengine' ), 'visa' => _x( 'Visa', 'Name of credit card', 'storeengine' ), 'discover' => _x( 'Discover', 'Name of credit card', 'storeengine' ), 'american express' => _x( 'American Express', 'Name of credit card', 'storeengine' ), 'cartes bancaires' => _x( 'Cartes Bancaires', 'Name of credit card', 'storeengine' ), 'diners' => _x( '... ); -
do_action( 'storeengine/csv/customer_imported', $customer, $customer_data ); -
apply_filters( 'storeengine/currencies', [ 'AED' => __( 'United Arab Emirates dirham', 'storeengine' ), 'AFN' => __( 'Afghan afghani', 'storeengine' ), 'ALL' => __( 'Albanian lek', 'storeengine' ), 'AMD' => __( 'Armenian dram', 'storeengine' ), 'ANG' => __( 'Netherlands Antillean guilder', 'storeengine' ), 'AOA' => __( 'Angolan kwanza', 'storeengine' ), 'ARS' => __( 'Argentine peso', 'storeengine' ), 'AUD' => __( 'Australian dollar', ... ); -
apply_filters( 'storeengine/currency', Helper::get_settings( 'store_currency', 'USD' ) ); -
apply_filters( 'storeengine/currency_options', [ 'currency' => Formatting::get_currency(), 'currency_position' => Formatting::get_currency_position(), 'currency_thousand_separator' => Formatting::get_price_thousand_separator(), 'currency_decimal_separator' => Formatting::get_price_decimal_separator(), 'currency_decimal_limit' => Formatting::get_price_decimals(), 'rounding_precision' => Formatting::get_rounding_precision(), 'currency_symbol'... ); -
apply_filters( 'storeengine/currency_position', Helper::get_settings( 'store_currency_position' ) ); -
apply_filters( 'storeengine/currency_symbol', $symbol, $currency ); -
apply_filters( 'storeengine/currency_symbols', self::$currency_symbols ); -
apply_filters( 'storeengine/customer/edit_account_url', $edit_account_url ); -
apply_filters( "storeengine/customer/get/{$prop}", $value, $this ); -
do_action( 'storeengine/customize/palette_refreshed', $customize ); -
do_action( 'storeengine/dashboard/dashboard_content' ); -
apply_filters( 'storeengine/dashboard/edit_address_description', esc_html__( 'The following addresses will be used on the checkout page by default.', 'storeengine' ) ); -
apply_filters( 'storeengine/dashboard/edit_address_types', [ 'billing' => __( 'Billing address', 'storeengine' ), 'shipping' => __( 'Shipping address', 'storeengine' ), ], $customer_id ); -
apply_filters( 'storeengine/dashboard/edit_address/address_to_edit', $address, $load_address ); -
apply_filters( 'storeengine/dashboard/edit_address/field_value', $value, $key, $load_address ); -
apply_filters( 'storeengine/dashboard/endpoint_page_not_found', true ); -
apply_filters( "storeengine/dashboard/get_{$endpoint}_endpoint_url", $url, $value ); -
apply_filters( 'storeengine/dashboard/get_endpoint_url', $url, $endpoint, $value ); -
apply_filters( 'storeengine/dashboard/order/actions', $actions, $order ); -
apply_filters( 'storeengine/dashboard/subscription/actions', $actions, $subscription ); -
apply_filters( 'storeengine/default_address_fields', $fields ); -
apply_filters( 'storeengine/default_order_currency', $currency ); -
apply_filters( 'storeengine/delete_version_transients_limit', 1000 ); -
apply_filters( 'storeengine/discount_coupon_rounding_mode', PHP_ROUND_HALF_DOWN ); -
apply_filters( 'storeengine/display_item_meta', $html, $item, $args ); -
apply_filters( 'storeengine/downloads/attachment_filename', $filename, $file_path, $product_id ); -
apply_filters( 'storeengine/downloads/file_download_method', Helper::get_settings( 'file_download_method', 'force' ), $file_path, $product_id ); -
apply_filters( 'storeengine/email_log/next_capture_payload', [] ); -
apply_filters( 'storeengine/email_log/resend_handlers', $this->handlers ); -
apply_filters( 'storeengine/email/admin_reply_to', $header, $order, $this->email_name ); -
apply_filters( 'storeengine/email/settings_default_data', [ 'form_name' => _x( 'StoreEngine', 'System Email Form Name', 'storeengine' ), 'email_address' => get_option( 'admin_email' ), 'email_content_type' => 'html', 'header_image' => '', 'footer_text' => '<h2>Thank You</h2><p>StoreEngine</p>', 'order_confirmation' => [ 'admin' => [ 'is_enable' => true, 'email_subject' => 'New order #{order_id} placed', 'email_heading' => '{user_display_name} has plac... ); -
apply_filters( 'storeengine/email/settings_fields', self::build_fields_schema() ); -
apply_filters( 'storeengine/email/subscription_requires_manual_payment', $manual, $subscription ); -
apply_filters( 'storeengine/email/trial_ending_lead_days', self::LEAD_DAYS ); -
apply_filters( 'storeengine/embeddable_checkout/session_rate_limit', (int) Settings::init()->get_settings( 'session_rate_limit', 60 ) ); -
apply_filters( 'storeengine/empty_price_html', '', $this ); -
do_action( 'storeengine/enqueue_frontend_scripts' ); -
apply_filters( 'storeengine/eu_vat/curl_disable_ssl', false ); -
apply_filters( 'storeengine/eu_vat/validate_rate_limit', 20 ); -
apply_filters( 'storeengine/european_union_countries', $countries, $type ); -
apply_filters( 'storeengine/find_rates', $matched_tax_rates, $args ); -
apply_filters( 'storeengine/form_saved_payment_methods_html', $html, $this ); -
apply_filters( 'storeengine/format_dimensions', $dimension_string, $dimensions ); -
apply_filters( 'storeengine/format_localized_decimal', str_replace( '.', $decimal, strval( $value ) ), $value ); -
apply_filters( 'storeengine/format_localized_price', str_replace( '.', self::get_price_decimal_separator(), strval( $value ) ), $value ); -
apply_filters( 'storeengine/format_postcode', trim( $postcode ), $country ); -
apply_filters( 'storeengine/format_price_range', $price, $from, $to ); -
apply_filters( 'storeengine/format_sale_price', trim( $price ), $regular_price, $sale_price ); -
apply_filters( 'storeengine/format_weight', $weight_string, $weight ); -
apply_filters( 'storeengine/formatted_address_force_country_display', false ); -
apply_filters( 'storeengine/formatted_address_replacements', [ '{first_name}' => $args['first_name'], '{last_name}' => $args['last_name'], '{name}' => sprintf( _x( '%1$s %2$s', 'full name', 'storeengine' ), $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'], '{country}' =... ); -
apply_filters( 'storeengine/formatted_price', $price, $this ); -
apply_filters( 'storeengine/formatted_refund_amount', Formatting::price( $this->get_amount(), [ 'currency' => $this->get_currency() ] ), $this ); -
apply_filters( 'storeengine/frontend_scripts_data', array_merge( $this->_get_script_data(), [ 'checkout_page_url' => esc_url( Helper::get_checkout_url() ), 'thankyou_page_url' => esc_url( Helper::get_thankyou_page_url() ), 'payment_gateways' => $this->get_payment_method_script_data(), 'payment_data' => [], 'checkout_with_order_pay' => Formatting::string_to_bool( get_query_var( 'order_pay' ) ), 'page' => [ 'dashboard' => esc_url( Helper::get_dash... ); -
apply_filters( 'storeengine/frontend_scripts_payment_method_data', [] ); -
apply_filters( 'storeengine/frontend-dashboard/page_description', '', $path, $sub_path ); -
apply_filters( 'storeengine/frontend-dashboard/page_title', $se_page_title, $path, $sub_path ); -
apply_filters( 'storeengine/frontend/cart/remove_taxes_zero_rate_id', 'zero-rated' ); -
do_action( 'storeengine/frontend/checkout/before_place_order', $order ); -
apply_filters( 'storeengine/frontend/checkout/before_update_draft_order', $data ); -
apply_filters( 'storeengine/frontend/checkout/customer_id', get_current_user_id() ); -
do_action( 'storeengine/frontend/checkout/update_checkout', $draft_order ); -
do_action( "storeengine/frontend/dashboard_{$endpoint}_endpoint", get_query_var( 'storeengine_dashboard_sub_page' ) ); -
do_action( 'storeengine/frontend/dashboard_content' ); -
apply_filters( 'storeengine/frontend/dashboard_formatted_address', $address, $customer->get_id(), $address_type ); -
storeengine/frontend/dashboard/edit-account/process_field_{$key}
filter Copy link Customise this hookapply_filters( "storeengine/frontend/dashboard/edit-account/process_field_{$key}", $value ); -
apply_filters( 'storeengine/frontend/form_field_args', $args, $key, $value ); -
apply_filters( 'storeengine/frontend/product_archive_post_types', array( Helper::PRODUCT_POST_TYPE ) ); -
apply_filters( 'storeengine/frontend/withdraw_data_insert_args', [ 'affiliate_id' => $affiliate_id, 'payout_amount' => $withdraw_amount, 'payment_method' => $withdraw_method_type, ] ); -
apply_filters( 'storeengine/funnel-builder/accept_url', self::next_step_url( $step ), $step ); -
do_action_ref_array( "storeengine/gateway/{$gateway->id}/init", [ &$gateway ] ); -
apply_filters( "storeengine/gateway/{$this->id}_instructions", trim( $this->instructions ), $order ); -
apply_filters( "storeengine/gateway/{$this->id}/save_to_account_text", __( 'Save payment information to my account for future purchases.', 'storeengine' ) ); -
apply_filters( 'storeengine/generate_order_key', 'order_' . $key ); -
apply_filters( 'storeengine/geolocation/external_ip_address', get_transient( $transient_name ) ); -
apply_filters( 'storeengine/geolocation/geoip_apis', self::$geoip_apis ); -
apply_filters( "storeengine/geolocation/geoip_response_{$service_name}", '', $response['body'] ); -
apply_filters( 'storeengine/geolocation/ip_lookup_api_response', Formatting::clean( $response['body'] ), $service_name ); -
apply_filters( 'storeengine/geolocation/ip_lookup_apis', self::$ip_lookup_apis ); -
apply_filters( 'storeengine/geolocation/maxmind/db-path', STOREENGINE_SECURE_UPLOADS_DIR . '/maxmind/' . self::$maxmind_db . self::$maxmind_db_ext ); -
apply_filters( "storeengine/get_{$endpoint}_endpoint_url", $url, $value, $permalink ); -
apply_filters( "storeengine/get_{$key}_settings", $value, $key ); -
apply_filters( "storeengine/get_{$page}_permalink", $permalink, $page_id, $fallback ); -
apply_filters( 'storeengine/get_cart_item_data', $item_data, $cart_item ); -
apply_filters( 'storeengine/get_cart_url', self::maybe_force_ssl_protocol( self::get_page_permalink( 'cart_page' ) ) ); -
apply_filters( 'storeengine/get_checkout_payment_url', $pay_url, $this ); -
apply_filters( 'storeengine/get_country_locale', [ 'AE' => [ 'postcode' => [ 'required' => false, 'hidden' => true, ], 'state' => [ 'required' => false, ], ], 'AF' => [ 'state' => [ 'required' => false, 'hidden' => true, ], ], 'AL' => [ 'state' => [ 'label' => __( 'County', 'storeengine' ), ], ], 'AO' => [ 'postcode' => [ 'required' => false, 'hidden' => true, ], 'state' => [ 'label' => __( 'Province', 'storeengine' ), ], ], 'AT' => [ 'postco... ); -
apply_filters( 'storeengine/get_country_locale_default', $this->get_default_address_fields() ); -
apply_filters( 'storeengine/get_coupon_id_from_code', absint( current( $ids ) ), $code, $exclude ); -
apply_filters( 'storeengine/get_customer_payment_tokens', $tokens, $customer_id, $gateway_id ); -
apply_filters( 'storeengine/get_endpoint_url', $url, $endpoint, $value, $permalink ); -
apply_filters( 'storeengine/get_formatted_price_meta', $price_meta, $this ); -
apply_filters( 'storeengine/get_formatted_price_meta_html', $details_html, $this ); -
apply_filters( 'storeengine/get_item_count', $count, $item_type, $this ); -
apply_filters( 'storeengine/get_item_count_refunded', $count, $item_type, $this ); -
apply_filters( 'storeengine/get_item_downloads', $files, $this, $order ); -
apply_filters( 'storeengine/get_items_key', '', $item ); -
apply_filters( 'storeengine/get_order_item_classname', $classname, $item_type, $id ); -
apply_filters( 'storeengine/get_order_item_totals_excl_free_fees', empty( $fee->get_total() ) && empty( $fee->get_total_tax() ), $id ); -
apply_filters( 'storeengine/get_order_note', [ 'date_created' => Formatting::string_to_datetime( $data->comment_date ), 'date_created_gmt' => Formatting::string_to_datetime( $data->comment_date_gmt ), 'content' => $data->comment_content, 'is_customer_note' => (bool) $this->get_metadata( 'is_customer_note' ), 'added_by' => in_array( $data->comment_author, [ 'StoreEngine', _x( 'StoreEngine', 'System Comment Author', 'storeengine' ) ], true ... ); -
apply_filters( 'storeengine/get_order_payment_tokens', $tokens, $order_id ); -
apply_filters( 'storeengine/get_page_permalink', $permalink, $page, $page_id, $fallback ); -
apply_filters( 'storeengine/get_price_excluding_tax', $return_price, $qty, $priceId, $product ); -
apply_filters( 'storeengine/get_price_html', $this->get_formatted_price(), $this ); -
apply_filters( 'storeengine/get_price_including_tax', $return_price, $qty, $priceId, $product ); -
apply_filters( 'storeengine/get_price_suffix', $html, $this, $price, $qty ); -
apply_filters( 'storeengine/get_price_summery_html', $this->get_formatted_price(), $this ); -
apply_filters( 'storeengine/get_product_archive_search_query_args', $args, $data ); -
apply_filters( 'storeengine/get_public_batch_schema', [ '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' => 'batch', 'type' => 'object', 'properties' => [ 'create' => [ 'description' => __( 'List of created resources.', 'storeengine' ), 'type' => 'array', 'context' => [ 'view', 'edit' ], 'items' => [ 'type' => 'object', ], ], 'update' => [ 'description' => __( 'List of updated resources.', 'storeengine' ), 'type' => 'array', 'contex... ); -
apply_filters( 'storeengine/get_settings', $value, $key ); -
apply_filters( 'storeengine/get_shipping_tax', count( $this->get_taxes() ) > 0 && ! StoreEngine::init()->customer->get_is_vat_exempt() ? (float) array_sum( $this->get_taxes() ) : 0.0, $this ); -
apply_filters( 'storeengine/get_shop_url', self::maybe_force_ssl_protocol( self::get_page_permalink( 'shop_page' ) ) ); -
apply_filters( 'storeengine/get_tax_location', $location, $tax_class, $customer ); -
apply_filters( 'storeengine/get_template', $template, $template_name, $args, $template_path, $default_path ); -
apply_filters( 'storeengine/get_template_part', $template, $slug, $name ); -
apply_filters( 'storeengine/has_post_thumbnail', has_post_thumbnail( $product_id ), $product_id ); -
apply_filters( 'storeengine/has_product_gallery', $has_gallery, $product_id ); -
apply_filters( 'storeengine/incoming_webhook/action_labels', [ [ 'value' => self::AUTOMATION, 'label' => __( 'Automation / Raw (fire internal hook only)', 'storeengine' ), 'description' => __( 'Verify & log the request, then fire the storeengine/incoming_webhook/received action for no-code tools and custom code to handle.', 'storeengine' ), ], [ 'value' => 'order_update_status', 'label' => __( 'Order → Update status', 'storeengine' ), 'description' => ... ); -
apply_filters( 'storeengine/incoming_webhook/defer', false, $webhook_id, $action, $payload ); -
apply_filters( 'storeengine/incoming_webhook/handlers', [ 'order_update_status' => OrderStatus::class, 'order_mark_paid' => OrderPaid::class, 'stock_set' => StockSet::class, 'stock_adjust' => StockAdjust::class, 'customer_upsert' => CustomerUpsert::class, ] ); -
apply_filters( 'storeengine/incoming_webhook/hashing_algorithm', 'sha256', $webhook_id ); -
apply_filters( 'storeengine/incoming_webhook/ledger_cap', self::LEDGER_CAP, $webhook_id ); -
apply_filters( 'storeengine/incoming_webhook/ledger_ttl', 7 * DAY_IN_SECONDS, $webhook_id ); -
apply_filters( 'storeengine/incoming_webhook/log_cap', self::CAP, $webhook_id ); -
apply_filters( 'storeengine/incoming_webhook/log_payload_bytes', 2048, $webhook_id ); -
apply_filters( 'storeengine/incoming_webhook/max_body_size', MB_IN_BYTES, $webhook_id ); -
do_action( "storeengine/incoming_webhook/received/{$action}", $payload, $context ); -
apply_filters( 'storeengine/incoming_webhook/reject_log_window', MINUTE_IN_SECONDS, $webhook_id ); -
apply_filters( 'storeengine/incoming_webhook/timestamp_tolerance', 5 * MINUTE_IN_SECONDS, $webhook_id ); -
apply_filters( 'storeengine/instant_checkout/session/cors_origin', null, $request ); -
apply_filters( 'storeengine/instant_checkout/session/restrict_product', true, (int) $it['product_id'], $request ); -
do_action( 'storeengine/integrations/created', $this ); -
do_action( 'storeengine/integrations/loaded' ); -
apply_filters( 'storeengine/integrations/registry', $integrations ); -
apply_filters_deprecated( 'storeengine/integrations/run_integration_outside', [ false, null, $order_item ], '1.8.0', 'storeengine/integrations/maybe_run_integration' ); -
apply_filters( 'storeengine/invoice/document_types', [ 'invoice', 'packing-slip', 'delivery-note', ] ); -
apply_filters( 'storeengine/invoice/mpdf_config', [ 'mode' => 'utf-8', 'tempDir' => Helper::get_upload_dir() . '/invoice', 'fontDir' => [ HelperAddon::get_fonts_dir() . '/ttfonts' ], 'format' => $this->page_size, 'orientation' => $this->page_orientation, 'margin_left' => 0, 'margin_right' => 0, 'margin_top' => 0, 'margin_bottom' => 0, 'default_font' => 'dejavusans', 'autoScriptToLang' => true, 'autoLangToFont' => true, 'fontdata' => ( new Font... ); -
apply_filters( 'storeengine/invoice/settings_default_data', [ 'date_format' => 'd F, Y', 'logo' => null, 'invoice_mail_attachment' => [ 'order_confirmation', 'order_refund', ], 'invoice_paper_size' => 'A4', 'invoice_for_free_order' => false, 'invoice_show_product_image' => false, 'invoice_front_view' => 'preview', 'invoice_front_btn' => 'order_paid', 'invoice_date_from' => 'order_paid', 'invoice_default_note' => '', 'invoice_footer_text' => '', 'invoice... ); -
apply_filters( 'storeengine/invoice/template_path', $paths, $document_type ); -
apply_filters( 'storeengine/is_attribute_in_product_name', $is_in_name, $attribute, $name ); -
apply_filters( 'storeengine/is_bot', stripos( $ua, 'bot' ) !== false || stripos( $ua, 'spider' ) !== false || stripos( $ua, 'crawl' ) !== false, $ua ); -
apply_filters( 'storeengine/is_storeengine', self::is_shop() || self::is_product_taxonomy() || self::is_product() ); -
do_action( 'storeengine/label/assigned', $label_id, $object_type, $object_id ); -
do_action( 'storeengine/label/removed', $label_id, $object_type, $object_id ); -
apply_filters( 'storeengine/labels/object_exists', self::object_exists( $object_type, $id ), $object_type, $id ); -
apply_filters( 'storeengine/labels/object_types', [ 'order' ] ); -
apply_filters( 'storeengine/localisation_address_formats', [ '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}\n{add... ); -
apply_filters( 'storeengine/locate_template', $template, $template_name, $template_path ); -
apply_filters( 'storeengine/login_url', $login_url, $redirect, $force_reauth ); -
apply_filters( 'storeengine/logout_default_redirect_url', self::get_dashboard_url() ); -
apply_filters( 'storeengine/logout_url', $logout_url, $redirect ); -
apply_filters( 'storeengine/matched_rates', $matched_tax_rates, $tax_class, $customer ); -
apply_filters( 'storeengine/matched_tax_rates', $matched_tax_rates, $country, $state, $postcode, $city, $tax_class ); -
apply_filters( 'storeengine/membership/expiring_soon_days', 7 ); -
apply_filters( 'storeengine/membership/hide_theme_chrome_when_restricted', true, $this->restriction_data ); -
do_action( 'storeengine/models/after_create_order', $inserted_order ); -
do_action( 'storeengine/models/after_update_order', $updated_order ); -
do_action( 'storeengine/models/before_cancel_subscription', $order_data ); -
apply_filters( 'storeengine/multi_currency/country_currency_map', self::$country_currency_map ); -
apply_filters( 'storeengine/multi_currency/sanitize_settings', [ 'enabled_currencies' => $new_currencies_raw, 'geolocation_enabled' => (bool) ( $payload['geolocation_enabled'] ?? true ), 'rate_source' => sanitize_text_field( $payload['rate_source'] ?? 'frankfurter' ), 'openexchangerates_app_id' => sanitize_text_field( $payload['openexchangerates_app_id'] ?? '' ), 'exchangerate_api_key' => sanitize_text_field( $payload['exchangerate_api_key'] ?? '' ), 'curr... ); -
do_action( 'storeengine/multi_currency/switched', $previous, $currency ); -
do_action( 'storeengine/multi_vendor/after_store_page', $storeengine_vendor ); -
do_action( 'storeengine/multi_vendor/before_store_page', $storeengine_vendor ); -
do_action( 'storeengine/multi_vendor/commission_computed', $order_id ); -
do_action( 'storeengine/multi_vendor/commission_reversed', $order_id ); -
do_action( 'storeengine/multi_vendor/payout_recorded', $vendor_id, $amount ); -
do_action( 'storeengine/multi_vendor/products_assigned', $user_id, $assigned ); -
do_action( 'storeengine/multi_vendor/products_unassigned', $user_id, $unassigned, $owner_id ); -
apply_filters( 'storeengine/multi_vendor/settings/defaults', [ 'commission_rate' => 10.0, 'commission_type' => 'percent', 'auto_create_owner' => true, 'owner_visible' => false, 'min_withdraw_amount' => 50.0, 'enabled_payment_methods' => [ 'paypal', 'bank' ], 'allow_vendor_signup' => true, 'auto_complete_on_all_delivered' => false, 'badges' => [ [ 'slug' => 'verified', 'label' => 'Verified', 'color' => '#2563eb', ], [ 'slug' => 'top-rated', 'label' => 'To... ); -
do_action( 'storeengine/multi_vendor/vendor_approved', $this ); -
do_action( 'storeengine/multi_vendor/vendor_suspended', $this ); -
do_action( 'storeengine/new_customer_note', [ 'order_id' => $this->get_order_id(), 'customer_note' => $comment_data['comment_content'], ] ); -
apply_filters( 'storeengine/numeral_suffix', $number_string, $number ); -
apply_filters( 'storeengine/order_amount_item_subtotal', $subtotal, $this, $item, $inc_tax, $round ); -
apply_filters( 'storeengine/order_amount_item_tax', $tax, $item, $round, $this ); -
apply_filters( 'storeengine/order_amount_item_total', $total, $this, $item, $inc_tax, $round ); -
apply_filters( 'storeengine/order_amount_line_subtotal', $subtotal, $this, $item, $inc_tax, $round ); -
apply_filters( 'storeengine/order_amount_line_tax', is_callable( array( $item, 'get_total_tax', ) ) ? Formatting::round_tax_total( $item->get_total_tax() ) : 0, $item, $this ); -
apply_filters( 'storeengine/order_amount_line_total', $total, $this, $item, $inc_tax, $round ); -
do_action( 'storeengine/order_details/after_order_table', $order ); -
do_action( 'storeengine/order_details/before_order_table', $order ); -
apply_filters( 'storeengine/order_formatted_billing_address', $this->get_address( 'billing' ), $this ); -
apply_filters( 'storeengine/order_formatted_line_subtotal', $subtotal, $item, $this ); -
apply_filters( 'storeengine/order_formatted_shipping_address', $raw_address, $this ); -
apply_filters( 'storeengine/order_get_downloadable_items', $downloads, $this ); -
apply_filters( 'storeengine/order_get_items', $items, $this, $types ); -
apply_filters( 'storeengine/order_get_subtotal', $subtotal, $this ); -
apply_filters( 'storeengine/order_get_tax_location', $args, $this ); -
apply_filters( 'storeengine/order_get_tax_totals', $tax_totals, $this ); -
apply_filters( 'storeengine/order_get_total_discount', NumberUtil::round( $total_discount, Formatting::get_rounding_precision() ), $this ); -
apply_filters( 'storeengine/order_has_status', parent::has_status( $status ), $this, $status ); -
apply_filters( 'storeengine/order_hide_shipping_address', [ 'local_pickup' ], $this ); -
apply_filters( 'storeengine/order_hide_zero_taxes', true ); -
apply_filters( 'storeengine/order_is_created_via', $modus === $this->get_created_via(), $this, $modus ); -
apply_filters( 'storeengine/order_is_vat_exempt', 'yes' === $this->get_meta( 'is_vat_exempt' ), $this ); -
apply_filters( 'storeengine/order_item_display_meta_key', $display_key, $meta, $this ); -
apply_filters( 'storeengine/order_item_display_meta_value', trim( $display_value ), $meta, $this ); -
apply_filters( 'storeengine/order_item_get_formatted_meta_data', $formatted_meta, $this ); -
apply_filters( 'storeengine/order_item_product', $product, $this ); -
apply_filters( 'storeengine/order_needs_shipping_address', $needs_address, $hide, $this ); -
apply_filters( 'storeengine/order_number', $this->get_id(), $this ); -
apply_filters( 'storeengine/order_paid_statuses', [ 'completed', 'payment_confirmed' ] ); -
apply_filters( 'storeengine/order_shipping_to_display', $shipping, $this, $tax_display ); -
apply_filters( 'storeengine/order_shipping_to_display_shipped_via', ' <small class="shipped_via">' . sprintf( esc_html__( 'via %s', 'storeengine' ), $this->get_shipping_method() ) . '</small>', $this ); -
apply_filters( 'storeengine/order_statuses', $order_statuses ); -
apply_filters( 'storeengine/order_subtotal_to_display', $subtotal, $compound, $this ); -
apply_filters( 'storeengine/order_type_to_group', $this->item_types_to_group ); -
do_action( 'storeengine/order/after_order_details', $order ); -
do_action( 'storeengine/order/before_order_details', $order ); -
do_action( 'storeengine/order/billing_address/after', $order ); -
apply_filters( 'storeengine/order/classes', [ 'order' => OrderClass::class, 'refund_order' => Refund::class, ] ); -
apply_filters( 'storeengine/order/downloadable_permissions', $order->get_downloadable_permissions(), $order ); -
do_action( 'storeengine/order/fully_refunded', $order->get_id(), $refund->get_id() ); -
apply_filters( 'storeengine/order/get_checkout_order_received_url', $order_received_url, $this ); -
apply_filters( 'storeengine/order/get_order_note', [ 'id' => (int) $data->comment_ID, 'date_created' => $data->comment_date_gmt, 'content' => $data->comment_content, 'customer_note' => (bool) get_comment_meta( $data->comment_ID, 'is_customer_note', true ), 'added_by' => in_array( $data->comment_author, [ 'StoreEngine', __( 'StoreEngine', 'storeengine' ) ], true ) ? 'system' : $data->comment_author, 'order_id' => absint( $data->comment_post_ID )... ); -
apply_filters( 'storeengine/order/get_view_url', Helper::get_account_endpoint_url( 'orders', $this->get_id() ), $this ); -
apply_filters( 'storeengine/order/is_paid', 'paid' === $this->get_paid_status( $context ) ); -
do_action( 'storeengine/order/item_fee_after_calculate_taxes', $this, $calculate_tax_for ); -
apply_filters( 'storeengine/order/item_image_post_id', $order_item->get_product_id(), $order_item ); -
do_action( 'storeengine/order/item_meta_end', $item->get_id(), $item, $order, false ); -
do_action( 'storeengine/order/item_meta_start', $item->get_id(), $item, $order, false ); -
apply_filters( 'storeengine/order/item_needs_processing', ! $virtual_downloadable_item, $product, $this->get_id() ); -
apply_filters( 'storeengine/order/item_quantity_html', ' <strong class="product-quantity">' . sprintf( '× %s', $qty_display ) . '</strong>', $item ); -
do_action( 'storeengine/order/item_shipped', $order_id, $order_item_id, $product_id, $shipment, $new_status ); -
do_action( 'storeengine/order/order_cancelled', $order->get_id() ); -
do_action( 'storeengine/order/order_refunded', $order->get_id(), $refund->get_id() ); -
do_action( 'storeengine/order/partially_refunded', $order->get_id(), $refund->get_id(), $remaining_refund_amount - $args['amount'] ); -
do_action_ref_array( 'storeengine/order/payment_status_changed', [ &$this, $status, $old_status ] ); -
do_action( 'storeengine/order/proceed_to_next_status', $trigger, $order, $args ); -
do_action( 'storeengine/order/refund_created', $refund, $args ); -
apply_filters( 'storeengine/order/shipping_method', implode( ', ', $names ), $this ); -
apply_filters( 'storeengine/packages/applicable', $result, $cart ); -
apply_filters( 'storeengine/paddle_icon', Helper::get_assets_url( 'images/payment-methods/paddle.svg' ) ); -
apply_filters( "storeengine/payment_gateway_admin_fields_{$this->id}", array_map( [ $this, 'set_defaults' ], $this->admin_fields ) ); -
apply_filters( 'storeengine/payment_gateway_classes', [] ); -
do_action_ref_array( "storeengine/payment_gateway/{$this->id}/settings_saved", [ &$this ] ); -
apply_filters( 'storeengine/payment_gateways', $legacy ); -
apply_filters( 'storeengine/payment_method/card_brand_abbreviations', $brand_abbreviations ); -
apply_filters( 'storeengine/payment_method/card_brand_icons', $card_brand_icon ); -
apply_filters( 'storeengine/payment_method/display_my_payment_method', $payment_method_to_display, $order ); -
apply_filters( 'storeengine/payment_methods_list_item', $item, $payment_token ); -
apply_filters( 'storeengine/payment_methods_types', [ 'cc' => __( 'Credit card', 'storeengine' ), 'echeck' => __( 'eCheck', 'storeengine' ), ] ); -
apply_filters( "storeengine/payment_sanitized_fields_{$this->id}", $this->settings ); -
do_action( 'storeengine/payment_token/set_default', $token_id, $token ); -
apply_filters( 'storeengine/paypal_icon', Helper::get_assets_url( 'images/payment-methods/paypal-alt.svg' ) ); -
apply_filters( 'storeengine/placeholder/image', $image_html, $size, $dimensions ); -
apply_filters( 'storeengine/placeholder/image_src', STOREENGINE_ASSETS_URI . 'images/thumbnail-placeholder.png', $size ); -
do_action( 'storeengine/plan_details/after_plan_table', $subscription ); -
do_action( 'storeengine/plan_details/before_plan_table', $subscription ); -
apply_filters( 'storeengine/plugin_path', STOREENGINE_ROOT_DIR_PATH ); -
apply_filters( 'storeengine/preloader', Helper::get_preloader_html() ); -
apply_filters( 'storeengine/prevent_admin_access', $prevent_access ); -
apply_filters( 'storeengine/price_args', wp_parse_args( $args, [ 'ex_tax_label' => false, 'currency' => '', 'decimal_separator' => self::get_price_decimal_separator(), 'thousand_separator' => self::get_price_thousand_separator(), 'decimals' => self::get_price_decimals(), 'price_format' => self::get_price_format(), 'in_span' => true, 'aria-hidden' => false, ] ) ); -
apply_filters( 'storeengine/price_decimal_separator', Helper::get_settings( 'store_currency_decimal_separator' ) ); -
apply_filters( 'storeengine/price_decimals', Helper::get_settings( 'store_currency_decimal_limit', 2 ) ); -
apply_filters( 'storeengine/price_format', $format, $currency_pos ); -
apply_filters( 'storeengine/price_thousand_separator', Helper::get_settings( 'store_currency_thousand_separator' ) ); -
apply_filters( 'storeengine/price_trim_zeros', false ); -
apply_filters( 'storeengine/price/tax_status', $tax_status, $this ); -
apply_filters( 'storeengine/prices_include_tax', self::$prices_include_tax ); -
apply_filters( 'storeengine/privacy_page_url', self::maybe_force_ssl_protocol(self::get_page_permalink( 'privacy_page' )) ); -
apply_filters( 'storeengine/product_classes', [ 'simple' => SimpleProduct::class, 'variable' => VariableProduct::class, 'bundled' => BundledProduct::class, ] ); -
apply_filters( 'storeengine/product_coupon_types', [ 'percentage', 'fixedAmount' ] ); -
apply_filters( 'storeengine/product_faq_schema_enabled', true, $product_id ); -
apply_filters( 'storeengine/product_filter_args', $args ); -
apply_filters( 'storeengine/product_filter_markup', $markup ); -
apply_filters( 'storeengine/product/dimensions', Formatting::format_dimensions( $this->get_dimensions( false ) ), $this ); -
apply_filters( 'storeengine/product/gallery_items', $items, $product_id ); -
apply_filters( 'storeengine/product/gallery_layout', $layout ); -
apply_filters( 'storeengine/product/gallery_videos', $out, $product_id ); -
apply_filters( 'storeengine/product/get_classname', $class_names[ $product_type ] ?? null, $product_id, $product_type ); -
apply_filters( 'storeengine/product/image_html', $image, $product_id, $size, $attr, $placeholder ); -
apply_filters( 'storeengine/product/is_virtual', 'digital' === $this->get_shipping_type(), $this ); -
apply_filters( 'storeengine/product/is_visible', $this->is_visible_core(), $this->get_id() ); -
apply_filters( 'storeengine/product/needs_shipping', ! $this->is_virtual(), $this ); -
apply_filters( 'storeengine/purchase_note_order_statuses', [ 'completed', 'processing', ] ); -
apply_filters( 'storeengine/purchase_order_item_types', 'line_item' ); -
apply_filters( 'storeengine/quantity_input_autocomplete', 'off', $price ); -
apply_filters( 'storeengine/quantity_input_inputmode', $isFractional ? 'decimal' : 'numeric' ); -
apply_filters( 'storeengine/quantity_input_pattern', $isFractional ? '[0-9]*[.,]?[0-9]*' : '[0-9]*' ); -
apply_filters( 'storeengine/quantity_input_placeholder', '', $price ); -
apply_filters( 'storeengine/rate_code', $code_string, $key ); -
apply_filters( 'storeengine/rate_compound', $compound, $key ); -
apply_filters( 'storeengine/rate_label', $rate_name, $key ); -
apply_filters( 'storeengine/rate_percent', $rate_percent_value . '%', $tax_rate_id ); -
apply_filters( 'storeengine/razorpay_icon', Helper::get_assets_url( 'images/payment-methods/razorpay.svg' ) ); -
apply_filters( 'storeengine/redirect/single_search_result', true ); -
apply_filters( 'storeengine/reports/backfill_days_per_step', 7 ); -
apply_filters( 'storeengine/reports/ignored_statuses', [ 'draft', 'auto-draft', 'trash' ] ); -
apply_filters( 'storeengine/reports/order_type', $type, $order ); -
apply_filters( 'storeengine/reports/order_type_labels', [ 'one_time' => __( 'One-time', 'storeengine' ), 'subscription' => __( 'New subscription', 'storeengine' ), 'renewal' => __( 'Subscription renewal', 'storeengine' ), 'switch' => __( 'Plan switch', 'storeengine' ), ] ); -
apply_filters( 'storeengine/reports/paid_statuses', [ 'processing', 'payment_confirmed', 'completed', 'refunded' ] ); -
apply_filters( 'storeengine/reports/reserved_routes', [ 'tabs', 'status', 'rebuild', 'profit' ] ); -
apply_filters( 'storeengine/reports/status_groups', [ 'completed' => 'paid', 'processing' => 'paid', 'payment_confirmed' => 'paid', 'refunded' => 'refunded', 'pending_payment' => 'pending', 'pending' => 'pending', 'on_hold' => 'pending', 'failed' => 'failed', 'payment_failed' => 'failed', 'canceled' => 'cancelled', 'cancelled' => 'cancelled', 'pending_cancel' => 'cancelled', ] ); -
apply_filters( "storeengine/rest_{$object_type}_schema", $schema['properties'] ); -
apply_filters( 'storeengine/rest_batch_items_limit', 100, $this->get_normalized_rest_base() ); -
apply_filters( 'storeengine/rest/me/cancellable_statuses', [ 'pending_payment', 'on_hold' ], $order ); -
do_action( 'storeengine/rest/me/delete_payment_method', (int) $request->get_param( 'id' ), get_current_user_id() ); -
apply_filters( 'storeengine/rest/me/invoice_url', $order->get_view_order_url(), $order ); -
apply_filters( 'storeengine/rest/me/payment_method', [ 'id' => is_callable( [ $token, 'get_id' ] ) ? $token->get_id() : ( $token->id ?? null ), 'gateway' => is_callable( [ $token, 'get_gateway_id' ] ) ? $token->get_gateway_id() : ( $token->gateway ?? null ), 'display_name' => is_callable( [ $token, 'get_display_name' ] ) ? $token->get_display_name() : '', 'is_default' => is_callable( [ $token, 'is_default' ] ) ? (bool) $token->is_default() : fals... ); -
do_action( 'storeengine/rest/me/set_default_payment_method', (int) $request->get_param( 'id' ), get_current_user_id() ); -
apply_filters( 'storeengine/rest/product_private_meta_keys', [ '_storeengine_cost_price', '_storeengine_stock_quantity', '_storeengine_low_stock_threshold', '_storeengine_manage_stock', '_storeengine_backorders', '_storeengine_product_enable_license_creation', '_storeengine_product_integrated_plan_id', '_storeengine_paddle_tax_category', '_stripe_tax_code', ] ); -
apply_filters( 'storeengine/review_auto_approve', 'pending' !== $approval ); -
apply_filters( 'storeengine/review_gravatar_size', '80' ); -
apply_filters( 'storeengine/review_media_allowed_mimes', [ 'jpg|jpeg|jpe' => 'image/jpeg', 'gif' => 'image/gif', 'png' => 'image/png', 'webp' => 'image/webp', 'mp4|m4v' => 'video/mp4', 'mov|qt' => 'video/quicktime', 'webm' => 'video/webm', 'ogv' => 'video/ogg', ] ); -
apply_filters( 'storeengine/review_media_max_size', 25 * MB_IN_BYTES, $product_id ); -
apply_filters( 'storeengine/review/verified_statuses', $statuses ?: [ 'completed', 'processing' ] ); -
apply_filters( 'storeengine/round_tax_total', $rounded_tax, $value, $precision, TaxUtil::get_tax_rounding_mode() ); -
apply_filters( 'storeengine/sanitize_taxonomy_name', urldecode( sanitize_title( urldecode( $taxonomy ) ) ), $taxonomy ); -
apply_filters( 'storeengine/satellite/can_install', false, $key ); -
apply_filters( 'storeengine/satellite/on_worg', false, $key ); -
apply_filters( 'storeengine/saved_payment_methods_list', [], $customer_id ); -
apply_filters( 'storeengine/saved_views/screens', [ 'products', 'orders', 'customers', 'payments', 'coupons' ] ); -
apply_filters( 'storeengine/scheduled_actions/known_hooks', $hooks ); -
do_action( "storeengine/secure_download/{$dl_type}", $resource, $product ); -
apply_filters( 'storeengine/seo/bridge_providers', [ YoastProvider::class, RankMathProvider::class, AioseoProvider::class, SeopressProvider::class, ] ); -
apply_filters( 'storeengine/seo/product_brand', '', $product ); -
apply_filters( 'storeengine/seo/product_schema', $node, $product ); -
apply_filters( 'storeengine/seo/shop_data', $data ); -
apply_filters( 'storeengine/seo/shop_schema', $node ); -
apply_filters( 'storeengine/seo/term_data', $data, $term ); -
apply_filters( 'storeengine/seo/term_schema', $node, $term ); -
apply_filters( 'storeengine/settings/tools/pages', [ 'shop_page' => __( 'Store Shop', 'storeengine' ), 'cart_page' => __( 'Store Cart', 'storeengine' ), 'checkout_page' => __( 'Store Checkout', 'storeengine' ), 'thankyou_page' => __( 'Store Thank You', 'storeengine' ), 'dashboard_page' => __( 'Store Dashboard', 'storeengine' ), ] ); -
apply_filters( 'storeengine/shipping_address_map_url', 'https://maps.google.com/maps?&q=' . rawurlencode( implode( ', ', $address ) ) . '&z=16', $this ); -
apply_filters( 'storeengine/shipping_address_map_url_parts', $address, $this ); -
apply_filters( 'storeengine/shipping_enabled', 'disabled' !== Helper::get_settings( 'ship_to_countries' ) ); -
apply_filters( 'storeengine/shipping_rate_cost', $this->data['cost'], $this ); -
apply_filters( 'storeengine/shipping_rate_id', $this->data['id'], $this ); -
apply_filters( 'storeengine/shipping_rate_instance_id', $this->data['instance_id'], $this ); -
apply_filters( 'storeengine/shipping_rate_label', $this->data['label'], $this ); -
apply_filters( 'storeengine/shipping_rate_method_id', $this->data['method_id'], $this ); -
apply_filters( 'storeengine/shipping_rate_taxes', $this->data['taxes'], $this ); -
apply_filters( "storeengine/shipping/{$this->get_method_id()}_is_available", true, $package, $this ); -
do_action_ref_array( "storeengine/shipping/{$this->get_method_id()}_save_settings", [ &$this ] ); -
apply_filters( 'storeengine/shipping/add_rate', $rate, $args, $this ); -
apply_filters( 'storeengine/shipping/add_rate_args', wp_parse_args( $args, [ 'id' => $this->get_rate_id(), 'label' => '', 'cost' => '0', 'taxes' => '', 'calc_tax' => 'per_order', 'meta_data' => [], 'package' => false, 'price_decimals' => Formatting::get_price_decimals(), ] ), $this ); -
do_action( 'storeengine/shipping/after_shipping_rate', $method, $index ); -
apply_filters( 'storeengine/shipping/cart_shipping_method_full_label', $label, $method ); -
apply_filters( 'storeengine/shipping/estimate_html', __( 'Shipping options will be updated during checkout.', 'storeengine' ) ); -
apply_filters( 'storeengine/shipping/evaluate_cost_args', $args, $sum, $this ); -
apply_filters( 'storeengine/shipping/get_shipping_classes', $this->shipping_classes ); -
apply_filters( 'storeengine/shipping/get_shipping_tax', count( $this->taxes ) > 0 && ! StoreEngine::init()->customer->get_is_vat_exempt() ? (float) array_sum( $this->taxes ) : 0.0, $this ); -
do_action( 'storeengine/shipping/load_shipping_methods', $package ); -
apply_filters( 'storeengine/shipping/may_be_available_html', __( 'Please enter your address to see available shipping options.', 'storeengine' ) ); -
apply_filters( 'storeengine/shipping/method_supports', in_array( $feature, $this->supports, true ), $feature, $this ); -
apply_filters( 'storeengine/shipping/methods', $shipping_methods ); -
apply_filters( 'storeengine/shipping/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.', 'storeengine' ) ); -
apply_filters( 'storeengine/shipping/not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'storeengine' ) ); -
apply_filters( 'storeengine/shipping/package_details_array', $product_names, $package ); -
apply_filters( 'storeengine/shipping/package_name', ( ( $i + 1 ) > 1 ) ? sprintf( _x( 'Shipping %d', 'shipping packages', 'storeengine' ), ( $i + 1 ) ) : _x( 'Shipping', 'shipping packages', 'storeengine' ), $i, $package ); -
apply_filters( 'storeengine/shipping/shipping_rate_cost', $this->data['cost'], $this ); -
apply_filters( 'storeengine/shipping/shipping_rate_id', $this->data['id'], $this ); -
apply_filters( 'storeengine/shipping/shipping_rate_instance_id', $this->data['instance_id'], $this ); -
apply_filters( 'storeengine/shipping/shipping_rate_label', $this->data['label'], $this ); -
apply_filters( 'storeengine/shipping/shipping_rate_method_id', $this->data['method_id'], $this ); -
apply_filters( 'storeengine/shipping/shipping_rate_taxes', $this->data['taxes'], $this ); -
apply_filters( 'storeengine/shipping/shipping_zone_shipping_methods', $methods, $raw_methods, $allowed_classes, $this ); -
apply_filters( 'storeengine/shipping/show_shipping_calculator', $first, $i, $package ); -
apply_filters( 'storeengine/shipping/valid_location_types', [ 'postcode', 'state', 'country', 'continent', ] ); -
do_action( 'storeengine/shipping/zone_method_added', $instance_id, $type, $this->get_id() ); -
do_action( 'storeengine/shipping/zone_method_deleted', $instance_id, $method->method_id, $this->get_id() ); -
do_action( 'storeengine/shortcode/after_customer_signon' ); -
do_action( 'storeengine/shortcode/after_storeengine_dashboard' ); -
do_action( 'storeengine/shortcode/before_customer_signon' ); -
do_action( 'storeengine/shortcode/before_storeengine_dashboard' ); -
apply_filters( 'storeengine/shortcode/login_form_is_user_logged_in', is_user_logged_in() ); -
apply_filters( 'storeengine/sort_countries', true ); -
do_action( 'storeengine/store_digest/before_send', $payload, $cadence, $to ); -
apply_filters( 'storeengine/store_digest/sections', [ 'kpis' => [ 'title' => __( 'Performance', 'storeengine' ), 'is_empty' => '__return_false', ], 'top_products' => [ 'title' => __( 'Top products', 'storeengine' ), 'is_empty' => fn( $payload ) => empty( $payload['top_products'] ), ], 'attention' => [ 'title' => __( 'Orders needing attention', 'storeengine' ), 'is_empty' => fn( $payload ) => 0 === array_sum( $payload['attention'] ), ], ] ); -
do_action( 'storeengine/store_digest/sent', $payload, $cadence, $to ); -
apply_filters( 'storeengine/store_digest/test_rate_limit', 10 ); -
apply_filters( 'storeengine/store_digest/test_rate_window', HOUR_IN_SECONDS ); -
apply_filters( 'storeengine/store_digest/test_recipient_limit', 5 ); -
apply_filters( 'storeengine/stripe_icon', Helper::get_assets_url( 'images/payment-methods/stripe-alt.svg' ) ); -
apply_filters( 'storeengine/stripe_save_to_account_text', $save_label ); -
do_action( 'storeengine/stripe_tax/calculation_failed', $error ); -
do_action( 'storeengine/stripe_tax/commit_failed', $order, $tx_id ); -
apply_filters( 'storeengine/stripe_tax/customer_details', $details, $customer, $order ); -
apply_filters( 'storeengine/stripe_tax/line_items', $items, $cart ); -
apply_filters( 'storeengine/stripe_tax/paid_statuses', [ 'processing', 'completed' ] ); -
do_action( 'storeengine/stripe_tax/reversal_failed', $refund, $reversal_id ); -
apply_filters( 'storeengine/stripe_tax/show_status_to_shoppers', false ); -
do_action( 'storeengine/stripe/add_customer', $args, $response ); -
do_action( 'storeengine/stripe/add_payment_method', $user->ID, $payment_method_object ); -
do_action( 'storeengine/stripe/add_source', $this->get_id(), $cc_token, $response, $source_id ); -
apply_filters( 'storeengine/stripe/create_customer_args', $args ); -
apply_filters( 'storeengine/stripe/create_subscription_args', $params, $items, $args ); -
apply_filters( 'storeengine/stripe/customer_metadata', $metadata, $user ); -
do_action( 'storeengine/stripe/delete_source', $this->get_id(), $response ); -
do_action( 'storeengine/stripe/detach_payment_method', $this->get_id(), $response ); -
apply_filters( 'storeengine/stripe/owner_details', $details, $this ); -
do_action( 'storeengine/stripe/set_default_payment_method', $this->get_id(), $response ); -
do_action( 'storeengine/stripe/set_default_source', $this->get_id(), $response ); -
do_action( 'storeengine/stripe/update_customer', $args, $response ); -
apply_filters( "storeengine/subscription/{$order_type}_payment_completed_count", $completed_payment_count, $this, $order_type ); -
apply_filters( "storeengine/subscription/{$order_type}_payment_refunded_count", $refunded_payment_count, $this, $order_type ); -
storeengine/subscription/activation_next_payment_date_threshold
filter Copy link Customise this hookapply_filters( 'storeengine/subscription/activation_next_payment_date_threshold', 2 * HOUR_IN_SECONDS, $stored_next_payment, $old_status, $this ); -
storeengine/subscription/activation_next_payment_not_recalculated
action Copy link Customise this hookdo_action( 'storeengine/subscription/activation_next_payment_not_recalculated', $stored_next_payment, $old_status, $this ); -
do_action( 'storeengine/subscription/after_subscription_details', $subscription ); -
apply_filters( 'storeengine/subscription/all_cart_items_have_free_trial', true, $cart ); -
storeengine/subscription/before_customer_changed_to_{$new_status}
action Copy link Customise this hookdo_action( "storeengine/subscription/before_customer_changed_to_{$new_status}", $subscription ); -
storeengine/subscription/calculate_next_payment_from_last_payment
filter Copy link Customise this hookapply_filters( 'storeengine/subscription/calculate_next_payment_from_last_payment', true, $this ); -
apply_filters( "storeengine/subscription/calculated_{$date_type}_date", $date, $this ); -
apply_filters( 'storeengine/subscription/calculated_total', $total ); -
apply_filters( 'storeengine/subscription/can_be_updated_to', false, $new_status, $this ); -
apply_filters( "storeengine/subscription/can_be_updated_to_{$new_status}", $can_be_updated, $this ); -
apply_filters( 'storeengine/subscription/cart_price_string_html', $subscription_string, $subscription_details ); -
apply_filters( 'storeengine/subscription/cart_totals_order_total_html', $order_total_html, $cart ); -
do_action( 'storeengine/subscription/cart/after_grouping' ); -
do_action( 'storeengine/subscription/cart/before_grouping' ); -
apply_filters( 'storeengine/subscription/cart/contains_renewal', $contains_renewal ); -
apply_filters( 'storeengine/subscription/cart/contains_resubscribe', $contains_resubscribe, $cart ); -
apply_filters( 'storeengine/subscription/cart/needs_payment', $needs_payment, $cart ); -
apply_filters( 'storeengine/subscription/cart/shipping_up_front', ! self::all_cart_items_have_free_trial( $cart ) ); -
apply_filters( 'storeengine/subscription/cart/sign_up_fee', $sign_up_fee ); -
do_action( 'storeengine/subscription/checkout_subscription_created', $subscription, $order, $recurring_cart ); -
storeengine/subscription/checkout/create_subscription_shipping_item
action Copy link Customise this hookdo_action( 'storeengine/subscription/checkout/create_subscription_shipping_item', $item, $package_key, $package, $subscription ); -
do_action( "storeengine/subscription/customer_changed_to_{$new_status}", $subscription ); -
apply_filters( 'storeengine/subscription/date_to_display', $date_to_display, $date_type, $this ); -
apply_filters( 'storeengine/subscription/default_status', 'pending' ); -
apply_filters( 'storeengine/subscription/details_table_dates_to_display', $dates_to_display, $subscription ); -
apply_filters( 'storeengine/subscription/display_recurring_totals', $carts_with_multiple_payments >= 1 ); -
apply_filters( 'storeengine/subscription/ended_statuses', [ 'cancelled', 'trash', 'expired', 'switched', 'pending_cancel' ] ); -
do_action( 'storeengine/subscription/failed_to_create_parent_order', $parent_order, $subscription ); -
do_action( 'storeengine/subscription/failed_to_create_resubscribe_order', $resubscribe_order, $subscription ); -
do_action( 'storeengine/subscription/generated_manual_renewal_order', $renewal_order->get_id(), $subscription ); -
apply_filters( "storeengine/subscription/get_{$date_type}_date", $date, $this, $timezone ); -
apply_filters( 'storeengine/subscription/get_price_html', $subscription_string, $priceObject, $include ); -
apply_filters( 'storeengine/subscription/get_view_url', Helper::get_account_endpoint_url( 'plans', $this->get_id() ), $this ); -
apply_filters( 'storeengine/subscription/is_editable', $this->editable, $this ); -
apply_filters( 'storeengine/subscription/is_manual', $is_manual, $this ); -
apply_filters( 'storeengine/subscription/is_one_payment', $is_one_payment, $this ); -
apply_filters( 'storeengine/subscription/items_sign_up_fee', $sign_up_fee, $line_item, $this, $tax_inclusive_or_exclusive ); -
apply_filters( 'storeengine/subscription/last_order', $last_order, $this ); -
apply_filters( 'storeengine/subscription/lengths', $subscription_locale_ranges[ $locale ], $subscription_period ); -
apply_filters( 'storeengine/subscription/max_failed_payments_exceeded', false, $this ); -
apply_filters_deprecated( 'storeengine/subscription/my_payment_method', [ $payment_method_to_display, $order, ], '1.8.0', 'storeengine/payment_method/display_my_payment_method' ); -
apply_filters( 'storeengine/subscription/order_subscription_info', $thank_you_message, $order ); -
apply_filters( 'storeengine/subscription/parent_order_created', $parent_order, $subscription ); -
do_action( 'storeengine/subscription/payment_complete', $this ); -
do_action_ref_array( 'storeengine/subscription/payment_failed', [ &$this, $new_status ] ); -
apply_filters( 'storeengine/subscription/payment_gateway_supports', $payment_gateway_supports, $payment_gateway_feature, $this ); -
apply_filters( 'storeengine/subscription/payment_method_to_display', __( 'Via Manual Renewal', 'storeengine' ), $this, $context ); -
do_action_ref_array( 'storeengine/subscription/payment_refunded', [ &$this ] ); -
apply_filters( 'storeengine/subscription/payment_retry_delay_seconds', 3 * DAY_IN_SECONDS, $subscription, $failed_order ); -
apply_filters( 'storeengine/subscription/periods', [ 'day' => sprintf( _nx( '%s day', '%s days', $number, 'Subscription billing period.', 'storeengine' ), $number ), 'week' => sprintf( _nx( '%s week', '%s weeks', $number, 'Subscription billing period.', 'storeengine' ), $number ), 'month' => sprintf( _nx( '%s month', '%s months', $number, 'Subscription billing period.', 'storeengine' ), $number ), 'year' => sprintf( _nx( '%s year', '%s years', ... ); -
do_action( 'storeengine/subscription/pre_update_status', $old_status, $new_status, $this ); -
apply_filters( 'storeengine/subscription/price_html_inclusions', $include, $priceObject ); -
apply_filters( 'storeengine/subscription/price_options', $subscription_string, $priceObject, $include ); -
apply_filters( 'storeengine/subscription/product_expiration_date', $expiration_date, $price, $from_date, $subscription_length ); -
apply_filters( 'storeengine/subscription/product_first_renewal_payment_date', $first_renewal_date, $price, $from_date, $timezone ); -
apply_filters( 'storeengine/subscription/product_first_renewal_payment_time', $first_renewal_timestamp, $price, $from_date_param, $timezone ); -
apply_filters( 'storeengine/subscription/recurring_cart_end_date', Utils::get_expiration_date( $price, $recurring_cart->start_date ), $recurring_cart, $price ); -
apply_filters( 'storeengine/subscription/recurring_cart_key', $cart_key, $cart_item ); -
apply_filters( 'storeengine/subscription/recurring_cart_next_payment_date', Utils::get_first_renewal_payment_date( $price, $recurring_cart->start_date ), $recurring_cart, $price ); -
apply_filters( 'storeengine/subscription/recurring_cart_start_date', gmdate( 'Y-m-d H:i:s' ), $recurring_cart ); -
apply_filters( 'storeengine/subscription/recurring_cart_trial_end_date', 0, $recurring_cart, $price ); -
do_action( 'storeengine/subscription/recurring_coupon_exhausted', $subscription, $code ); -
apply_filters( 'storeengine/subscription/renewal_order_created', $renewal_order, $subscription ); -
do_action( 'storeengine/subscription/renewal_payment_complete', $this, $last_order ); -
do_action_ref_array( 'storeengine/subscription/renewal_payment_failed', [ &$this, $last_order ] ); -
apply_filters( 'storeengine/subscription/resubscribe_order_created', $resubscribe_order, $subscription ); -
do_action( 'storeengine/subscription/schedule_trial_end', $subscription->get_id() ); -
do_action( 'storeengine/subscription/scheduled_payment', $subscription->get_id() ); -
storeengine/subscription/scheduled_payment_{$last_order->get_payment_method()}
action Copy link Customise this hookdo_action( "storeengine/subscription/scheduled_payment_{$last_order->get_payment_method()}", $last_order ); -
storeengine/subscription/scheduled_payment_{$renewal_order->get_payment_method()}
action Copy link Customise this hookdo_action( "storeengine/subscription/scheduled_payment_{$renewal_order->get_payment_method()}", $renewal_order ); -
apply_filters( 'storeengine/subscription/short_strings', [ 'day' => _x( 'd', 'Subscription billing period shorthand.', 'storeengine' ), 'week' => _x( 'wk', 'Subscription billing period shorthand.', 'storeengine' ), 'month' => _x( 'mo', 'Subscription billing period shorthand.', 'storeengine' ), 'year' => _x( 'yr', 'Subscription billing period shorthand.', 'storeengine' ), ] ); -
storeengine/subscription/status_{$status_transition['from']}_to_{$status_transition['to']}
action Copy link Customise this hookdo_action( "storeengine/subscription/status_{$status_transition['from']}_to_{$status_transition['to']}", $this ); -
do_action( "storeengine/subscription/status_{$status_transition['to']}", $this ); -
do_action( 'storeengine/subscription/status_changed', $this->get_id(), $status_transition['from'], $status_transition['to'], $this ); -
apply_filters( 'storeengine/subscription/status_name', $status_name, $status ); -
do_action( 'storeengine/subscription/status_updated', $this, $status_transition['to'], $status_transition['from'] ); -
apply_filters( 'storeengine/subscription/statuses', self::$statuses ); -
do_action( 'storeengine/subscription/trial_ended', $subscription_id ); -
apply_filters( 'storeengine/subscription/trial_periods', [ 'day' => sprintf( _n( '%s day', 'a %s-day', $number, 'storeengine' ), $number ), 'week' => sprintf( _n( '%s week', 'a %s-week', $number, 'storeengine' ), $number ), 'month' => sprintf( _n( '%s month', 'a %s-month', $number, 'storeengine' ), $number ), 'year' => sprintf( _n( '%s year', 'a %s-year', $number, 'storeengine' ), $number ), ], $number ); -
apply_filters( 'storeengine/subscription/use_pending_cancel', true ); -
apply_filters( 'storeengine/subscription/users_change_status_link', $action_link, $subscription->get_id(), $status ); -
apply_filters( 'storeengine/subscription/validate_coupon_type', true, $coupon, $valid ); -
apply_filters( 'storeengine/subscriptions/product_expiration_date', $expiration_date, $product, $from_date ); -
apply_filters( 'storeengine/subscriptions/product_first_renewal_payment_date', $first_renewal_date, $product, $from_date, $timezone ); -
apply_filters( 'storeengine/subscriptions/product_first_renewal_payment_time', $first_renewal_timestamp, $product, $from_date_param, $timezone ); -
apply_filters( 'storeengine/subscriptions/product_trial_expiration_date', $trial_expiration_date, $product, $from_date ); -
apply_filters( 'storeengine/subscriptions/scheduled_action_args', $action_args, $date_type, $subscription ); -
apply_filters( 'storeengine/subscriptions/scheduled_action_hook', $hook, $date_type ); -
do_action( 'storeengine/tax_pack_installed', $pack['id'], $inserted, $skipped, $replaced ); -
apply_filters( 'storeengine/tax_packs/dir', STOREENGINE_ROOT_DIR_PATH . 'assets/tax-rate-packs' ); -
do_action( 'storeengine/tax_rate_added', $tax_rate_id, $tax_rate ); -
do_action( 'storeengine/tax_rate_deleted', $tax_rate_id ); -
do_action( 'storeengine/tax_rate_updated', $tax_rate_id, $tax_rate ); -
apply_filters( 'storeengine/tax_round', NumberUtil::round( $in, self::$precision ), $in ); -
apply_filters( 'storeengine/tax_rounding_mode', $mode ); -
apply_filters( 'storeengine/tax/calculator', null, $price, $rates, $price_includes_tax ); -
apply_filters( 'storeengine/tax/label_suffix', $label_suffix ); -
apply_filters( 'storeengine/tax/price_display_mode', $tax_display_mode, $customer ); -
apply_filters( 'storeengine/tax/scope_matches', $matches, $scope, $country, $state ); -
apply_filters( 'storeengine/template_path', 'storeengine/' ); -
apply_filters( 'storeengine/template/get_content', $rendered, $template_name, $args, $template_path, $default_path ); -
do_action( 'storeengine/templates/after_cart_list_table' ); -
do_action( 'storeengine/templates/after_checkout_form' ); -
do_action( 'storeengine/templates/after_course_loop_content_inner' ); -
do_action( 'storeengine/templates/after_product_loop_header_inner' ); -
do_action( 'storeengine/templates/archive_product_header' ); -
do_action( 'storeengine/templates/archive_product_sidebar_content' ); -
do_action( 'storeengine/templates/before_cart_list_table' ); -
do_action( 'storeengine/templates/before_checkout_form' ); -
do_action( 'storeengine/templates/before_product_loop_header_inner' ); -
apply_filters( 'storeengine/templates/canvas_container_class', 'storeengine-container', $post->ID ); -
do_action( 'storeengine/templates/checkout_form_fields' ); -
do_action( 'storeengine/templates/dashboard_downloads_pagination', $downloadable_permissions, (int) ceil( $downloads_total / $limit ) ); -
do_action_deprecated( 'storeengine/templates/dashboard_order_pagination', [ $query ], '1.6.9', '', 'Use storeengine_dashboard_collection_query_pagination() function instead.' ); -
do_action_deprecated( 'storeengine/templates/dashboard_subscription_pagination', [ $query ], '1.6.9', '', 'Use storeengine_dashboard_collection_query_pagination() function instead.' ); -
do_action( 'storeengine/templates/dashboard/review_form_before_submit', $product_id ); -
do_action( 'storeengine/templates/forgot-password/after' ); -
do_action( 'storeengine/templates/forgot-password/before' ); -
do_action( 'storeengine/templates/forgot-password/form_before_submit' ); -
storeengine/templates/frontend-dashboard/affiliate-payment-settings-content
filter Copy link Customise this hookapply_filters( 'storeengine/templates/frontend-dashboard/affiliate-payment-settings-content', [ 'affiliate-partner' => __( 'Affiliate History', 'storeengine' ), 'payment-settings' => __( 'Payment Settings', 'storeengine' ), ] ); -
storeengine/templates/frontend-dashboard/purchase_note_order_statuses
filter Copy link Customise this hookapply_filters( 'storeengine/templates/frontend-dashboard/purchase_note_order_statuses', $purchase_note_statuses ); -
do_action( 'storeengine/templates/frontend-dashboard/topbar/after_heading', $path, $sub_path ); -
do_action( 'storeengine/templates/frontend-dashboard/topbar/breadcrumbs', $path, $sub_path ); -
do_action( 'storeengine/templates/frontend-dashboard/topbar/right_content', $path, $sub_path ); -
do_action( 'storeengine/templates/login_form_before_submit' ); -
do_action( 'storeengine/templates/product_loop_content' ); -
do_action( 'storeengine/templates/product_loop_header' ); -
apply_filters( 'storeengine/templates/product_review_comment_form_args', $comment_form ); -
do_action( 'storeengine/templates/register/after' ); -
do_action( 'storeengine/templates/register/before' ); -
do_action( 'storeengine/templates/register/form_before_submit' ); -
do_action( 'storeengine/templates/review_after_comment_text', $comment ); -
do_action( 'storeengine/templates/review_before_comment_text', $comment ); -
do_action( 'storeengine/templates/review_display_rating', $comment ); -
do_action( 'storeengine/templates/review_thumbnail', $comment ); -
do_action( 'storeengine/templates/shortcode/after_login' ); -
do_action( 'storeengine/templates/shortcode/before_login' ); -
apply_filters( 'storeengine/templates/shortcode/dashboard', Helper::remove_tag_space( Helper::remove_line_break( ob_get_clean() ) ) ); -
apply_filters( 'storeengine/templates/shortcode/login', ob_get_clean() ); -
do_action( 'storeengine/templates/single_categories' ); -
do_action( 'storeengine/templates/single_product_content' ); -
do_action( 'storeengine/templates/single-product/after_header' ); -
do_action( 'storeengine/templates/single-product/before_header' ); -
apply_filters( 'storeengine/terms_page_url', self::maybe_force_ssl_protocol( self::get_page_permalink( 'terms_page' ) ) ); -
do_action( "storeengine/thankyou/{$order->get_payment_method()}", $order->get_id() ); -
do_action( 'storeengine/thankyou/after_order_details', $order ); -
do_action( 'storeengine/thankyou/before_order_details', $order ); -
do_action( 'storeengine/thankyou/order_info', $order ); -
apply_filters( 'storeengine/time_format', $time_format ); -
apply_filters( 'storeengine/time_periods', [ 'day' => sprintf( _n( '%s day', '%s days', $number, 'storeengine' ), number_format_i18n( $number ) ), 'week' => sprintf( _n( '%s week', '%s weeks', $number, 'storeengine' ), number_format_i18n( $number ) ), 'month' => sprintf( _n( '%s month', '%s months', $number, 'storeengine' ), number_format_i18n( $number ) ), 'year' => sprintf( _n( '%s year', '%s years', $number, 'storeengine' ), number_f... ); -
apply_filters( 'storeengine/tools/data_cleanup_tools', [] ); -
apply_filters( 'storeengine/tools/server_environment_status', [ [ 'label' => __( 'OS', 'storeengine' ), 'value' => sprintf( "%s – %s (%s)", $os, php_uname( 'r' ), php_uname( 'm' ) ), ], [ 'label' => __( 'Server Software', 'storeengine' ), 'value' => isset( $_SERVER['SERVER_SOFTWARE'] ) ? sanitize_text_field( wp_unslash( $_SERVER['SERVER_SOFTWARE'] ) ) : __( 'N/A', 'storeengine' ), ], [ 'label' => __( 'PHP Version', 'storeengine' ), 'value' => phpversion... ); -
apply_filters( 'storeengine/tools/wordpress_environment_status', [ [ 'label' => __( 'Home URL', 'storeengine' ), 'value' => get_bloginfo( 'url' ), ], [ 'label' => __( 'Site URL', 'storeengine' ), 'value' => get_bloginfo( 'wpurl' ), ], [ 'label' => __( 'WordPress Version', 'storeengine' ), 'value' => get_bloginfo( 'version' ), ], [ 'label' => __( 'StoreEngine Version', 'storeengine' ), 'value' => defined( 'STOREENGINE_VERSION' ) ? STOREENGINE_VERSION : '', ],... ); -
apply_filters( 'storeengine/units', include STOREENGINE_ROOT_DIR_PATH . 'i18n/units.php' ); -
do_action( 'storeengine/validate_coupon', $this ); -
apply_filters( 'storeengine/validate_postcode', $valid, $postcode, $country ); -
apply_filters( 'storeengine/vat_countries', array_merge( $eu_countries, $vat_countries ) ); -
do_action( 'storeengine/webhook/delivery', $http_args, $response, $duration, $http_args, $this->id ); -
apply_filters( 'storeengine/webhooks_event_groups', [ [ 'label' => __( 'Products', 'storeengine' ), 'options' => [ [ 'label' => __( 'Created', 'storeengine' ), 'value' => 'product_created', ], [ 'label' => __( 'Updated', 'storeengine' ), 'value' => 'product_updated', ], [ 'label' => __( 'Deleted', 'storeengine' ), 'value' => 'product_deleted', ], [ 'label' => __( 'Restored', 'storeengine' ), 'value' => 'product_restored', ], ], ], [ 'label' => _... ); -
apply_filters( 'storeengine/webhooks_event_labels', [ [ 'label' => __( 'Product Created', 'storeengine' ), 'value' => 'product_created', ], [ 'label' => __( 'Product Updated', 'storeengine' ), 'value' => 'product_updated', ], [ 'label' => __( 'Product Deleted', 'storeengine' ), 'value' => 'product_deleted', ], [ 'label' => __( 'Product Restored', 'storeengine' ), 'value' => 'product_restored', ], [ 'label' => __( 'Coupon Created', 'storeengine' ... ); -
apply_filters( 'storeengine/webhooks_event_listeners', [ 'product_created' => ProductCreated::class, 'product_updated' => ProductUpdated::class, 'product_deleted' => ProductDeleted::class, 'product_restored' => ProductRestored::class, 'coupon_created' => CouponCreated::class, 'coupon_updated' => CouponUpdated::class, 'coupon_deleted' => CouponDeleted::class, 'coupon_restored' => CouponRestored::class, 'order_created' => OrderCreated::class, 'order_... ); -
apply_filters( 'storeengine/webhooks_events', [ 'product_created', 'product_updated', 'product_deleted', 'product_restored', 'coupon_created', 'coupon_updated', 'coupon_deleted', 'coupon_restored', 'order_created', 'order_updated', 'order_deleted', 'order_restored', 'customer_created', 'customer_updated', 'customer_deleted', 'page_published', 'page_updated', 'page_deleted', 'post_published', 'post_updated', 'post_deleted', 'template_saved'... ); -
apply_filters( 'storeengine/webhooks/failure_threshold', 5, $id ); -
apply_filters( 'storeengine\frontend\template\loader_files', array(), $default_file ); -
do_action( 'wp_enqueue_scripts' );
Generated from StoreEngine'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: