ControlledChaos of Controlled Chaos Design
8/9/2016 - 6:39 PM

BuddyPress: do something if user id ==

BuddyPress: do something if user id ==

<?php

if ( bp_displayed_user_id() == 1 ) {
// Do something
}

?>

Do something by user ID

BuddyPress Snippet