Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/16/2025 11:04:14 PM (3 months ago)
Author:
johnjamesjacoby
Message:

Tools - Code Improvement: Document some filters.

This commit improves the code documentation of several filters across the codebase.

Props johnjamesjacoby, narenin, sirlouen.

In trunk, for 2.7.

See #3110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/ajax.php

    r6871 r7361  
    3838        $ajaxurl  = add_query_arg( array( 'bbp-ajax' => 'true' ), $base_url );
    3939
    40         // Filter & return
     40        /**
     41         * Filters the URL used for theme-side bbPress AJAX requests.
     42         *
     43         * @since 2.3.0 bbPress (r4543)
     44         *
     45         * @param string $ajaxurl The URL for bbPress AJAX requests.
     46         * @return string The filtered URL for bbPress AJAX requests.
     47         */
    4148        return apply_filters( 'bbp_get_ajax_url', $ajaxurl );
    4249    }
Note: See TracChangeset for help on using the changeset viewer.