Action and Filter Hook Reference
This is simply a list of action and filter hooks found within the Braintree plugin files. View the source to see supported params and usage.
Template Files, Core Functions, Shortcodes, Data Stores, Core Classes
Template Files
Core Functions
Hook | Type | File(s) |
---|---|---|
wc_braintree_card_loader_options | filter | wc-braintree-functions.php |
wc_braintree_connection_settings | filter | wc-braintree-functions.php |
wc_braintree_custom_form_options | filter | wc-braintree-functions.php |
wc_braintree_environment | filter | wc-braintree-functions.php |
wc_braintree_errors_from_collection | filter | wc-braintree-functions.php |
wc_braintree_errors_from_object | filter | wc-braintree-functions.php |
wc_braintree_get_3ds_actions | filter | wc-braintree-functions.php |
wc_braintree_get_card_type_icons | filter | wc-braintree-functions.php |
wc_braintree_get_checkout_fields | filter | wc-braintree-functions.php |
wc_braintree_get_conditional_values | filter | wc-braintree-functions.php |
wc_braintree_get_currency | filter | wc-braintree-functions.php |
wc_braintree_get_customer_id | filter | wc-braintree-functions.php |
wc_braintree_get_fee_gateways | filter | wc-braintree-functions.php |
wc_braintree_get_merchant_account | filter | wc-braintree-functions.php |
wc_braintree_get_merchant_accounts | filter | wc-braintree-functions.php |
wc_braintree_get_payment_method_format | filter | wc-braintree-functions.php |
wc_braintree_order_statuses | filter | wc-braintree-functions.php |
wc_braintree_order_statuses_for_registration | filter | wc-braintree-functions.php |
wc_braintree_payment_method_formats | filter | wc-braintree-functions.php |
wc_braintree_payment_method_title | filter | wc-braintree-functions.php |
wc_braintree_payment_token_deleted_$TOKEN->GET_GATEWAY_ID | action | wc-braintree-functions.php |
wc_braintree_result_error_message | filter | wc-braintree-functions.php |
wc_braintree_save_cc_enabled | filter | wc-braintree-functions.php |
wc_braintree_save_customer_id | filter | wc-braintree-functions.php |
woocommerce_calculated_shipping | action | wc-braintree-functions.php |
Core Classes
Hook | Type | File(s) |
---|---|---|
wc_$THIS->ID_form_fields | filter | abstract-class-wc-braintree-local-payment-gateway.php, abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_add_order_success_note | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_add_payment_method_args | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_admin_options | action | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_after_checkout_validation_notice | filter | class-wc-braintree-controller-checkout.php |
wc_braintree_api_controllers | filter | class-wc-braintree-rest-api.php |
wc_braintree_api_kount_event_$NAME | action | class-wc-braintree-controller-kount.php |
wc_braintree_authorized_order_status | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_before_add_payment_method | action | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_before_process_order_$THIS->ID | action | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_can_display_street | filter | class-wc-braintree-cc-payment-gateway.php |
wc_braintree_cart_buttons_priority | filter | class-wc-braintree-field-manager.php, wc-braintree-template-functions.php |
wc_braintree_cart_controller_validate_address | filter | class-wc-braintree-controller-cart.php |
wc_braintree_cart_payment_gateways | filter | wc-braintree-template-functions.php |
wc_braintree_create_customer_args | filter | class-wc-braintree-customer-manager.php |
wc_braintree_gateway_is_available | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_gateway_token_type | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_get_$THIS->OBJECT_TYPE_json | filter | abstract-class-wc-payment-token-braintree.php |
wc_braintree_get_custom_form_fields | filter | class-wc-braintree-cc-payment-gateway.php |
wc_braintree_get_display_items | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_get_display_items_for_cart | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_get_display_items_for_order | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_get_error_messages | filter | wc-braintree-message-functions.php |
wc_braintree_get_hosted_form_styles | filter | class-wc-braintree-cc-payment-gateway.php |
wc_braintree_get_paypal_flow | filter | class-wc-braintree-paypal-payment-gateway.php |
wc_braintree_global_script_version | filter | class-wc-braintree-frontend-scripts.php |
wc_braintree_is_local_payment_available | filter | abstract-class-wc-braintree-local-payment-gateway.php |
wc_braintree_kount_api_can_change_status | filter | class-wc-braintree-controller-kount.php |
wc_braintree_localize_$CURRENT_SECTION_settings | action | class-wc-braintree-admin-assets.php |
wc_braintree_localize_script_$NAME | filter | class-wc-braintree-frontend-scripts.php |
wc_braintree_localized_paypal_params | filter | class-wc-braintree-paypal-payment-gateway.php |
wc_braintree_mini_cart_deps | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_next_token_update | filter | class-wc-braintree-payment-method-conversion.php |
wc_braintree_order_transaction_args | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_output_change_payment_method_fields | action | class-wc-braintree-field-manager.php |
wc_braintree_output_checkout_fields | action | class-wc-braintree-field-manager.php |
wc_braintree_output_display_items | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_output_product_checkout_fields | action | class-wc-braintree-field-manager.php |
wc_braintree_payment_gateways | filter | class-braintree.php |
wc_braintree_payment_token_formats | filter | abstract-class-wc-payment-token-braintree.php |
wc_braintree_paypal_button_options | filter | class-wc-braintree-paypal-payment-gateway.php |
wc_braintree_paypal_order_line_items_enabled | filter | class-wc-braintree-paypal-payment-gateway.php |
wc_braintree_paypal_supported_locales | filter | class-wc-braintree-paypal-payment-gateway.php |
wc_braintree_post_payment_processing | action | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_pre_order_add_payment_args | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_pre_order_transaction_args | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_print_scripts | filter | class-wc-braintree-frontend-scripts.php |
wc_braintree_product_payment_gateways | filter | class-wc-braintree-field-manager.php |
wc_braintree_recurring_payment_failure | action | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_recurring_payment_success | action | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_rest_process_checkout | action | class-wc-braintree-controller-checkout.php |
wc_braintree_save_order_meta | action | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_save_zero_total_order_meta | action | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_set_order_lock | filter | abstract-class-wc-braintree-local-payment-gateway.php |
wc_braintree_settings_classes | filter | class-braintree.php |
wc_braintree_shortcode_function | filter | class-wc-braintree-shortcodes.php |
wc_braintree_subscription_submit_for_settlement | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_token_payment_method_title | filter | abstract-class-wc-payment-token-braintree.php |
wc_braintree_transaction_submit_for_settlement | filter | abstract-class-wc-braintree-payment-gateway.php |
wc_braintree_update_address_error | filter | class-wc-braintree-controller-cart.php |
wc_braintree_update_address_response | filter | class-wc-braintree-controller-cart.php |
wc_braintree_update_customer_args | filter | class-wc-braintree-customer-manager.php |
wc_braintree_update_shipping_method_error | filter | class-wc-braintree-controller-cart.php |
wc_braintree_update_shipping_method_response | filter | class-wc-braintree-controller-cart.php |
wc_braintree_update_shipping_response | filter | class-wc-braintree-controller-cart.php |
wc_braintree_webhook_notification_$NOTIFICATION->KIND | action | class-wc-braintree-controller-webhook.php |
wcs_braintree_add_payment_method_args | filter | abstract-class-wc-braintree-payment-gateway.php |
wcs_braintree_after_recurring_cart_calculations | action | class-wc-braintree-subscriptions-cart.php |
wcs_braintree_billing_interval_string | filter | wcs-braintree-functions.php |
wcs_braintree_billing_intervals | filter | wcs-braintree-functions.php |
wcs_braintree_billing_periods | filter | wcs-braintree-functions.php |
wcs_braintree_billing_periods_string | filter | wcs-braintree-functions.php |
wcs_braintree_calculate_next_payment_date | filter | wcs-braintree-functions.php |
wcs_braintree_cart_recurring_tax_html | filter | wcs-braintree-functions.php |
wcs_braintree_cart_recurring_total_html | filter | wcs-braintree-functions.php |
wcs_braintree_cart_subtotal_string | filter | wcs-braintree-functions.php |
wcs_braintree_cart_tax_total_html | filter | wcs-braintree-functions.php |
wcs_braintree_cart_totals_coupon_html | filter | wcs-braintree-functions.php |
wcs_braintree_change_payment_method_success | action | class-wc-braintree-form-handler.php |
wcs_braintree_get_endpoints | filter | class-wc-braintree-query.php |
wcs_braintree_get_interval_string | filter | wcs-braintree-functions.php |
wcs_braintree_get_length_string | filter | wcs-braintree-functions.php |
wcs_braintree_get_order_item_totals | filter | class-wc-braintree-subscription.php |
wcs_braintree_get_payment_method_to_display | filter | class-wc-braintree-subscription.php |
wcs_braintree_get_price_string | filter | wcs-braintree-functions.php |
wcs_braintree_get_product_price_html | filter | wcs-braintree-functions.php |
wcs_braintree_get_recurring_cart_key | filter | wcs-braintree-functions.php |
wcs_braintree_get_subscription | filter | wcs-braintree-functions.php |
wcs_braintree_get_subscription_actions | filter | wcs-braintree-functions.php |
wcs_braintree_get_subscription_statuses | filter | wcs-braintree-functions.php |
wcs_braintree_get_subscriptions_for_order | filter | wcs-braintree-functions.php |
wcs_braintree_pre_change_payment_method_template | action | wcs-braintree-functions.php |
wcs_braintree_product_is_subscription | filter | wcs-braintree-functions.php |
wcs_braintree_product_signup_fee_name | filter | class-wc-braintree-subscriptions-cart.php |
wcs_braintree_subscription_args | filter | abstract-class-wc-braintree-payment-gateway.php |
wcs_braintree_subscription_authorize_payment_status | filter | abstract-class-wc-braintree-payment-gateway.php |
wcs_braintree_subscription_can_be_updated_to | filter | class-wc-braintree-subscription.php |
wcs_braintree_subscription_created | action | class-wc-braintree-subscriptions-checkout.php |
wcs_braintree_subscription_form_fields | filter | abstract-class-wc-braintree-payment-gateway.php |
wcs_braintree_subscription_formatted_order_total | filter | class-wc-braintree-subscription.php |
wcs_braintree_subscription_get_formatted_order_total | filter | class-wc-braintree-subscription.php |
wcs_braintree_subscription_length_string | filter | wcs-braintree-functions.php |
wcs_braintree_subscription_payment_args | filter | abstract-class-wc-braintree-payment-gateway.php |
wcs_braintree_subscription_status_$STATUS_TRANSITION[from]_$STATUS_TRANSITION[to] | action | class-wc-braintree-subscription.php |
wcs_braintree_subscription_status_$STATUS_TRANSITION[to] | action | class-wc-braintree-subscription.php |
wcs_braintree_subscription_submit_for_settlement | filter | abstract-class-wc-braintree-payment-gateway.php |
wcs_braintree_subscription_user_actions | filter | wcs-braintree-functions.php |
wcs_braintree_subscription_view_url | filter | class-wc-braintree-subscription.php |
woocommerce_settings_api_sanitized_fields_$THIS->ID | filter | wc-braintree-settings-trait.php |
woocommerce_settings_checkout_$CURRENT_SECTION | action | class-wc-braintree-admin-settings.php |
woocommerce_settings_checkout_$CURRENT_SECTION_$WC_BRAINTREE_SUBSECTION | action | class-wc-braintree-admin-settings.php |
woocommerce_update_options_checkout_$CURRENT_SECTION | action | class-wc-braintree-admin-settings.php |
woocommerce_update_options_checkout_$CURRENT_SECTION_$WC_BRAINTREE_SUBSECTION | action | class-wc-braintree-admin-settings.php |