Skip to:
Content

BuddyPress.org

Changeset 11168


Ignore:
Timestamp:
10/04/2016 12:17:26 AM (5 years ago)
Author:
r-a-y
Message:

Activity: Update DocBlock for bp_activity_post_update().

File:
1 edited

Legend:

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

    r11078 r11168  
    18711871 *
    18721872 * @param array|string $args {
    1873  *     @type string $content The content of the activity update.
    1874  *     @type int    $user_id Optional. Defaults to the logged-in user.
     1873 *     @type string $content    The content of the activity update.
     1874 *     @type int    $user_id    Optional. Defaults to the logged-in user.
     1875 *     @type string $error_type Optional. Error type to return. Either 'bool' or 'wp_error'. Defaults to
     1876 *                              'bool' for boolean. 'wp_error' will return a WP_Error object.
    18751877 * }
    1876  * @return int $activity_id The activity id.
     1878 * @return int|bool|WP_Error $activity_id The activity id on success. On failure, either boolean false or WP_Error
     1879 *                                        object depending on the 'error_type' $args parameter.
    18771880 */
    18781881function bp_activity_post_update( $args = '' ) {
Note: See TracChangeset for help on using the changeset viewer.