Action
rpress_customer_delete_bottom
On this page
Fires after the customer Delete section has been printed.
Runs at the end of rpress_customers_delete_view() after the form closes. Use it to print content below the move-to-trash card.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$customer | RPRESS_Customer | The customer being viewed. |
Example#
function my_customer_delete_bottom( $customer ) {
echo '<p class="description">' . esc_html__( 'Trashed customers can be restored.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_customer_delete_bottom', 'my_customer_delete_bottom', 10, 1 );
Source#
Fired from:
includes/admin/customers/customers.php(line 844), inrpress_customers_delete_view()
See also#
Was this page helpful?
