Skip to content
Docs
Get RestroPress

Action

rpress_admin_order_preview_end

Updated
On this page

Fires at the end of the order preview modal content.

Runs inside the order preview template after the ordered items and before the modal footer. Output is part of the shared template.

Example#

function my_order_preview_end() {
	echo '<p class="description">' . esc_html__( 'Preview only.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_admin_order_preview_end', 'my_order_preview_end' );

Notes#

No arguments are passed.

Source#

Fired from:

  • includes/admin/payments/class-payments-table.php (line 3097), in RPRESS_Payment_History_Table::order_preview_template()

See also#

Was this page helpful?