Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Changing Email Content based on Situation (Taxonomy) in Code

@bgorbett

Participant

I actually meant using get_the_terms. I am not returning any terms when using this in single-bp-email.php:
global $post;
$terms = get_the_terms( get_the_ID(), ‘bp-email-type’ );

Is there a better way to determine which situation (term) is being called?

Skip to toolbar