Changeset 10100 for trunk/src/bp-blogs/bp-blogs-functions.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-functions.php
r10034 r10100 13 13 * Check whether the $bp global lists an activity directory page. 14 14 * 15 * @since BuddyPress (1.5.0)15 * @since 1.5.0 16 16 * 17 17 * @return bool True if set, false if empty. … … 72 72 * Populate the BP blogs table with existing blogs. 73 73 * 74 * @since BuddyPress (1.0.0)74 * @since 1.0.0 75 75 * 76 76 * @global object $wpdb WordPress database object. … … 150 150 * Fires after the BP blogs tables have been populated with existing blogs. 151 151 * 152 * @since BuddyPress (2.4.0)152 * @since 2.4.0 153 153 */ 154 154 do_action( 'bp_blogs_recorded_existing_blogs' ); … … 164 164 * only to particular users. 165 165 * 166 * @since BuddyPress (1.7.0)166 * @since 1.7.0 167 167 * 168 168 * @uses apply_filters() … … 196 196 * being trackable only to particular users. 197 197 * 198 * @since BuddyPress (1.7.0)198 * @since 1.7.0 199 199 * 200 200 * @uses bp_blogs_is_blog_recordable … … 226 226 * Make BuddyPress aware of a new site so that it can track its activity. 227 227 * 228 * @since BuddyPress (1.0.0)228 * @since 1.0.0 229 229 * 230 230 * @uses BP_Blogs_Blog … … 297 297 * Fires after BuddyPress has been made aware of a new site for activity tracking. 298 298 * 299 * @since BuddyPress (1.0.0)299 * @since 1.0.0 300 300 * 301 301 * @param BP_Blogs_Blog $recorded_blog Current blog being recorded. Passed by reference. … … 342 342 * Update "Close comments for old posts" option in BuddyPress blogmeta table. 343 343 * 344 * @since BuddyPress (2.0.0)344 * @since 2.0.0 345 345 * 346 346 * @global object $wpdb DB Layer. … … 360 360 * Update "Close comments after days old" option in BuddyPress blogmeta table. 361 361 * 362 * @since BuddyPress (2.0.0)362 * @since 2.0.0 363 363 * 364 364 * @global object $wpdb DB Layer. … … 378 378 * When toggling threaded comments, update thread depth in blogmeta table. 379 379 * 380 * @since BuddyPress (2.0.0)380 * @since 2.0.0 381 381 * 382 382 * @global object $wpdb DB Layer. … … 402 402 * When updating comment depth, update thread depth in blogmeta table. 403 403 * 404 * @since BuddyPress (2.0.0)404 * @since 2.0.0 405 405 * 406 406 * @global object $wpdb DB Layer. … … 427 427 * under "Network Admin > Sites". 428 428 * 429 * @since BuddyPress (2.3.0)429 * @since 2.3.0 430 430 * 431 431 * @param int $site_id The site ID. … … 439 439 * Record activity metadata about a published blog post. 440 440 * 441 * @since BuddyPress (2.2.0)441 * @since 2.2.0 442 442 * 443 443 * @param int $activity_id ID of the activity item. … … 466 466 * Fires after BuddyPress has recorded metadata about a published blog post. 467 467 * 468 * @since BuddyPress (1.0.0)468 * @since 1.0.0 469 469 * 470 470 * @param int $ID ID of the blog post being recorded. … … 479 479 * Updates a blog post's activity meta entry during a post edit. 480 480 * 481 * @since BuddyPress (2.2.0)481 * @since 2.2.0 482 482 * 483 483 * @param WP_Post $post Post object. … … 803 803 * to extend the functionality of the Blogs component. 804 804 * 805 * @since BuddyPress (2.1.0)805 * @since 2.1.0 806 806 * 807 807 * @return string … … 836 836 * first. See https://buddypress.trac.wordpress.org/ticket/3916. 837 837 * 838 * @since BuddyPress (1.6.0)838 * @since 1.6.0 839 839 * @access private 840 840 */ … … 861 861 * tracker and activity stream. 862 862 * 863 * @since BuddyPress (1.5.0)863 * @since 1.5.0 864 864 * 865 865 * @param int $blog_id ID of the blog having its item removed. … … 880 880 * tracker and activity stream. 881 881 * 882 * @since BuddyPress (1.0.0)882 * @since 1.0.0 883 883 * 884 884 * @param int $blog_id ID of the blog who had its item removed. … … 902 902 * Fires before a blog is removed from the tracker for a specific user. 903 903 * 904 * @since BuddyPress (1.5.0)904 * @since 1.5.0 905 905 * 906 906 * @param int $blog_id ID of the blog being removed. … … 921 921 * Fires after a blog has been removed from the tracker for a specific user. 922 922 * 923 * @since BuddyPress (1.0.0)923 * @since 1.0.0 924 924 * 925 925 * @param int $blog_id ID of the blog that was removed. … … 957 957 * Fires before removal of a blog post activity item from the activity stream. 958 958 * 959 * @since BuddyPress (1.5.0)959 * @since 1.5.0 960 960 * 961 961 * @param int $blog_id ID of the blog associated with the post that was removed. … … 976 976 * Fires after removal of a blog post activity item from the activity stream. 977 977 * 978 * @since BuddyPress (1.0.0)978 * @since 1.0.0 979 979 * 980 980 * @param int $blog_id ID of the blog associated with the post that was removed. … … 1045 1045 * Fires after a blog comment activity item was removed from activity stream. 1046 1046 * 1047 * @since BuddyPress (1.0.0)1047 * @since 1.0.0 1048 1048 * 1049 1049 * @param int $blogid Item ID for the blog associated with the removed comment. … … 1058 1058 * Removes blog comments that are associated with activity comments. 1059 1059 * 1060 * @since BuddyPress (2.0.0)1060 * @since 2.0.0 1061 1061 * 1062 1062 * @see bp_blogs_remove_comment() … … 1099 1099 * When a blog comment status transition occurs, update the relevant activity's status. 1100 1100 * 1101 * @since BuddyPress (1.6.0)1101 * @since 1.6.0 1102 1102 * 1103 1103 * @param string $new_status New comment status. … … 1197 1197 * Get the total number of blogs being tracked by BP for a specific user. 1198 1198 * 1199 * @since BuddyPress (1.2.0)1199 * @since 1.2.0 1200 1200 * 1201 1201 * @param int $user_id ID of the user being queried. Default: on a user page, … … 1234 1234 * and activity stream. 1235 1235 * 1236 * @since BuddyPress (1.5.0)1236 * @since 1.5.0 1237 1237 * 1238 1238 * @param int $blog_id ID of the blog whose data is being removed. … … 1254 1254 * and activity stream. 1255 1255 * 1256 * @since BuddyPress (1.0.0)1256 * @since 1.0.0 1257 1257 * 1258 1258 * @param int $blog_id ID of the blog whose data is being removed. … … 1371 1371 * Get metadata for a given blog. 1372 1372 * 1373 * @since BuddyPress (1.2.0)1373 * @since 1.2.0 1374 1374 * 1375 1375 * @global object $wpdb WordPress database access object. … … 1420 1420 * Add a piece of blog metadata. 1421 1421 * 1422 * @since BuddyPress (2.0.0)1422 * @since 2.0.0 1423 1423 * 1424 1424 * @param int $blog_id ID of the blog. … … 1452 1452 * Fires before all blog associations are removed for a given user. 1453 1453 * 1454 * @since BuddyPress (1.5.0)1454 * @since 1.5.0 1455 1455 * 1456 1456 * @param int $user_id ID of the user whose blog associations are being removed. … … 1464 1464 * Fires after all blog associations are removed for a given user. 1465 1465 * 1466 * @since BuddyPress (1.0.0)1466 * @since 1.0.0 1467 1467 * 1468 1468 * @param int $user_id ID of the user whose blog associations were removed. … … 1477 1477 * Restore all blog associations for a given user. 1478 1478 * 1479 * @since BuddyPress (2.2.0)1479 * @since 2.2.0 1480 1480 * 1481 1481 * @param int $user_id ID whose blog data should be restored.
Note: See TracChangeset
for help on using the changeset viewer.