2 years, 3 months ago
I am guessing that is the problem since neither method are returning any ID.
I actually meant using get_the_terms. I am not returning any terms when using this in single-bp-email.php:
$terms = get_the_terms( get_the_ID(), ‘bp-email-type’ );
Is there a better way to determine which situation (term) is being called?
Is it possible to determine which taxonomy is being used in single-bp-email.php using get_terms? It seems like I had it working, but now the email sends content based on all situations.
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service