Skip to:
Content

BuddyPress.org

Changeset 9265


Ignore:
Timestamp:
12/24/2014 02:26:30 AM (10 years ago)
Author:
tw2113
Message:

Add hook documentation in admin/bp-memmbers-classes.php.

Props tw2113.
See #5944.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/admin/bp-members-classes.php

    r8958 r9265  
    121121     */
    122122    public function get_columns() {
     123
     124        /**
     125         * Filters the single site Members signup columns.
     126         *
     127         * @since BuddyPress (2.0.0)
     128         *
     129         * @param array $value Array of columns to display.
     130         */
    123131        return apply_filters( 'bp_members_signup_columns', array(
    124132            'cb'         => '<input type="checkbox" />',
     
    278286        }
    279287
     288        /**
     289         * Filters the multisite row actions for each user in list.
     290         *
     291         * @since BuddyPress (2.0.0)
     292         *
     293         * @param array  $actions       Array of actions and corresponding links.
     294         * @param object $signup_object The signup data object.
     295         */
    280296        $actions = apply_filters( 'bp_members_ms_signup_row_actions', $actions, $signup_object );
    281297
     
    337353
    338354    /**
    339      * Allow plugins to add their costum column.
    340      *
    341      * @since BuddyPress 2.1.0
     355     * Allow plugins to add their custom column.
     356     *
     357     * @since BuddyPress (2.1.0)
    342358     *
    343359     * @param object $signup_object The signup data object.
     
    345361     */
    346362    function column_default( $signup_object = null, $column_name = '' ) {
     363
     364        /**
     365         * Filters the single site custom columns for plugins.
     366         *
     367         * @since BuddyPress (2.1.0)
     368         *
     369         * @param string $column_name   The column name.
     370         * @param object $signup_object The signup data object.
     371         */
    347372        return apply_filters( 'bp_members_signup_custom_column', '', $column_name, $signup_object );
    348373    }
     
    449474     */
    450475    public function get_columns() {
     476
     477        /**
     478         * Filters the multisite Members signup columns.
     479         *
     480         * @since BuddyPress (2.0.0)
     481         *
     482         * @param array $value Array of columns to display.
     483         */
    451484        return apply_filters( 'bp_members_ms_signup_columns', array(
    452485            'cb'         => '<input type="checkbox" />',
     
    601634        }
    602635
     636        /** This filter is documented in bp-members/admin/bp-members-classes.php */
    603637        $actions = apply_filters( 'bp_members_ms_signup_row_actions', $actions, $signup_object );
    604638
     
    682716     */
    683717    function column_default( $signup_object = null, $column_name = '' ) {
     718
     719        /**
     720         * Filters the multisite custom columns for plugins.
     721         *
     722         * @since BuddyPress (2.1.0)
     723         *
     724         * @param string $column_name   The column name.
     725         * @param object $signup_object The signup data object.
     726         */
    684727        return apply_filters( 'bp_members_ms_signup_custom_column', '', $column_name, $signup_object );
    685728    }
Note: See TracChangeset for help on using the changeset viewer.