Action
rpress_customer_card_bottom
On this page
Fires at the bottom of the customer detail view after the notes, tools and delete sections.
Runs after the notes, tools and delete sections have been printed. Use it to append content at the very end of the customer detail view.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$customer | RPRESS_Customer | The customer being viewed. |
Example#
function my_customer_card_bottom( $customer ) {
echo '<p class="description">' . esc_html__( 'End of customer record.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_customer_card_bottom', 'my_customer_card_bottom', 10, 1 );
Source#
Fired from:
includes/admin/customers/customers.php(line 621), inrpress_customers_view()
See also#
Was this page helpful?
