gform_stripe_post_include_api

gform_stripe_post_include_api

DescriptionsUsageParametersExamplesPlacementSinceSource Code

Descriptions
The 「gform_stripe_post_include_api」 action in the Gravity Forms Stripe Add-On allows further actions to be performed after the Stripe API is initialized.
Usage
add_action( 'gform_stripe_post_include_api', 'your_function_name' );

Parameters
There are no parameters.
Examples
This example writes to a log after the API is initialized.
add_action( 'gform_stripe_post_include_api', 'log_it' );
function log_it(){
GFLogging::log_message( 'gravityformsstripe', __METHOD__ . '(): Stripe API Initialized. Performing further actions.', 1 );
}

Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Stripe version 2.0.10.
Source Code
This filter is located in GFStripe::include_stripe_api() in gravityformsstripe/class-gf-stripe.php.

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註