Skip to content
Docs
Get RestroPress

Action

rpress_after_terms

Updated
On this page

Fires after the terms and conditions text on checkout.

Runs in rpress_terms_agreement() after the agreement text inside the terms container. It only fires when the agree-to-terms option is on and the agreement text is not empty.

Example#

function my_after_terms() {
	echo '<p>' . esc_html__( 'Last updated this year.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_after_terms', 'my_after_terms', 10, 0 );

Source#

Fired from:

  • includes/checkout/template.php (line 1026), in rpress_terms_agreement()

See also#

Was this page helpful?