Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/31/2015 06:51:35 AM (9 years ago)
Author:
tw2113
Message:

Standardizing our @since tags for the Activity component.

See #6576.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-filters.php

    r9834 r10077  
    11<?php
    2 
    32/**
    43 * Filters related to the Activity component.
     
    114113 * Types of activity stream items to moderate.
    115114 *
    116  * @since BuddyPress (1.6.0)
     115 * @since 1.6.0
    117116 *
    118117 * @return array $types List of the activity types to moderate.
     
    127126     * Filters the default activity types that BuddyPress should moderate.
    128127     *
    129      * @since BuddyPress (1.6.0)
     128     * @since 1.6.0
    130129     *
    131130     * @param array $types Default activity types to moderate.
     
    137136 * Moderate the posted activity item, if it contains moderate keywords.
    138137 *
    139  * @since BuddyPress (1.6.0)
     138 * @since 1.6.0
    140139 *
    141140 * @param BP_Activity_Activity $activity The activity object to check.
     
    156155 * Mark the posted activity as spam, if it contains blacklist keywords.
    157156 *
    158  * @since BuddyPress (1.6.0)
     157 * @since 1.6.0
    159158 *
    160159 * @param BP_Activity_Activity $activity The activity object to check.
     
    174173 * Custom kses filtering for activity content.
    175174 *
    176  * @since BuddyPress (1.1.0)
     175 * @since 1.1.0
    177176 *
    178177 * @uses apply_filters() To call the 'bp_activity_allowed_tags' hook.
     
    209208     * Filters the allowed HTML tags for BuddyPress Activity content.
    210209     *
    211      * @since BuddyPress (1.2.0)
     210     * @since 1.2.0
    212211     *
    213212     * @param array $value Array of allowed HTML tags and attributes.
     
    220219 * Find and link @-mentioned users in the contents of a given item.
    221220 *
    222  * @since BuddyPress (1.2.0)
     221 * @since 1.2.0
    223222 *
    224223 * @param string $content     The contents of a given item.
     
    279278 * hook to send mention notifications after the activity item is saved.
    280279 *
    281  * @since BuddyPress (1.5.0)
     280 * @since 1.5.0
    282281 *
    283282 * @uses bp_activity_find_mentions()
     
    316315 * Sends emails and BP notifications for users @-mentioned in an activity item.
    317316 *
    318  * @since BuddyPress (1.7.0)
     317 * @since 1.7.0
    319318 *
    320319 * @uses bp_activity_at_message_notification()
     
    345344         * Filters BuddyPress' ability to send email notifications for @mentions.
    346345         *
    347          * @since BuddyPress (1.6.0)
     346         * @since 1.6.0
    348347         *
    349348         * @param bool  $value     Whether or not BuddyPress should send a notification to the mentioned users.
     
    362361 * Catch links in activity text so rel=nofollow can be added.
    363362 *
    364  * @since BuddyPress (1.2.0)
     363 * @since 1.2.0
    365364 *
    366365 * @param string $text Activity text.
     
    375374     * Add rel=nofollow to a link.
    376375     *
    377      * @since BuddyPress (1.2.0)
     376     * @since 1.2.0
    378377     *
    379378     * @param array $matches Items matched by preg_replace_callback() in bp_activity_make_nofollow_filter().
     
    392391 * This method can only be used inside the Activity loop.
    393392 *
    394  * @since BuddyPress (1.5.0)
     393 * @since 1.5.0
    395394 *
    396395 * @uses bp_is_single_activity()
     
    412411     * Provides a filter that lets you choose whether to skip this filter on a per-activity basis.
    413412     *
    414      * @since BuddyPress (2.3.0)
     413     * @since 2.3.0
    415414     *
    416415     * @param bool $value If true, text should be checked to see if it needs truncating.
     
    429428     * Filters the appended text for the activity excerpt.
    430429     *
    431      * @since BuddyPress (1.5.0)
     430     * @since 1.5.0
    432431     *
    433432     * @param string $value Internationalized "Read more" text.
     
    438437     * Filters the excerpt length for the activity excerpt.
    439438     *
    440      * @since BuddyPress (1.5.0)
     439     * @since 1.5.0
    441440     *
    442441     * @param int $value Number indicating how many words to trim the excerpt down to.
     
    460459     * Filters the composite activity excerpt entry.
    461460     *
    462      * @since BuddyPress (1.5.0)
     461     * @since 1.5.0
    463462     *
    464463     * @param string $excerpt     Excerpt text and markup to be displayed.
     
    472471 * Include extra JavaScript dependencies for activity component.
    473472 *
    474  * @since BuddyPress (2.0.0)
     473 * @since 2.0.0
    475474 *
    476475 * @uses bp_activity_do_heartbeat() to check if heartbeat is required.
     
    495494 * dynamically into the activity stream.
    496495 *
    497  * @since BuddyPress (2.0.0)
     496 * @since 2.0.0
    498497 *
    499498 * @param string $classes
     
    515514 * Check if Activity Heartbeat feature i on to add a timestamp class.
    516515 *
    517  * @since BuddyPress (2.0.0)
     516 * @since 2.0.0
    518517 *
    519518 * @param string $classes
     
    542541 * Use WordPress Heartbeat API to check for latest activity update.
    543542 *
    544  * @since BuddyPress (2.0.0)
     543 * @since 2.0.0
    545544 *
    546545 * @uses bp_activity_get_last_updated() to get the recorded date of the last activity.
     
    607606 * Set the strings for WP HeartBeat API where needed.
    608607 *
    609  * @since BuddyPress (2.0.0)
     608 * @since 2.0.0
    610609 *
    611610 * @param array $strings Localized strings.
     
    624623     * Filter that checks whether the global heartbeat settings already exist.
    625624     *
    626      * @since BuddyPress (2.0.0)
     625     * @since 2.0.0
    627626     *
    628627     * @param array $value Heartbeat settings array.
     
    637636     * Filters the pulse frequency to be used for the BuddyPress Activity heartbeat.
    638637     *
    639      * @since BuddyPress (2.0.0)
     638     * @since 2.0.0
    640639     *
    641640     * @param int $value The frequency in seconds between pulses.
     
    669668 * Set up activity arguments for use with the 'just-me' scope.
    670669 *
    671  * @since BuddyPress (2.2.0)
     670 * @since 2.2.0
    672671 *
    673672 * @param array $retval Empty array by default.
     
    719718 * Set up activity arguments for use with the 'favorites' scope.
    720719 *
    721  * @since BuddyPress (2.2.0)
     720 * @since 2.2.0
    722721 *
    723722 * @param array $retval Empty array by default.
     
    777776 * Set up activity arguments for use with the 'favorites' scope.
    778777 *
    779  * @since BuddyPress (2.2.0)
     778 * @since 2.2.0
    780779 *
    781780 * @param array $retval Empty array by default.
Note: See TracChangeset for help on using the changeset viewer.