Changeset 10100 for trunk/src/bp-blogs/bp-blogs-activity.php
- Timestamp:
- 09/12/2015 06:03:18 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-activity.php
r10011 r10100 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Blogs Activity. … … 8 7 */ 9 8 10 // Exit if accessed directly 9 // Exit if accessed directly. 11 10 defined( 'ABSPATH' ) || exit; 12 11 … … 14 13 * Register activity actions for the blogs component. 15 14 * 16 * @since BuddyPress (1.0.0)15 * @since 1.0.0 17 16 * 18 17 * @return bool|null Returns false if activity component is not active. … … 54 53 * Fires after the registry of the default blog component activity actions. 55 54 * 56 * @since BuddyPress (1.1.0)55 * @since 1.1.0 57 56 */ 58 57 do_action( 'bp_blogs_register_activity_actions' ); … … 63 62 * Format 'new_blog' activity actions. 64 63 * 65 * @since BuddyPress (2.0.0)64 * @since 2.0.0 66 65 * 67 66 * @param string $action Static activity action. … … 91 90 * Filters the new blog activity action for the new blog. 92 91 * 93 * @since BuddyPress (2.0.0)92 * @since 2.0.0 94 93 * 95 94 * @param string $action Constructed activity action. … … 102 101 * Format 'new_blog_post' activity actions. 103 102 * 104 * @since BuddyPress (2.0.0)103 * @since 2.0.0 105 104 * 106 105 * @param string $action Static activity action. … … 203 202 * Filters the new blog post action for the new blog. 204 203 * 205 * @since BuddyPress (2.0.0)204 * @since 2.0.0 206 205 * 207 206 * @param string $action Constructed activity action. … … 214 213 * Format 'new_blog_comment' activity actions. 215 214 * 216 * @since BuddyPress (2.0.0)215 * @since 2.0.0 217 216 * 218 217 * @param string $action Static activity action. … … 280 279 * Filters the new blog comment action for the new blog. 281 280 * 282 * @since BuddyPress (2.0.0)281 * @since 2.0.0 283 282 * 284 283 * @param string $action Constructed activity action. … … 293 292 * This reduces database overhead during the activity loop. 294 293 * 295 * @since BuddyPress (2.0.0)294 * @since 2.0.0 296 295 * 297 296 * @param array $activities Array of activity items. … … 325 324 * Record blog-related activity to the activity stream. 326 325 * 327 * @since BuddyPress (1.0.0)326 * @since 1.0.0 328 327 * 329 328 * @see bp_activity_add() for description of parameters. … … 366 365 * Filters the action associated with activity for activity stream. 367 366 * 368 * @since BuddyPress (1.2.0)367 * @since 1.2.0 369 368 * 370 369 * @param string $value Action for the activity stream. … … 378 377 * Filters the content associated with activity for activity stream. 379 378 * 380 * @since BuddyPress (1.2.0)379 * @since 1.2.0 381 380 * 382 381 * @param string $value Generated summary from content for the activity stream. … … 402 401 * Delete a blog-related activity stream item. 403 402 * 404 * @since BuddyPress (1.0.0)403 * @since 1.0.0 405 404 * 406 405 * @see bp_activity_delete() for description of parameters. … … 443 442 * multiple {@link switch_to_blog()} calls in the activity stream. 444 443 * 445 * @since BuddyPress (2.0.0)444 * @since 2.0.0 446 445 * 447 446 * @param object $activity The BP_Activity_Activity object … … 529 528 * For blog post -> activity comment, see {@link bp_blogs_record_comment()}. 530 529 * 531 * @since BuddyPress (2.0.0)530 * @since 2.0.0 532 531 * 533 532 * @param int $comment_id The activity ID for the posted activity comment. … … 617 616 * Fires after activity comments have been synced and posted as blog comments. 618 617 * 619 * @since BuddyPress (2.0.0)618 * @since 2.0.0 620 619 * 621 620 * @param int $comment_id The activity ID for the posted activity comment. … … 635 634 * activity comment children before they are deleted. 636 635 * 637 * @since BuddyPress (2.0.0)636 * @since 2.0.0 638 637 * 639 638 * @param bool $retval … … 683 682 * Updates the blog comment when the associated activity comment is edited. 684 683 * 685 * @since BuddyPress (2.0.0)684 * @since 2.0.0 686 685 * 687 686 * @param BP_Activity_Activity $activity The activity object. … … 740 739 * activity comment IDs from each comment's meta when a post is trashed. 741 740 * 742 * @since BuddyPress (2.0.0)741 * @since 2.0.0 743 742 * 744 743 * @param int $post_id The post ID. … … 771 770 * API. 772 771 * 773 * @since BuddyPress (2.1.0)772 * @since 2.1.0 774 773 * 775 774 * @param array $args Arguments passed from bp_parse_args() in bp_has_activities(). … … 843 842 * This is to prevent having to requery these items later on. 844 843 * 845 * @since BuddyPress (2.0.0)844 * @since 2.0.0 846 845 * 847 846 * @see bp_blogs_disable_activity_commenting() … … 895 894 * Set up some globals used in the activity comment loop when AJAX is used. 896 895 * 897 * @since BuddyPress (2.0.0)896 * @since 2.0.0 898 897 * 899 898 * @see bp_blogs_setup_activity_loop_globals() … … 927 926 * - the activity entry is a 'new_blog_comment' type 928 927 * 929 * @since BuddyPress (2.0.0)928 * @since 2.0.0 930 929 * 931 930 * @param bool $retval Is activity commenting enabled for this activity entry? … … 979 978 * via {@link bp_blogs_setup_activity_loop_globals()}. 980 979 * 981 * @since BuddyPress (2.0.0)980 * @since 2.0.0 982 981 * 983 982 * @param bool $retval Are replies allowed for this activity reply? … … 1018 1017 * activity item is a 'new_blog_post' entry. 1019 1018 * 1020 * @since BuddyPress (2.0.0)1019 * @since 2.0.0 1021 1020 * 1022 1021 * @param string $retval The activity comment permalink. … … 1046 1045 * This is only done if the activity comment is associated with a blog comment. 1047 1046 * 1048 * @since BuddyPress (2.0.1)1047 * @since 2.0.1 1049 1048 * 1050 1049 * @param string $retval The activity permalink. … … 1073 1072 * This is only done if the activity comment is associated with a blog comment. 1074 1073 * 1075 * @since BuddyPress (2.0.1)1074 * @since 2.0.1 1076 1075 * 1077 1076 * @param string $retval The activity action.
Note: See TracChangeset
for help on using the changeset viewer.