Skip to content
Docs
Get RestroPress

Action

rpress_customer_card_bottom

Updated
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#

ParameterTypeDescription
$customerRPRESS_CustomerThe 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), in rpress_customers_view()

See also#

Was this page helpful?