Skip to content

Deprecated Hooks

FluentCart deprecates a hook through WordPress's apply_filters_deprecated() / do_action_deprecated() for at least one release before removing it outright. While deprecated, the old name still fires (usually forwarding into the new name's default value) so existing integrations keep working, but it logs a deprecation notice and will stop firing in a future release.

This page tracks that lifecycle: which hooks are currently deprecated and still fire today, and which have been removed and no longer fire at all. It's updated as hooks move through that lifecycle — check back here before assuming an old hook name still works.

Deprecated — still fires, not yet removed

HookDeprecated inReplacementScheduled removalDocs
fluent_cart/transaction/receipt_page_url (PayPal redirect only)1.6.2fluent_cart/payment/success_urlNot yet scheduledOrders & Payments

This is not a deprecation of the hook itself

fluent_cart/transaction/receipt_page_url remains fully live for its original purpose — building a transaction's receipt page URL (see Orders & Payments). Only one specific caller is deprecating its use of that hook: PayPal's getConfirmRedirectUrl() currently reuses it as a stand-in for the post-payment redirect URL, and that narrow use is what's migrating to the more purpose-built fluent_cart/payment/success_url. If you hook fluent_cart/transaction/receipt_page_url for anything other than a PayPal redirect, this doesn't affect you.

Source: app/Modules/PaymentMethods/PayPalGateway/PayPal.php:741

Removed — as of v1.4.3

All 25 hooks below were deprecated in 1.3.16 and have their bridges fully removed as of v1.4.3 — the old name no longer fires, with no notice and no fallback. Use the replacement listed.

Core (22)

#Removed hookReplacement
1fluent-cart/order_statusesfluent_cart/order_statuses
2fluent-cart/editable_order_statusesfluent_cart/editable_order_statuses
3fluent-cart/editable_customer_statusesfluent_cart/editable_customer_statuses
4fluent-cart/shipping_statusesfluent_cart/shipping_statuses
5fluent-cart/transaction_statusesfluent_cart/transaction_statuses
6fluent-cart/editable_transaction_statusesfluent_cart/editable_transaction_statuses
7fluent-cart/available_currenciesfluent_cart/available_currencies
8fluent-cart/coupon_statusesfluent_cart/coupon_statuses
9fluent-cart/util/countriesfluent_cart/util/countries
10fluentcart/transaction/receipt_page_urlfluent_cart/transaction/receipt_page_url
11fluent-cart/after_render_payment_method_{$route}fluent_cart/after_render_payment_method_{$route}
12fluent_cart_stripe_idempotency_keyfluent_cart/stripe_idempotency_key
13fluent_cart_stripe_request_bodyfluent_cart/stripe_request_body
14fluent_cart_form_disable_stripe_connectfluent_cart/form_disable_stripe_connect
15fluent_cart_stripe_appearancefluent_cart/stripe_appearance
16fluent_cart_template_part_contentfluent_cart/template_part_content
17fluent_cart_template_part_content_{$slug}fluent_cart/template_part_content_{$slug}
18fluent_cart_template_part_outputfluent_cart/template_part_output
19fluent_cart_template_part_output_{$slug}fluent_cart/template_part_output_{$slug}
20fluent_cart_ipn_url_{$slug}fluent_cart/ipn_url_{$slug}
21fluent_cart/afrer_checkout_page_startfluent_cart/after_checkout_page_start
22fluent_cart_payment_method_list_classfluent_cart/payment_method_list_class

Find these in Orders & Payments, Cart & Checkout, Customers & Subscriptions, Settings & Configuration, and Integrations & Advanced.

Pro (3)

#Removed hookReplacement
23fluentcart/sanitize_user_metafluent_cart/sanitize_user_meta
24fluent_cart/license/santized_urlfluent_cart/license/sanitized_url
25fluent_cart_sl_encoded_package_urlfluent_cart_sl/encoded_package_url

Find these in Pro Modules.

FluentCart developer documentation