Skip to content
Docs
Get RestroPress

Action

rpress_customers_table_top

Updated
On this page

Fires on the Customers list screen after the page heading, before the table form.

Runs in rpress_customers_list() right after the header and divider, above the search and filter form. Use it to print notices or summary content above the customers table.

Example#

function my_customers_table_top() {
	echo '<div class="notice notice-info inline"><p>' . esc_html__( 'Customer data is synced nightly.', 'my-plugin' ) . '</p></div>';
}
add_action( 'rpress_customers_table_top', 'my_customers_table_top' );

Source#

Fired from:

  • includes/admin/customers/customers.php (line 80), in rpress_customers_list()

See also#

Was this page helpful?