Webworkz Plugins Documentation
Action and Filter Hooks
Filter Hooks
Name | Arguments | |
---|---|---|
mswr_initiate_stripe_payment |
array $args [key=>value, …] |
Call apply_filters() to initiate a Stripe Checkout session with the parameters you specify in $args Returns the Stripe Checkout URL or a WP_Error object. See also |
mswr_pre_stripe_checkout |
array $args [key=>value, …] |
Add/modify parameters prior to Stripe Checkout. See also |
mswr_shortcode_html |
string $html The button html. |
Modify the shortcode default html. Permitted elements are:
*Only active when using the shortcode button |
Action Hooks
Name | Arguments | mswr_transaction_complete |
array $transaction | use add_action() to listen for transaction complete |
---|---|---|
mswr_{$type} | object
Stripe $event |
receive direct notification of a Stripe webhook callbacks.
eg. a webhook callback of payment_intent.succeeded will create an action of |