Action
rpress_customer_tools_top
On this page
Fires before the Tools section of the customer screen is printed.
Runs at the start of rpress_customer_tools_view(), above the card that holds customer maintenance tools. Use it to print content above that card.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$customer | RPRESS_Customer | The customer being viewed. |
Example#
function my_customer_tools_top( $customer ) {
echo '<p class="description">' . esc_html__( 'Review the customer record before running tools.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_customer_tools_top', 'my_customer_tools_top', 10, 1 );
Source#
Fired from:
includes/admin/customers/customers.php(line 848), inrpress_customer_tools_view()
See also#
Was this page helpful?
