Skip to content
Docs
Get RestroPress

Action

rpress_cc_billing_top

Updated
On this page

Fires at the top of the billing details fieldset.

Runs in rpress_default_cc_address_fields() after the Billing Details legend and before the first address field.

Example#

function my_cc_billing_top() {
	echo '<p class="my-billing-note">' . esc_html__( 'Use the address on your card statement.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_cc_billing_top', 'my_cc_billing_top', 10, 0 );

Source#

Fired from:

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

See also#

Was this page helpful?