Action
rpress_customer_tools_bottom
On this page
Fires after the Tools section of the customer screen has been printed.
Runs at the end of rpress_customer_tools_view(). Use it to add your own tool card or buttons after the built-in tools.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$customer | RPRESS_Customer | The customer being viewed. |
Example#
function my_customer_tools_bottom( $customer ) {
echo '<div class="rp-card"><p>' . esc_html( sprintf( 'Custom tools for customer #%d', $customer->id ) ) . '</p></div>';
}
add_action( 'rpress_customer_tools_bottom', 'my_customer_tools_bottom', 10, 1 );
Source#
Fired from:
includes/admin/customers/customers.php(line 874), inrpress_customer_tools_view()
See also#
Was this page helpful?
