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

    r6398 r6438  
    540540     */
    541541    private function get_allowed_notice_toggles() {
     542
     543        // Filter & return
    542544        return apply_filters( 'bbp_admin_forums_allowed_notice_toggles', array(
    543545            'opened',
     
    554556     */
    555557    private function get_allowed_action_toggles() {
     558
     559        // Filter & return
    556560        return apply_filters( 'bbp_admin_forums_allowed_action_toggles', array(
    557561            'bbp_toggle_forum_close'
     
    588592        }
    589593
     594        // Filter & return
    590595        return apply_filters( 'bbp_admin_forums_column_headers', $columns );
    591596    }
Note: See TracChangeset for help on using the changeset viewer.