Changeset 9833 for trunk/src/bp-activity/bp-activity-filters.php
- Timestamp:
- 05/03/2015 06:51:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-filters.php
r9819 r9833 180 180 * 181 181 * @param string $content The activity content. 182 * 182 183 * @return string $content Filtered activity content. 183 184 */ … … 221 222 * @since BuddyPress (1.2.0) 222 223 * 223 * @param string $content The contents of a given item. 224 * @param int $activity_id The activity id. Deprecated. 224 * @param string $content The contents of a given item. 225 * @param int $activity_id The activity id. Deprecated. 226 * 225 227 * @return string $content Content filtered for mentions. 226 228 */ … … 339 341 // Send @mentions and setup BP notifications 340 342 foreach( (array) $usernames as $user_id => $username ) { 343 341 344 /** 342 345 * Filters BuddyPress' ability to send email notifications for @mentions. … … 344 347 * @since BuddyPress (1.6.0) 345 348 * 346 * @param bool Whether or not BuddyPress should send a notification to the mentioned users.349 * @param bool $value Whether or not BuddyPress should send a notification to the mentioned users. 347 350 * @param array $usernames Array of users potentially notified. 348 351 */ … … 362 365 * 363 366 * @param string $text Activity text. 367 * 364 368 * @return string $text Text with rel=nofollow added to any links. 365 369 */ … … 373 377 * @since BuddyPress (1.2.0) 374 378 * 375 * @param array $matches376 *377 379 * @param array $matches Items matched by preg_replace_callback() in bp_activity_make_nofollow_filter(). 380 * 378 381 * @return string $text Link with rel=nofollow added 379 382 */ … … 400 403 * 401 404 * @param string $text The original activity entry text. 405 * 402 406 * @return string $excerpt The truncated text. 403 407 */ … … 408 412 * Provides a filter that lets you choose whether to skip this filter on a per-activity basis. 409 413 * 410 * @param bool $maybe_truncate_text If true, text should be checked to see if it needs truncating.411 414 * @since BuddyPress (2.3.0) 415 * 416 * @param bool $value If true, text should be checked to see if it needs truncating. 412 417 */ 413 418 $maybe_truncate_text = apply_filters( … … 457 462 * @since BuddyPress (1.5.0) 458 463 * 459 * @param string $excerpt Excerpt text and markup to be displayed.460 * @param string $text The original activity entry text.464 * @param string $excerpt Excerpt text and markup to be displayed. 465 * @param string $text The original activity entry text. 461 466 * @param string $append_text The final append text applied. 462 467 */ … … 472 477 * 473 478 * @param array $js_handles The original dependencies. 479 * 474 480 * @return array $js_handles The new dependencies. 475 481 */ … … 492 498 * 493 499 * @param string $classes 500 * 494 501 * @return string $classes 495 502 */ … … 511 518 * 512 519 * @param string $classes 520 * 513 521 * @return string $classes 514 522 */ … … 540 548 * @param array $response 541 549 * @param array $data 550 * 542 551 * @return array $response 543 552 */ … … 601 610 * 602 611 * @param array $strings Localized strings. 612 * 603 613 * @return array $strings 604 614 */ … … 661 671 * @since BuddyPress (2.2.0) 662 672 * 663 * @param array $retval Empty array by default 664 * @param array $filter Current activity arguments 673 * @param array $retval Empty array by default. 674 * @param array $filter Current activity arguments. 675 * 665 676 * @return array 666 677 */ … … 710 721 * @since BuddyPress (2.2.0) 711 722 * 712 * @param array $retval Empty array by default 713 * @param array $filter Current activity arguments 723 * @param array $retval Empty array by default. 724 * @param array $filter Current activity arguments. 725 * 714 726 * @return array 715 727 */ … … 767 779 * @since BuddyPress (2.2.0) 768 780 * 769 * @param array $retval Empty array by default 770 * @param array $filter Current activity arguments 781 * @param array $retval Empty array by default. 782 * @param array $filter Current activity arguments. 783 * 771 784 * @return array 772 785 */
Note: See TracChangeset
for help on using the changeset viewer.