pmpro_checkout_confirm_password
The Paid Memberships Pro pmpro checkout confirm password hook.
Description
Parameters (1)
- 0. $true (bool) =>
true
- The true.
Usage
- To run the hook, copy the example below.
- $true = apply_filters( 'pmpro_checkout_confirm_password', $true );
- if ( !empty( $true ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the pmpro_checkout_confirm_password callback
- function filter_pmpro_checkout_confirm_password( $true ) {
- // make filter magic happen here...
- return $true;
- };
- // add the filter
- add_filter( 'pmpro_checkout_confirm_password', 'filter_pmpro_checkout_confirm_password', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'pmpro_checkout_confirm_password', 'filter_pmpro_checkout_confirm_password', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /pages/checkout.php
- $pmpro_checkout_confirm_password = apply_filters("pmpro_checkout_confirm_password", true);