Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2018 01:32:52 AM (8 years ago)
Author:
tw2113
Message:

add/touchup documentation to a lot of Nouveau actions and filters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/activity/functions.php

    r12002 r12008  
    9090
    9191    /**
    92      * Filter to include specific Action buttons.
     92     * Filters the included, specific, Action buttons.
    9393     *
    9494     * @since 3.0.0
     
    145145        }
    146146
     147        /**
     148         * Filters the activity objects to apply for localized javascript data.
     149         *
     150         * @since 3.0.0
     151         *
     152         * @param array $activity_objects Array of activity objects.
     153         */
    147154        $activity_params['objects'] = apply_filters( 'bp_nouveau_activity_objects', $activity_objects );
    148155    }
     
    276283
    277284    /**
     285     * Filters the activity directory navigation items.
     286     *
    278287     * Use this filter to introduce your custom nav items for the activity directory.
    279288     *
     
    418427
    419428        // Leave other components do their specific stuff if needed.
     429        /**
     430         * Filters the classes to be applied to the newest activity item.
     431         *
     432         * Leave other components do their specific stuff if needed.
     433         *
     434         * @since 3.0.0
     435         *
     436         * @param array  $my_classes Array of classes to output to class attribute.
     437         * @param string $scope      Current scope for the activity type.
     438         */
    420439        $my_classes = (array) apply_filters( 'bp_nouveau_activity_scope_newest_class', $my_classes, $scope );
    421440
     
    444463
    445464    /**
    446      * Filter to edit the activity widget arguments
     465     * Filter to edit the activity widget arguments.
    447466     *
    448467     * @since 3.0.0
    449468     *
    450      * @param  array $args The activity arguments.
     469     * @param array $args The activity arguments.
    451470     */
    452471    return apply_filters( 'bp_nouveau_activity_widget_query', $args );
Note: See TracChangeset for help on using the changeset viewer.