Skip to:
Content
Pages
Categories
Search
Top
Bottom

Why is this code in the sidebar?

  • @jaja-1

    Member

    Just curious what this code is doing?


    php if ( bp_is_active( 'messages' ) ) :
    php bp_message_get_notices(); /* Site wide notices to all users */
    php endif;

    It reads like this,

    If messages function is active inside BuddyPress => YES => Show the number of new inbox messages at the sidebar.
    Is that correct or ?

  • The topic ‘Why is this code in the sidebar?’ is closed to new replies.
Skip to toolbar