Changeset 7407 for trunk/bp-blogs/bp-blogs-activity.php
- Timestamp:
- 10/10/2013 02:44:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-activity.php
r7228 r7407 2 2 3 3 /** 4 * BuddyPress Blogs Activity 4 * BuddyPress Blogs Activity. 5 5 * 6 6 * @package BuddyPress … … 12 12 13 13 /** 14 * Register activity actions for the blogs component 14 * Register activity actions for the blogs component. 15 15 * 16 16 * @since BuddyPress (1.0) 17 * @package BuddyPress18 * @ subpackage BlogsActivity19 * @global type $bp20 * @return bool ean17 * 18 * @global object $bp The BuddyPress global settings object. 19 * 20 * @return bool|null Returns false if activity component is not active. 21 21 */ 22 22 function bp_blogs_register_activity_actions() { … … 40 40 41 41 /** 42 * Record the activity to the actvity stream42 * Record blog-related activity to the activity stream. 43 43 * 44 44 * @since BuddyPress (1.0) 45 * @package BuddyPress 46 * @subpackage BlogsActivity 47 * @global BuddyPress $bp 48 * @param array $args 49 * @return boolean 45 * 46 * @see bp_activity_add() for description of parameters. 47 * @global object $bp The BuddyPress global settings object. 48 * 49 * @param array $args { 50 * See {@link bp_activity_add()} for complete description of arguments. 51 * The arguments listed here have different default values from bp_activity_add(). 52 * @type string $component Default: 'blogs'. 53 * } 54 * @return int|bool On success, returns the activity ID. False on failure. 50 55 */ 51 56 function bp_blogs_record_activity( $args = '' ) { … … 95 100 96 101 /** 97 * Delete a blog s activity stream item102 * Delete a blog-related activity stream item. 98 103 * 99 104 * @since BuddyPress (1.0) 100 * @package BuddyPress 101 * @subpackage BlogsActivity 102 * @global BuddyPress $bp 103 * @param array $args 105 * 106 * @see bp_activity_delete() for description of parameters. 107 * @global object $bp The BuddyPress global settings object. 108 * 109 * @param array $args { 110 * See {@link bp_activity_delete()} for complete description of arguments. 111 * The arguments listed here have different default values from bp_activity_add(). 112 * @type string $component Default: 'blogs'. 113 * } 114 * @return bool True on success, false on failure. 104 115 */ 105 116 function bp_blogs_delete_activity( $args = true ) {
Note: See TracChangeset
for help on using the changeset viewer.