Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/05/2025 02:27:53 AM (6 months ago)
Author:
johnjamesjacoby
Message:

Tools - Code Improvement: docs & code formatting improvements.

Props johnjamesjacoby, noruzzaman.

Fixes #3659.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/search/functions.php

    r7333 r7380  
    22
    33/**
    4  * bbPress Search Functions
     4 * bbPress Search Functions.
    55 *
    66 * @package bbPress
     
    1414
    1515/**
    16  * Run the search query
     16 * Run the search query.
    1717 *
    1818 * @since 2.3.0 bbPress (r4579)
    1919 *
    20  * @param mixed $new_args New arguments
    21  * @return bool False if no results, otherwise if search results are there
     20 * @param mixed $new_args New arguments.
     21 * @return bool False if no results, otherwise if search results are there.
    2222 */
    2323function bbp_search_query( $new_args = array() ) {
     
    3636
    3737/**
    38  * Return the search query args
     38 * Return the search query arguments.
    3939 *
    4040 * @since 2.3.0 bbPress (r4579)
    4141 *
    42  * @return array Query arguments
     42 * @return array Query arguments.
    4343 */
    4444function bbp_get_search_query_args() {
     
    5555
    5656/**
    57  * Redirect to search results page if needed
     57 * Redirect to search results page if needed.
    5858 *
    5959 * @since 2.4.0 bbPress (r4928)
    6060 *
    61  * @return If a redirect is not needed
     61 * @return If a redirect is not needed.
    6262 */
    6363function bbp_search_results_redirect() {
     
    8484
    8585/**
    86  * Return an array of search types
     86 * Return an array of search types.
    8787 *
    8888 * @since 2.6.0 bbPress (r6903)
     
    101101 * @since 2.6.0 bbPress (r6903)
    102102 *
    103  * @param string $query_arg s|fs|ts|rs
     103 * @param string $query_arg s|fs|ts|rs.
    104104 *
    105105 * @return mixed
Note: See TracChangeset for help on using the changeset viewer.