Changeset 10453
- Timestamp:
- 01/17/2016 04:07:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-functions.php
r10445 r10453 894 894 * Post an Activity status update affiliated with a group. 895 895 * 896 * @todo Should bail out when the Activity component is not active.897 *898 896 * @param array|string $args { 899 897 * Array of arguments. … … 904 902 * update. Default: ID of the current group. 905 903 * } 906 * @return int 904 * @return int|bool Returns the ID of the new activity item on success, or false on failure. 907 905 */ 908 906 function groups_post_update( $args = '' ) { 907 if ( ! bp_is_active( 'activity' ) ) { 908 return false; 909 } 910 909 911 $bp = buddypress(); 910 912
Note: See TracChangeset
for help on using the changeset viewer.