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/tools.php

    r6393 r6438  
    458458 */
    459459function bbp_get_tools_admin_pages() {
    460     return apply_filters( 'bbp_tools_admin_tabs', array(
     460
     461    // Filter & return
     462    return (array) apply_filters( 'bbp_tools_admin_tabs', array(
    461463        array(
    462464            'page' => 'bbp-repair',
Note: See TracChangeset for help on using the changeset viewer.