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/admin/classes/class-bbp-admin.php

    r7360 r7361  
    692692        }
    693693
    694         // Filter & return
     694        /**
     695         * Filters the mapped Settings capabilities.
     696         *
     697         * @since 2.2.0
     698         *
     699         * @param array  $caps    The capabilities for meta capability.
     700         * @param string $cap     Capability name.
     701         * @param int    $user_id User ID.
     702         * @param array  $args    Arguments.
     703         */
    695704        return (array) apply_filters( 'bbp_map_settings_meta_caps', $caps, $cap, $user_id, $args );
    696705    }
Note: See TracChangeset for help on using the changeset viewer.