Skip to content
Docs
Get RestroPress

Action

rpress_cc_billing_bottom

Updated
On this page

Fires at the bottom of the billing details fieldset.

Runs in rpress_default_cc_address_fields() after the state field and before the fieldset closes.

Example#

function my_cc_billing_bottom() {
	echo '<input type="hidden" name="my_billing_source" value="checkout" />';
}
add_action( 'rpress_cc_billing_bottom', 'my_cc_billing_bottom', 10, 0 );

Source#

Fired from:

  • includes/checkout/template.php (line 638), in rpress_default_cc_address_fields()

See also#

Was this page helpful?