Skip to content
Docs
Get RestroPress

Action

rpress_render_receipt_in_browser_after

Updated
On this page

Fires after the receipt content on the in-browser receipt page.

Runs inside the receipt wrapper element on the standalone receipt page rendered by the rpress_view_receipt action, after the receipt shortcode output and before wp_footer.

Example#

function my_receipt_page_after() {
	echo '<p class="my-receipt-footer">' . esc_html( get_bloginfo( 'name' ) ) . '</p>';
}
add_action( 'rpress_render_receipt_in_browser_after', 'my_receipt_page_after', 10, 0 );

Source#

Fired from:

  • includes/emails/template.php (line 299), in rpress_render_receipt_in_browser()

See also#

Was this page helpful?