Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/16/2012 08:19:21 AM (13 years ago)
Author:
jmdodd
Message:

Introduce dedicated forum search.

  • Search forums, topics, and replies.
  • Add new search functions, including bbp_has_search_results().
  • Provide templates for search results.
  • Fixes #1575.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/core/functions.php

    r4323 r4579  
    436436
    437437/**
    438  * Return the enique ID for all edit rewrite rules (forum|topic|reply|tag|user)
     438 * Return the unique ID for all edit rewrite rules (forum|topic|reply|tag|user)
    439439 *
    440440 * @since bbPress (r3762)
     
    446446
    447447/**
     448 * Return the unique ID for all search rewrite rules
     449 *
     450 * @since bbPress (r4579)
     451 *
     452 * @return string
     453 */
     454function bbp_get_search_rewrite_id() {
     455    return bbpress()->search_id;
     456}
     457
     458/**
    448459 * Return the unique ID for user topics rewrite rules
    449460 *
Note: See TracChangeset for help on using the changeset viewer.