Better Payment 2.5.1 has 49 actions and 115 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 Better Payment fires an action
add_action( 'better_payment/woocommerce/payment_complete', function( $order, $row ) {
// Your code runs here.
}, 10, 2 );
// Change a value Better Payment is about to use
add_filter( 'better_payment/pro_enabled', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
Changes by version
2.5.0 → 2.5.1 · Nov 18, 2026 · 1 added, 0 removed
Added
All hooks
-
/** * Lite-only, exactly as before — this guard used to live in the `! * $this->pro_enabled` block in Admin::init(). It moved here when tracking was * rewired to also run on cron requests, so the single remaining caller does * not have to repeat it. */ apply_filters( 'better_payment/pro_enabled', false ); -
/** * Fires after a WooCommerce order has been marked paid from a Better Payment * transaction. */ do_action( 'better_payment/woocommerce/payment_complete', $order, $row ); -
/** * This filter is documented above where the main prompt returns. */ apply_filters( 'better_payment/ai/system_prompt', implode( "\n\n", array_filter( $parts ) ), $mode ); -
/** * Filters the meta a NEW campaign is created with. Runs on create only, never * on update, so an add-on can give new campaigns a default without ever * writing it onto an existing one. Pro starts new campaigns on its popup * payment form this way. */ apply_filters( 'better_payment/campaign/create_params', $request->get_params(), $request ); -
/** * The transaction the details screen and Pro's receipt read. */ apply_filters( 'better_payment/admin_api/transaction_details', $transaction ); -
/** * Fires before a subscription's relation rows are deleted from the admin * Subscriptions tab. An integration should stop the subscription on its own * side here — after this, Better Payment no longer tracks it. */ do_action( 'better_payment/admin/subscription_delete', $id, $source ); -
/** * Lets an e-commerce integration hydrate (or amend) its own subscription's * admin details view — including the related-order rows and the * `available_actions` its status endpoint supports. */ apply_filters( 'better_payment/admin/subscription_detail', $detail, $id, $source ); -
/** * Lets an e-commerce integration hydrate (or amend) its own subscription rows * on the admin Subscriptions tab. */ apply_filters( 'better_payment/admin/subscription_list_row', $row, $relation ); -
/** * Lets an e-commerce integration report the day one subscription started * (site-local `Y-m-d`, the list's Started column), for the date filter's All * Time. Return '' when unknown. */ apply_filters( 'better_payment/admin/subscription_start_date', $start, (int) $pair->subscription_id, $source ); -
/** * Lets an e-commerce integration report one subscription's current status for * the admin tab's summary counts. Return the raw * `_bp_subscription_status`-style value ('active', 'cancelled', 'past_due', * …) or '' when unknown. */ apply_filters( 'better_payment/admin/subscription_status', $status, (int) $pair->subscription_id, $source ); -
/** * Lets an e-commerce integration handle admin status actions on its own * subscriptions. Return true on success, a WP_Error to refuse with a message, * or leave the null default to signal the action is unsupported for this * source (a handler must check $source and leave other integrations' * subscriptions alone). */ apply_filters( 'better_payment/admin/subscription_status_action', null, $id, $source, $action ); -
/** * Filter the operations an analysis turn is allowed to suggest. */ apply_filters( 'better_payment/ai/analysis_operations', $kept, $operations, $context ); -
/** * Filter the default image applied to AI-generated photo elements. */ apply_filters( 'better_payment/ai/default_photo_url', $default ); -
/** * Filter the per-element content guidance sent to the model. */ apply_filters( 'better_payment/ai/element_content_guides', $guides ); -
/** * Filter one generation attempt's operations before donate-button placement, * user-field enforcement and element defaults are applied. The second argument * is `[ 'brief_urls' => string[] ]`, the URLs in the user's original brief — * the only ones a generated element may keep. */ apply_filters( 'better_payment/ai/generated_operations', $operations, [ 'brief_urls' => $brief_urls ] ); -
/** * Filter the AI layout blueprints. */ apply_filters( 'better_payment/ai/layout_blueprints', self::blueprints() ); -
/** * Filter the registered AI builder operations. */ apply_filters( 'better_payment/ai/operations', self::definitions() ); -
/** * Filter the Pro-widget instruction appended to a generation brief on a Pro * install. Better Payment Pro supplies it; the value is the text appended to * the brief, including its leading blank line. */ apply_filters( 'better_payment/ai/pro_generation_instruction', '' ); -
/** * Filter the "Pro widgets" system-prompt section on a Pro install. Receives * the section text (''), the mode ('generate' or 'edit') and the Pro element * types this install is offered. */ apply_filters( 'better_payment/ai/pro_widgets_prompt', '', $mode, $types ); -
/** * Filter registered AI providers. */ apply_filters( 'better_payment/ai/providers', self::$providers ); -
/** * Filter the campaign meta keys whose value the user owns outright. */ apply_filters( 'better_payment/ai/user_guarded_meta_keys', $keys ); -
/** * Filter the label settings that must not contain a value. */ apply_filters( 'better_payment/ai/value_suffixed_labels', [ 'progress_bar' => [ 'goal_label', 'donate_label' ], ] ); -
/** * Filter the campaign meta keys the AI layer may write. */ apply_filters( 'better_payment/ai/writable_meta_keys', $keys ); -
/** * Filters the payment-form settings of a campaign's own form. */ apply_filters( 'better_payment/block_actions/campaign_form_settings', null, (int) $page_id, (string) $widget_id ); -
/** * Block-specific filter for merging pro $bp_settings. */ apply_filters( 'better_payment/block/user_dashboard/bp_settings', $settings, $attributes ); -
/** * Fires inside the campaign wrapper, after its columns. Pro prints its popup * payment form here. It also fires for previews (`$is_preview`): a listener * that confirms payments or prints a live nonce must skip them. */ do_action( 'better_payment/campaign/after_columns', $campaign_id, $meta, $is_preview ); -
/** * Filters the builder payload (`window.betterPaymentCampaignData`). Add-ons * seed what their builder controls need; Pro adds its popup payment form's * gateway status. */ apply_filters( 'better_payment/campaign/builder_data', $data ); -
/** * Filters the builder script's dependencies. An add-on that extends the * builder (through the `better_payment.campaign_builder.*` JS filters on * `wp.hooks`) registers its script and adds the handle here, so it runs BEFORE * the builder reads those filters. Pro's popup payment form does. */ apply_filters( 'better_payment/campaign/builder_script_dependencies', [ 'react', 'react-dom', 'wp-element', 'wp-api-fetch', 'wp-i18n', 'wp-hooks' ] ); -
/** * Filters where the Donate Button goes. Pro's popup payment form points it at * the popup (`url` + `attributes`), and hides it (`show` false) from visitors * when the popup cannot take a payment. `attributes` replaces the link's extra * attributes (the new-tab pair by default); Lite reduces names to * `[a-z0-9_:-]`, escapes values, and drops event handlers (`on*`) and the * attributes it prints itself (`hr... */ apply_filters( 'better_payment/campaign/donate_button', $donate_button, $campaign_id, $meta, $settings, $is_preview ); -
/** * Filters the compiled element CSS of one campaign. An add-on appends its own * rules here — Pro adds the tablet and mobile values inside media queries. * The default is Lite's own CSS, unchanged. */ apply_filters( 'better_payment/campaign/element_styles', $css, $elements, $scope, $campaign_id ); -
/** * Fires wherever a campaign's stylesheets are enqueued, so an add-on can load * its own theme CSS after Lite's campaign-display stylesheet. */ do_action( 'better_payment/campaign/enqueue_styles', $context ); -
/** * Filters a campaign's meta as every reader gets it (renderer, REST, builder, * payment guard). An add-on that registers its own keys through * `better_payment/campaign/meta_fields` normalises them here — Pro's popup * payment form does. */ apply_filters( 'better_payment/campaign/meta', $result, $post_id ); -
/** * Filter the extra stylesheets linked into a campaign preview document. */ apply_filters( 'better_payment/campaign/preview_stylesheets', array() ); -
/** * Filters the placeholder values for a control type Lite does not know (an * add-on's own — Pro's gradient and hover effect). Return `[ '{{VALUE}}' => * '...' ]`, or null to print nothing. Lite still checks the answer: * placeholder names only, string values with no `{ } ; <`. */ apply_filters( 'better_payment/campaign/style_tokens', null, $control, $raw ); -
/** * Extra selectors for a Payment Form style control, as a comma-separated list. */ apply_filters( 'better_payment/elementor/widget/pro_layout_selector', '', $control_id, $this ); -
/** * Extra selector => declaration pairs for a Payment Form style control. */ apply_filters( 'better_payment/elementor/widget/pro_layout_selectors', [], $control_id, $this ); -
/** * One e-mail item row per product the payment bought. */ apply_filters( 'better_payment/email/product_rows', array(), $form_fields_info ); -
/** * Filters the extra hosts that may call the MCP endpoint from a browser. */ apply_filters( 'better_payment/mcp/allowed_origin_hosts', self::CLIENT_HOSTS ); -
/** * Filters the capability required by each MCP tool. */ apply_filters( 'better_payment/mcp/capability_map', array() ); -
/** * Filters the IP the MCP rate limits count against. */ apply_filters( 'better_payment/mcp/client_ip', $ip ); -
/** * Filters the connection instructions shown on the settings screen. */ apply_filters( 'better_payment/mcp/connect_guide', $clients, $endpoint ); -
/** * Filters whether the MCP customer-lookup tools are available. */ apply_filters( 'better_payment/mcp/customer_lookup_enabled', true ); -
/** * Filters whether Better Payment's MCP server runs. */ apply_filters( 'better_payment/mcp/enabled', $enabled ); -
/** * Filters the credentials `gateway_status` requires per gateway and mode. */ apply_filters( 'better_payment/mcp/gateway_credential_keys', $keys ); -
/** * Filters the instructions sent to an MCP client on initialize. */ apply_filters( 'better_payment/mcp/instructions', $instructions ); -
/** * Filters the longest JSON-RPC batch the endpoint answers. */ apply_filters( 'better_payment/mcp/max_batch', self::MAX_BATCH ); -
/** * Filters the largest MCP request body the endpoint will parse. */ apply_filters( 'better_payment/mcp/max_body_bytes', self::MAX_BODY_BYTES ); -
/** * Filters whether the MCP OAuth authorization server runs. */ apply_filters( 'better_payment/mcp/oauth_enabled', $enabled ); -
/** * Filters the well-known MCP client names the consent page checks a client's * redirect host against. Keys are matched case-insensitively inside the * registered name; a host matches itself and its subdomains. */ apply_filters( 'better_payment/mcp/oauth_known_clients', array( 'Claude' => array( 'claude.ai', 'claude.com', 'anthropic.com' ), 'Anthropic' => array( 'claude.ai', 'claude.com', 'anthropic.com' ), 'ChatGPT' => array( 'chatgpt.com', 'openai.com' ), 'OpenAI' => array( 'chatgpt.com', 'openai.com' ), 'Cursor' => array( 'cursor.com', 'cursor.sh' ), 'VS Code' => array( 'vscode.dev', 'visualstudio.com', 'github.com' ), 'Visual Studio' => array( 'vscode.dev'... ); -
/** * Filters the MCP rate limits. A limit below 1 turns that limit off. */ apply_filters( 'better_payment/mcp/rate_limit', array( 'failures' => self::FAILURES, 'registrations' => self::REGISTRATIONS, 'window' => self::WINDOW, ) ); -
/** * Filters the substrings that mark a settings key as a credential. */ apply_filters( 'better_payment/mcp/secret_markers', $markers ); -
/** * Filters the classes that contribute MCP tools. */ apply_filters( 'better_payment/mcp/tool_providers', self::built_in_providers() ); -
/** * Filters the assembled MCP tool list. */ apply_filters( 'better_payment/mcp/tools', $tools ); -
/** * Filters the settings keys an MCP client may write. */ apply_filters( 'better_payment/mcp/writable_settings_keys', $keys ); -
/** * Filters whether a campaign is its own form page: its form posts the campaign * itself as `page_id`. False by default — a campaign has no form of its own * unless an add-on gives it one (Pro's popup payment form, in popup mode * only). Only asked when the posted page IS the campaign; the campaign's * minimum and suggested-amounts rule apply either way. */ apply_filters( 'better_payment/payment_guard/campaign_is_own_form', false, $post_id, $meta ); -
/** * Filters whether a campaign that Better Payment would accept a donation for * refuses it. */ apply_filters( 'better_payment/payment_guard/campaign_refusal', null, $campaign ); -
/** * Filters the server-side price of a product a Better Payment form sells. */ apply_filters( 'better_payment/payment_guard/product_price', $price, $platform, $product_id ); -
/** * Filters how many payment attempts one visitor may start on one form. */ apply_filters( 'better_payment/payment_rate_limit', array( 'limit' => self::LIMIT, 'window' => self::WINDOW, ) ); -
/** * Filters the IP address payment attempts are counted against. */ apply_filters( 'better_payment/payment_rate_limit/client_ip', $ip ); -
/** * Filters the known e-commerce subscription sources. */ apply_filters( 'better_payment/subscription/order_relation_sources', $sources ); -
/** * Filters the subscription order relation types. */ apply_filters( 'better_payment/subscription/order_relation_types', $types ); -
/** * Product names the thank-you page lists under "Purchase Details". */ apply_filters( 'better_payment/success_page/product_names', $product_names, is_array( $settings ) ? $settings : [] ); -
/** * Filter the usage payload before it is attached to the tracker request. */ apply_filters( 'better_payment/usage_data', $data ); -
/** * Filters the delay before the "subscription cancelled" customer email is * sent. Return 0 to send immediately. */ apply_filters( 'better_payment/woocommerce/cancelled_email_delay', HOUR_IN_SECONDS ); -
/** * Filters how many due subscriptions one cron run charges. Each one is a * Stripe round-trip, so the batch is bounded; a shop with more due * subscriptions than this catches up over the following runs. */ apply_filters( 'better_payment/woocommerce/renewal_batch_size', 20 ); -
/** * Filters the parent-order statuses a due subscription is renewed from. A * subscription order parked in any other status (on-hold, refunded, a custom * status) is skipped in silence, which is why this is filterable rather than * fixed. */ apply_filters( 'better_payment/woocommerce/renewal_parent_statuses', array( 'wc-processing', 'wc-completed' ) ); -
/** * Filters the roles the subscription role sync refuses to replace. */ apply_filters( 'better_payment/woocommerce/role_sync_protected_roles', array( 'administrator', 'editor', 'shop_manager' ) ); -
/** * Filters whether a cart may hold only one subscription and nothing else. * Turning this off does NOT make the engine multi-subscription — see * cart_composition_error() for what actually breaks. */ apply_filters( 'better_payment/woocommerce/single_subscription_cart', true ); -
/** * Fires after a Better Payment subscription is activated on an order. */ do_action( 'better_payment/woocommerce/subscription_activated', $order ); -
/** * Fires after a Better Payment subscription is cancelled. */ do_action( 'better_payment/woocommerce/subscription_cancelled', $order ); -
better_payment/woocommerce/subscription_manual_renewal_requested
action Copy link Customise this hook/** * Fires after a manual renewal order is created and invoiced. */ do_action( 'better_payment/woocommerce/subscription_manual_renewal_requested', $parent, $renewal ); -
/** * Fires after a Better Payment subscription is reactivated. */ do_action( 'better_payment/woocommerce/subscription_reactivated', $order ); -
/** * Fires after an automatic subscription renewal charge fails. */ do_action( 'better_payment/woocommerce/subscription_renewal_failed', $parent, $renewal, $reason ); -
/** * Fires when a renewal is held because Stripe is mis-configured. */ do_action( 'better_payment/woocommerce/subscription_renewal_held', $parent, $renewal, $reason ); -
/** * Fires after a subscription renewal order is created (before it is charged). */ do_action( 'better_payment/woocommerce/subscription_renewal_order_created', $renewal, $parent ); -
/** * Fires after a subscription renewal payment settles. */ do_action( 'better_payment/woocommerce/subscription_renewed', $parent, $renewal_order ); -
/** * Filters whether the current customer is eligible for a subscription * product's free trial. */ apply_filters( 'better_payment/woocommerce/trial_eligible', $eligible, $product_id, $user_id ); -
better_payment/woocommerce/unsupported_subscription_product_types
filter Copy link Customise this hook/** * Filters the product types a Better Payment subscription cannot use. */ apply_filters( 'better_payment/woocommerce/unsupported_subscription_product_types', array( 'variable', 'grouped', 'external' ) ); -
/** * Fires after reset a specific settings key */ do_action( "eb_after_reset_{$key}_settings", $prev_value ); -
/** * Fires after save a specific settings key */ do_action( "eb_after_save_{$key}_settings", $value, $prev_value ); -
/** * Filter the generated CSS before it's written to file. */ apply_filters( 'eb_blocks_generated_css', $css, $style_object ); -
/** * Hooks assets for enqueue in frontend */ do_action( 'eb_frontend_assets', $this->style_dir, $this->style_url ); -
apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
apply_filters( 'better_payment/elementor/editor/get_layout_content', $better_payment_form_content, $settings, $this, $data ); -
do_action( 'better_payment/elementor/editor/manage_response_webhook', $this, $settings ); -
do_action( 'better_payment/payment_confirmed', (int) $row->id ); -
do_action( 'better_payment/widget/fundraising-campaign/update_tab_content', $settings ); -
apply_filters( 'better_payment/elementor/editor/get_script_depends', [ 'better-payment-common-script', 'better-payment' ] ); -
apply_filters( 'better_payment/elementor/editor/get_style_depends', [ 'better-payment-el', 'bp-icon-front', 'better-payment-style', 'better-payment-common-style', 'better-payment-admin-style' ] ); -
apply_filters( 'better_payment/user_api/subscription_row', $row, $form_fields_info, $txn ); -
do_action( 'woocommerce_email_header', $email_heading, $email ); -
do_action( 'better_payment_admin_notices' ); -
apply_filters( 'better_payment_option_default_settings', array( 'better_payment_settings_general_general_paypal' => 'yes', 'better_payment_settings_general_general_stripe' => 'yes', 'better_payment_settings_general_general_paystack' => '', 'better_payment_settings_general_general_user_dashboard' => 'yes', 'better_payment_settings_general_general_fundraising_campaign' => 'yes', 'better_payment_settings_general_general_email' => 'yes', 'better_payment_... ); -
apply_filters( 'better_payment_settings_multiline_keys', array( 'better_payment_settings_ai_system_prompt', 'better_payment_settings_general_email_message_admin', 'better_payment_settings_general_email_message_customer', ) ); -
apply_filters( 'better_payment/ai/element_type_aliases', [ 'heading' => 'campaign_title', 'title' => 'campaign_title', 'header' => 'campaign_title', 'headline' => 'campaign_title', 'campaigntitle' => 'campaign_title', 'paragraph' => 'campaign_description', 'text' => 'campaign_description', 'story' => 'campaign_description', 'description' => 'campaign_description', 'content' => 'campaign_description', 'body' => 'campaign_description', 'richtext' => 'c... ); -
apply_filters( 'better_payment/ai/setting_key_aliases', $aliases ); -
apply_filters( 'better_payment/block/editor_block_data', $block_data ); -
apply_filters( 'better_payment/block/user_dashboard/editor_block_data', $block_data ); -
apply_filters( 'better_payment/block/user_dashboard/enrich_user_subscriptions', $raw_subscriptions ); -
apply_filters( 'better_payment/block/user_dashboard/enrich_user_transactions', $raw_transactions ); -
do_action( 'better_payment/block/user_dashboard/wp_enqueue_scripts' ); -
apply_filters( 'better_payment/campaign_categories', $defaults ); -
apply_filters( 'better_payment/campaign_elements', self::$elements ); -
apply_filters( 'better_payment/campaign_templates', $templates ); -
apply_filters( 'better_payment/campaign/cpt_args', [ 'label' => __( 'Campaigns', 'better-payment' ), 'labels' => [ 'name' => __( 'Campaigns', 'better-payment' ), 'singular_name' => __( 'Campaign', 'better-payment' ), 'add_new' => __( 'Add New', 'better-payment' ), 'add_new_item' => __( 'Add New Campaign', 'better-payment' ), 'edit_item' => __( 'Edit Campaign', 'better-payment' ), 'new_item' => __( 'New Campaign', 'better-payment' ), 'view_item'... ); -
apply_filters( 'better_payment/campaign/default_video_url', self::DEFAULT_VIDEO_URL ); -
apply_filters( 'better_payment/campaign/meta_fields', [ '_bpc_goal_amount' => 'floatval', '_bpc_end_date' => 'sanitize_text_field', '_bpc_suggested_amounts' => [ self::class, 'sanitize_amounts_array' ], '_bpc_allow_custom_amount' => 'absint', '_bpc_minimum_amount' => 'floatval', '_bpc_form_page_id' => 'absint', '_bpc_fields_layout' => [ self::class, 'sanitize_json' ], '_bpc_status' => [ CampaignLifecycle::class, 'normalize_status' ], '_bpc_close_o... ); -
apply_filters( "better_payment/campaign/render_element_{$type}", '', $ctx ); -
apply_filters( 'better_payment/campaign/stats', array_merge( $raw, [ 'goal' => $goal, 'progress' => $progress, 'days_remaining' => $days_remaining, ] ), $campaign_id ); -
apply_filters( 'better_payment/db/user_transactions_type_where', null, $type ); -
do_action( 'better_payment/elementor/editor/campaign_pro_sections', $this ); -
do_action( 'better_payment/elementor/editor/campaign_pro_updates_section', $this ); -
better_payment/elementor/editor/campaign_pro_updates_section_style
action Copy link Customise this hookdo_action( 'better_payment/elementor/editor/campaign_pro_updates_section_style', $this ); -
better_payment/elementor/editor/layouts_form_settings_amount_list_section
action Copy link Customise this hookdo_action( 'better_payment/elementor/editor/layouts_form_settings_amount_list_section', $this ); -
do_action( 'better_payment/elementor/editor/layouts_form_settings_section', $this ); -
better_payment/elementor/editor/layouts_form_settings_transaction_details_section
action Copy link Customise this hookdo_action( 'better_payment/elementor/editor/layouts_form_settings_transaction_details_section', $this ); -
better_payment/elementor/editor/layouts_payment_settings_section
action Copy link Customise this hookdo_action( 'better_payment/elementor/editor/layouts_payment_settings_section', $this ); -
apply_filters( 'better_payment/elementor/editor/paypal_button_html', $paypal_button_html, $widget_id, $settings ); -
apply_filters( 'better_payment/elementor/editor/paystack_button_html', $paystack_button_html, $widget_id, $settings ); -
do_action( 'better_payment/elementor/editor/pro_layout_amount_list_control', $this, $repeater ); -
better_payment/elementor/editor/pro_layout_amount_list_toggle_control
action Copy link Customise this hookdo_action( 'better_payment/elementor/editor/pro_layout_amount_list_toggle_control', $this ); -
apply_filters( 'better_payment/elementor/editor/pro_layout_control_condition', $condition, $control_id, $this ); -
better_payment/elementor/editor/pro_layout_form_fields_controls
action Copy link Customise this hookdo_action( 'better_payment/elementor/editor/pro_layout_form_fields_controls', $this, $form_fields_repeater ); -
do_action( 'better_payment/elementor/editor/pro_layout_form_title_controls', $this ); -
do_action( 'better_payment/elementor/editor/pro_layout_payment_controls', $this ); -
do_action( 'better_payment/elementor/editor/pro_layout_product_controls', $this ); -
apply_filters( 'better_payment/elementor/editor/stripe_button_html', $stripe_button_html, $widget_id, $settings ); -
better_payment/elementor/editor/success_message_pay_method_text_after
action Copy link Customise this hookdo_action( 'better_payment/elementor/editor/success_message_pay_method_text_after', $this ); -
apply_filters( 'better_payment/elementor/user_dashboard/bp_settings', $bp_settings, $settings ); -
better_payment/elementor/user_dashboard/content_settings_no_items_after
action Copy link Customise this hookdo_action( 'better_payment/elementor/user_dashboard/content_settings_no_items_after', $this ); -
better_payment/elementor/user_dashboard/dashboard_content_recent_transactions_after
action Copy link Customise this hookdo_action( 'better_payment/elementor/user_dashboard/dashboard_content_recent_transactions_after', $widgetObj ); -
better_payment/elementor/user_dashboard/dashboard_content_view_all_after
action Copy link Customise this hookdo_action( 'better_payment/elementor/user_dashboard/dashboard_content_view_all_after', $widgetObj ); -
better_payment/elementor/user_dashboard/editor/get_script_depends
filter Copy link Customise this hookapply_filters( 'better_payment/elementor/user_dashboard/editor/get_script_depends', [ 'better-payment-common-script', 'better-payment', 'bp-dashboard-pagination' ] ); -
better_payment/elementor/user_dashboard/editor/get_style_depends
filter Copy link Customise this hookapply_filters( 'better_payment/elementor/user_dashboard/editor/get_style_depends', [ 'better-payment-el', 'bp-icon-front', 'better-payment-style', 'better-payment-common-style', 'better-payment-admin-style', 'bp-dashboard-pagination-style' ] ); -
better_payment/elementor/user_dashboard/layout_settings_header_after
action Copy link Customise this hookdo_action( 'better_payment/elementor/user_dashboard/layout_settings_header_after', $this ); -
apply_filters( 'better_payment/elementor/user_dashboard/pro_selectors', array(), $control_id ); -
do_action( 'better_payment/elementor/user_dashboard/table_style_after', $this ); -
apply_filters( 'better_payment/elementor/widget/campaign_layouts', [ 'layout-1' => 'Layout 1', 'layout-2' => 'Layout 2', 'layout-3' => 'Layout 3' ] ); -
apply_filters( 'better_payment/elementor/widget/layout_template', '', $layout, $settings, $this ); -
apply_filters( 'better_payment/elementor/widget/layouts', [ 'layout-1' => 'Layout 1', 'layout-2' => 'Layout 2', 'layout-3' => 'Layout 3' ] ); -
apply_filters( 'better_payment/elementor/widget/user-dashboard/layouts', [ 'layout-1' => 'Layout 1', ] ); -
apply_filters( 'better_payment/export/form_fields_info', $formatted, $raw_fields ); -
apply_filters( 'better_payment/import/form_fields_info', $better_form_fields, $record, $decoded ); -
apply_filters( 'better_payment/mcp/client_identities', $identities ); -
apply_filters( 'better_payment/mcp/docs_url', self::DOCS_URL ); -
apply_filters( 'better_payment/mcp/oauth_redirect_schemes', array( 'cursor', 'vscode', 'vscode-insiders', 'windsurf' ) ); -
do_action( 'better_payment/payment/success', $order_id, (int) $results->id, 'paystack' ); -
apply_filters( 'better_payment/pro_provides', array() ); -
do_action( 'better_payment/stripe_payment/success', $action_data ); -
apply_filters( 'better_payment/transaction/payment_type', $label, $form_fields_info ); -
apply_filters( 'better_payment/user_api/enrich_subscription_row', $row ); -
better_payment/widget/user-dashboard/dashboard_tab_analytics_reports
action Copy link Customise this hookdo_action( 'better_payment/widget/user-dashboard/dashboard_tab_analytics_reports', $settings, $bp_settings ); -
better_payment/widget/user-dashboard/dashboard_tab_recurring_subscriptions
action Copy link Customise this hookdo_action( 'better_payment/widget/user-dashboard/dashboard_tab_recurring_subscriptions', $settings, $bp_settings ); -
better_payment/widget/user-dashboard/dashboard_tab_split_subscriptions
action Copy link Customise this hookdo_action( 'better_payment/widget/user-dashboard/dashboard_tab_split_subscriptions', $settings, $bp_settings ); -
do_action( 'better_payment/widget/user-dashboard/subscriptions_tab', $settings, $bp_settings ); -
do_action( 'eb_after_save_all_settings', $settings, $prev_value ); -
apply_filters( "eb_fixed_frontend_styles/{$blockname}", file_get_contents( $dir ), $blockname ); -
apply_filters( 'eb_generated_css_frontend_deps', array( ) ); -
apply_filters( 'https_local_ssl_verify', false ); -
apply_filters( "wpins_form_text_{$this->plugin_name}", $form );
Generated from Better Payment'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: