Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/27/2017 05:04:31 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Tools: Add //Filter & return note for future discovery of missing filter documentation.

Also adjust some type-casting on filtered results.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/settings.php

    r6435 r6438  
    2121 */
    2222function bbp_admin_get_settings_sections() {
     23
     24    // Filter & return
    2325    return (array) apply_filters( 'bbp_admin_get_settings_sections', array(
    2426        'bbp_settings_users' => array(
     
    8385 */
    8486function bbp_admin_get_settings_fields() {
     87
     88    // Filter & return
    8589    return (array) apply_filters( 'bbp_admin_get_settings_fields', array(
    8690
     
    17551759        }
    17561760
    1757         // Allow plugins to further filter the output
     1761        // Filter & return
    17581762        return apply_filters( 'bbp_get_form_option', $value, $option );
    17591763    }
Note: See TracChangeset for help on using the changeset viewer.