Action
rpress_payments_page_top
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), inrpress_payment_history_page()
See also#
Was this page helpful?
