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/extend/buddypress/groups.php

    r7360 r7361  
    304304        }
    305305
    306         // Filter & return
     306        /**
     307         * Filters the Group Forum Topic meta capabilities.
     308         *
     309         * @since 2.2.0 bbPress (r4434)
     310         *
     311         * @param array  $caps    Capabilities for the meta capability.
     312         * @param string $cap     Capability name.
     313         * @param int    $user_id User ID.
     314         * @param array  $args    Arguments.
     315         */
    307316        return (array) apply_filters( 'bbp_map_group_forum_topic_meta_caps', $caps, $cap, $user_id, $args );
    308317    }
Note: See TracChangeset for help on using the changeset viewer.