Skip to content
Docs
Get RestroPress

Action

rpress_after_cc_fields

Updated
On this page

Fires after the default credit card fieldset.

Runs at the end of rpress_get_cc_form(). Core hooks rpress_default_cc_address_fields() here to print the billing details; it is removed when no gateway is enabled.

Example#

function my_after_cc_fields() {
	echo '<p class="my-cc-secure">' . esc_html__( 'Payments are encrypted.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_after_cc_fields', 'my_after_cc_fields', 20, 0 );

Source#

Fired from:

  • includes/checkout/template.php (line 473), in rpress_get_cc_form()

See also#

Was this page helpful?