Changeset 10148 for trunk/src/bp-groups/bp-groups-forums.php
- Timestamp:
- 09/27/2015 05:25:02 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-forums.php
r9906 r10148 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Groups Forums. … … 15 14 */ 16 15 17 // Exit if accessed directly 16 // Exit if accessed directly. 18 17 defined( 'ABSPATH' ) || exit; 19 18 … … 23 22 * Uses the bundled version of bbPress packaged with BuddyPress. 24 23 * 25 * @since BuddyPress (1.0.0)24 * @since 1.0.0 26 25 * 27 26 * @param int $group_id The group ID that the new forum should be attached to. … … 53 52 * Fires after the creation of a new forum inside a specific BuddyPress group. 54 53 * 55 * @since BuddyPress (1.0.0)54 * @since 1.0.0 56 55 * 57 56 * @param int $forum_id ID of the newly created forum. … … 64 63 * Update group forum metadata (title, description, slug) when the group's details are edited. 65 64 * 66 * @since BuddyPress (1.1.0)65 * @since 1.1.0 67 66 * 68 67 * @param int $group_id Group id, passed from groups_details_updated. … … 88 87 * Filters the group forum metadata value argument. 89 88 * 90 * @since BuddyPress (1.2.5)89 * @since 1.2.5 91 90 * 92 91 * @param array $value Array of metadata values to update the group forum with. … … 106 105 * Uses the bundled version of bbPress packaged with BuddyPress. 107 106 * 108 * @since BuddyPress (1.0.0)107 * @since 1.0.0 109 108 * 110 109 * @param string $post_text The text for the forum post. … … 124 123 * Filters the text for the forum post before save. 125 124 * 126 * @since BuddyPress (1.2.0)125 * @since 1.2.0 127 126 * 128 127 * @param string $post_text Text for the forum post. … … 133 132 * Filters the ID for the forum post before save. 134 133 * 135 * @since BuddyPress (1.2.0)134 * @since 1.2.0 136 135 * 137 136 * @param int $topic_id ID of the topic the post will be associated with. … … 159 158 * Filters the new groups activity forum post action. 160 159 * 161 * @since BuddyPress (1.2.0)160 * @since 1.2.0 162 161 * 163 162 * @param string $activity_action Formatted action related to group activity posting. … … 171 170 * Filters the new groups activity forum post content. 172 171 * 173 * @since BuddyPress (1.2.0)172 * @since 1.2.0 174 173 * 175 174 * @param string $activity_content Excerpt-length activity content to be posted. … … 183 182 * Filters the new groups activity forum post primary link. 184 183 * 185 * @since BuddyPress (1.1.0)184 * @since 1.1.0 186 185 * 187 186 * @param string $value URL to the newly posted forum post. … … 201 200 * Fires after the creation of a new group forum topic post. 202 201 * 203 * @since BuddyPress (1.0.0)202 * @since 1.0.0 204 203 * 205 204 * @param int $value ID of the current group. … … 216 215 * Uses the bundled version of bbPress packaged with BuddyPress. 217 216 * 218 * @since BuddyPress (1.0.0)217 * @since 1.0.0 219 218 * 220 219 * @param string $topic_title The title for the forum topic. … … 232 231 * Filters the new groups forum topic title before saving. 233 232 * 234 * @since BuddyPress (1.2.0)233 * @since 1.2.0 235 234 * 236 235 * @param string $topic_title The title for the forum topic. … … 241 240 * Filters the new groups forum topic text before saving. 242 241 * 243 * @since BuddyPress (1.2.0)242 * @since 1.2.0 244 243 * 245 244 * @param string $topic_text The text for the forum topic. … … 250 249 * Filters the new groups forum topic tags before saving. 251 250 * 252 * @since BuddyPress (1.2.0)251 * @since 1.2.0 253 252 * 254 253 * @param string $topic_tags A comma-delimited string of topic tags. … … 259 258 * Filters the forum ID this forum topic resides in. 260 259 * 261 * @since BuddyPress (1.2.0)260 * @since 1.2.0 262 261 * 263 262 * @param string $forum_id The forum ID this forum topic resides in. … … 282 281 * Filters the new groups activity forum topic action. 283 282 * 284 * @since BuddyPress (1.2.0)283 * @since 1.2.0 285 284 * 286 285 * @param string $activity_action Formatted action related to forum topic. … … 293 292 * Filters the new groups activity forum topic content. 294 293 * 295 * @since BuddyPress (1.2.0)294 * @since 1.2.0 296 295 * 297 296 * @param string $activity_content Excerpt-length activity content to be posted. … … 304 303 * Filters the new groups activity forum topic primary link. 305 304 * 306 * @since BuddyPress (1.1.0)305 * @since 1.1.0 307 306 * 308 307 * @param string $value Concatenated primary link. … … 322 321 * Fires after the creation of a new group forum topic. 323 322 * 324 * @since BuddyPress (1.0.0)323 * @since 1.0.0 325 324 * 326 325 * @param int $value ID of the current group. … … 337 336 * Uses the bundled version of bbPress packaged with BuddyPress. 338 337 * 339 * @since BuddyPress (1.1.0)338 * @since 1.1.0 340 339 * 341 340 * @param int $topic_id The topic ID of the existing forum topic. … … 402 401 * Fires after the update of a group forum topic. 403 402 * 404 * @since BuddyPress (1.1.0)403 * @since 1.1.0 405 404 * 406 405 * @param object $topic Object holding current topic being updated. Passed by reference. … … 416 415 * Uses the bundled version of bbPress packaged with BuddyPress. 417 416 * 418 * @since BuddyPress (1.1.0)417 * @since 1.1.0 419 418 * 420 419 * @param int $post_id The post ID of the existing forum post. … … 490 489 * Fires after the update of a group forum post. 491 490 * 492 * @since BuddyPress (1.1.0)491 * @since 1.1.0 493 492 * 494 493 * @param object $post Object holding current post being updated. … … 505 504 * Uses the bundled version of bbPress packaged with BuddyPress. 506 505 * 507 * @since BuddyPress (1.1.0)506 * @since 1.1.0 508 507 * 509 508 * @param int $topic_id The ID of the topic to be deleted. … … 523 522 * Fires before the deletion of a group forum topic. 524 523 * 525 * @since BuddyPress (1.2.9)524 * @since 1.2.9 526 525 * 527 526 * @param int $topic_id ID of the topic to be deleted. … … 554 553 * Fires after the deletion of a group forum topic. 555 554 * 556 * @since BuddyPress (1.1.0)555 * @since 1.1.0 557 556 * 558 557 * @param int $topic_id ID of the topic that was deleted. … … 569 568 * Uses the bundled version of bbPress packaged with BuddyPress. 570 569 * 571 * @since BuddyPress (1.1.0)570 * @since 1.1.0 572 571 * 573 572 * @param int $post_id The ID of the post you want to delete. … … 587 586 * Fires before the deletion of a group forum post. 588 587 * 589 * @since BuddyPress (1.5.0)588 * @since 1.5.0 590 589 * 591 590 * @param int $post_id ID of the post to be deleted. … … 607 606 * Fires after the deletion of a group forum post. 608 607 * 609 * @since BuddyPress (1.1.0)608 * @since 1.1.0 610 609 * 611 610 * @param int $post_id ID of the post that was deleted. … … 621 620 * Get a total count of all public topics of a given type, across groups/forums. 622 621 * 623 * @since BuddyPress (1.5.0)622 * @since 1.5.0 624 623 * 625 624 * @param string $type Either 'newest', 'popular', 'unreplied', 'tags'. … … 633 632 * Filters the total count of all public topics of a given type, across groups/forums. 634 633 * 635 * @since BuddyPress (1.1.0)634 * @since 1.1.0 636 635 * 637 636 * @param int $value Total count of all public topics. … … 643 642 * Get a total count of all topics of a given status, across groups/forums. 644 643 * 645 * @since BuddyPress (1.5.0)644 * @since 1.5.0 646 645 * 647 646 * @param string $status Which groups to count. 'public', 'private', 'hidden', … … 656 655 * Filters the total count of all topics of a given status, across groups/forums. 657 656 * 658 * @since BuddyPress (1.5.0)657 * @since 1.5.0 659 658 * 660 659 * @param int $value Total count of all topics.
Note: See TracChangeset
for help on using the changeset viewer.