Skip to content
Docs
Get RestroPress

Action

rpress_payments_page_top

Updated
On this page

Fires at the top of the Orders list page, above the filter form.

Runs after the page header and notices and before the filters form that wraps the status views, advanced filters and the table. Output notices or summary markup here.

Example#

function my_orders_page_top() {
	echo '<div class="notice notice-info inline"><p>' . esc_html__( 'Kitchen opens at 11:00.', 'my-plugin' ) . '</p></div>';
}
add_action( 'rpress_payments_page_top', 'my_orders_page_top' );

Notes#

No arguments are passed. Only runs on the list view, not on the single order or Live Orders views.

Source#

Fired from:

  • includes/admin/payments/payments-history.php (line 119), in rpress_payment_history_page()

See also#

Was this page helpful?