Reply To: Conditional check for activate page
@sbrajesh thank you! Adding exit(0); nailed it!
bp_is_current_component( ‘activate’ ) and ‘activate’ == bp_is_current_component() and bp_is_activation_page() and is_page('activate') all work by themselves – it was my function that was missing an exit statement that was the problem. Thanks to @sbrajesh it’s all sorted now.
@sbrajesh i do wonder the reason for the exit statement? doesn’t the function get exited automatically? no real issue though as the problem is resolved.