Skip to:
Content
Pages
Categories
Search
Top
Bottom

Any tag for seeing if it is an admin page?


  • nutsmuggler
    Member

    @nutsmuggler

    Hello folks.

    I am quite experienced in WP plugin development, but I am new to bbpress.

    I am trying to port a WP plugin of mine to bbpress.

    The first thing I need to do is to detect whether the loaded page is in the admin are or not. IN WP I’d use is_admin(). I na├»vely tried it in BBpress, no luck.

    Any suggestion?

    Cheers,

    Davide

Viewing 1 replies (of 1 total)

  • nutsmuggler
    Member

    @nutsmuggler

    Oops, just 2 mins after posting I found a list of BBpress functions, featuring is_bb_admin()

    Well, hope this monologue will be helpful to other developers :)

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.