Skip to content
Docs
Get RestroPress

Action

rpress_payment_history_search

Updated
On this page

Fires inside the Orders list search box, before the search field.

Runs within the search-box paragraph above the search label and input. Output extra search controls here.

Example#

function my_orders_search_extra() {
	echo '<span class="description">' . esc_html__( 'Search by name, email or order ID', 'my-plugin' ) . '</span>';
}
add_action( 'rpress_payment_history_search', 'my_orders_search_extra' );

Notes#

No arguments are passed.

Source#

Fired from:

  • includes/admin/payments/class-payments-table.php (line 1199), in RPRESS_Payment_History_Table::search_box()
Was this page helpful?