Developer Filter wpcrm_system_invoice_from_name

Table of Contents

The filter wpcrm_system_invoice_from_name allows you to customize the “from” name shown to recipients of your invoices. This would be the name (not email address) that is shown in the recipient’s inbox when they receive the email notifying them about the invoice.

By default this filter returns the Business Name set in WP-CRM System > Dashboard > Invoicing tab > Business Name setting (towards the bottom) if it is set. If this is not set, it may return something like “WordPress”, or another value depending on your site’s settings.

Usage #

add_filter( 'wpcrm_system_invoice_from_name', 'custom_from_name' );
function custom_from_name( $from_name ) {
    return 'The name you want to display';
}