Thanks Kiran, you rock! I’d much prefer to use the php snippet.
I basically need to do similar to what this snippet did but on the invoice confirmation:
https://wpgeodirectory.com/support/topic/customizing-confirmation-messages/
I need to replace the _e in this line:
<div class="wpinv-receipt-message"><?php _e( 'Thank you!', 'invoicing' ); ?></div>
depending on the CPT. something like:
if CPT = gd_apartments
return "Thank you! Your apartment will be reviewed and you will receive an email when it's approved. You may now add floorplans to your apartment. Add Floorplans "
if CPT = gd_business
return "Thank you! Your business will be reviewed and you will receive an email when it's approved."
if CPT = gd_product
return "Thank you! Your product will be reviewed and you will receive an email when it's approved."