Changeset 9834 for trunk/src/bp-activity/bp-activity-functions.php
- Timestamp:
- 05/03/2015 10:51:31 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-functions.php
r9833 r9834 29 29 * The Mentions feature does a number of things, all of which will be turned 30 30 * off if you disable mentions: 31 * - Detecting and auto-linking @username in all BP/WP content 31 * - Detecting and auto-linking @username in all BP/WP content. 32 32 * - Sending BP notifications and emails to users when they are mentioned 33 * using the @username syntax 34 * - The Public Message button on user profiles 33 * using the @username syntax. 34 * - The Public Message button on user profiles. 35 35 * 36 36 * Mentions are enabled by default. To disable, put the following line in … … 269 269 * 270 270 * @since BuddyPress (1.9.0) 271 * 272 * @param string $mentionname Username of user in @-mentions. 271 273 * 272 274 * @return int|bool ID of the user, if one is found. Otherwise false. … … 329 331 * @param string|bool $label String to describe this action in the activity stream filter dropdown. 330 332 * @param array $context Optional. Activity stream contexts where the filter should appear. 331 * Values: 'activity', 'member', 'member_groups', 'group' 333 * Values: 'activity', 'member', 'member_groups', 'group'. 332 334 * @param int $position Optional. The position of the action when listed in dropdowns. 333 335 * … … 407 409 * Default: 'bp_activity_format_activity_action_custom_post_type_post'. 408 410 * @type array $contexts The directory contexts in which the filter will show. 409 * Default: array( 'activity' ) ,411 * Default: array( 'activity' ). 410 412 * @type array $position Position of the item in filter dropdowns. 411 413 * @type string $singular Singular, translatable name of the post type item. If no value is … … 544 546 * @since BuddyPress (2.2.0) 545 547 * 546 * @return object actions ordered by their position548 * @return object Actions ordered by their position. 547 549 */ 548 550 function bp_activity_get_actions() { … … 1233 1235 1234 1236 /** 1235 * Register the activity stream actions for updates 1237 * Register the activity stream actions for updates. 1236 1238 * 1237 1239 * @since BuddyPress (1.6.0) … … 1545 1547 * @since BuddyPress (1.2.0) 1546 1548 * 1547 * @see BP_Activity_Activity::get() For more information on accepted arguments 1549 * @see BP_Activity_Activity::get() For more information on accepted arguments. 1548 1550 * @uses wp_parse_args() 1549 * @uses apply_filters() To call the 'bp_activity_get_specific' hook 1551 * @uses apply_filters() To call the 'bp_activity_get_specific' hook. 1550 1552 * @uses BP_Activity_Activity::get() {@link BP_Activity_Activity} 1551 1553 * … … 1605 1607 * @uses BP_Activity_Activity::rebuild_activity_comment_tree() {@link BP_Activity_Activity} 1606 1608 * @uses wp_cache_delete() 1607 * @uses do_action() To call the 'bp_activity_add' hook 1609 * @uses do_action() To call the 'bp_activity_add' hook. 1608 1610 * 1609 1611 * @param array|string $args { … … 1728 1730 * @type int $user_id Optional. Defaults to the logged-in user. 1729 1731 * } 1730 * @return int $activity_id The activity id 1732 * @return int $activity_id The activity id. 1731 1733 */ 1732 1734 function bp_activity_post_update( $args = '' ) { … … 2447 2449 * @param int $comment_id The ID of the comment to be deleted. 2448 2450 * 2449 * @return bool True on success, false on failure 2451 * @return bool True on success, false on failure. 2450 2452 */ 2451 2453 function bp_activity_delete_comment( $activity_id, $comment_id ) { … … 2618 2620 * 2619 2621 * @uses esc_attr() 2620 * @uses apply_filters() To call the 'bp_activity_thumbnail_content_images' hook 2622 * @uses apply_filters() To call the 'bp_activity_thumbnail_content_images' hook. 2621 2623 * 2622 2624 * @param string $content The content of the activity item. … … 2627 2629 * 2628 2630 * @return string $content The content with images stripped and replaced with a 2629 * single thumb.2631 * single thumb. 2630 2632 */ 2631 2633 function bp_activity_thumbnail_content_images( $content, $link = false, $args = false ) { … … 2979 2981 * @see bp_embed_activity_cache() 2980 2982 * @see bp_embed_activity_save_cache() 2983 * 2981 2984 * @uses add_filter() To attach 'bp_get_activity_id' to 'embed_post_id'. 2982 2985 * @uses add_filter() To attach 'bp_embed_activity_cache' to 'bp_embed_get_cache'. … … 3003 3006 * @see bp_embed_activity_cache() 3004 3007 * @see bp_embed_activity_save_cache() 3008 * 3005 3009 * @uses add_filter() To attach 'bp_get_activity_comment_id' to 'embed_post_id'. 3006 3010 * @uses add_filter() To attach 'bp_embed_activity_cache' to 'bp_embed_get_cache'.
Note: See TracChangeset
for help on using the changeset viewer.