Skip to:
Content
Pages
Categories
Search
Top
Bottom

bb_is_ functions to call

  • Hi!

    After working with WP for so long, I assumed (naively) that there were similar functions to replace beauties like is_single(), is_category() etc., with something like bb_is_forum() blah blah.

    Is there anywhere this is documented? Like, how do I find out if I’m on the page looking at a topic, or a message inside that topic?

    Thanks!

    Richard

Viewing 3 replies - 1 through 3 (of 3 total)

  • _ck_
    Participant

    @_ck_

    bbPress has similar functions to detect what page you are on, ie. is_front() is_forum() is_topic() is_view() etc.

    do a search of the code for “function is_”


    chrishajer
    Participant

    @chrishajer

    Quick search:

    function is_role

    function is_serialized

    function is_serialized_string

    function is_tag

    function is_tag

    function is_user_favorite

    function is_front

    function is_forum

    function is_bb_tags

    function is_bb_tag

    function is_topic

    function is_bb_feed

    function is_bb_search

    function is_bb_profile

    function is_bb_favorites

    function is_view

    function is_bb_stats

    function is_bb_admin

    function is_wp_error

    function is_write_query

    function is_search

    function is_installed

    function is_posted

    Thanks, much appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar