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

    r6424 r6438  
    642642     */
    643643    private function get_allowed_notice_toggles() {
     644
     645        // Filter & return
    644646        return apply_filters( 'bbp_admin_replies_allowed_notice_toggles', array(
    645647            'spammed',
     
    658660     */
    659661    private function get_allowed_action_toggles() {
     662
     663        // Filter & return
    660664        return apply_filters( 'bbp_admin_replies_allowed_action_toggles', array(
    661665            'bbp_toggle_reply_spam',
     
    684688        );
    685689
     690        // Filter & return
    686691        return apply_filters( 'bbp_admin_replies_column_headers', $columns );
    687692    }
Note: See TracChangeset for help on using the changeset viewer.