Changeset 13395 for trunk/src/bp-activity/bp-activity-template.php
- Timestamp:
- 01/07/2023 12:18:55 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r13345 r13395 108 108 * @since 2.4.0 Introduced the `$fields` parameter. 109 109 * 110 * @global object $activities_template {@link BP_Activity_Template}110 * @global BP_Activity_Template $activities_template The main activity template loop class. 111 111 * 112 112 * @param array|string $args { … … 372 372 * @since 1.0.0 373 373 * 374 * @global object $activities_template {@link BP_Activity_Template}374 * @global BP_Activity_Template $activities_template The main activity template loop class. 375 375 * 376 376 * @return bool Returns true when activities are found. … … 386 386 * @since 1.0.0 387 387 * 388 * @global object $activities_template {@link BP_Activity_Template}388 * @global BP_Activity_Template $activities_template The main activity template loop class. 389 389 * 390 390 * @return object The current activity within the loop. … … 443 443 * 444 444 * @since 1.0.0 445 *446 * @global object $activities_template {@link BP_Activity_Template}447 445 */ 448 446 function bp_activity_pagination_count() { … … 455 453 * @since 1.2.0 456 454 * 457 * @global object $activities_template {@link BP_Activity_Template}455 * @global BP_Activity_Template $activities_template The main activity template loop class. 458 456 * 459 457 * @return string The pagination text. … … 492 490 * @since 1.0.0 493 491 * 494 * @global object $activities_template {@link BP_Activity_Template}492 * @global BP_Activity_Template $activities_template The main activity template loop class. 495 493 * 496 494 * @return string The pagination links. … … 514 512 * @since 1.5.0 515 513 * 516 * @global object $activities_template {@link BP_Activity_Template}514 * @global BP_Activity_Template $activities_template The main activity template loop class. 517 515 * 518 516 * @return bool $has_more_items True if more items, false if not. … … 558 556 * @since 1.2.0 559 557 * 560 * @global object $activities_template {@link BP_Activity_Template}558 * @global BP_Activity_Template $activities_template The main activity template loop class. 561 559 * 562 560 * @return int The activity count. … … 590 588 * @since 1.2.0 591 589 * 592 * @global object $activities_template {@link BP_Activity_Template}590 * @global BP_Activity_Template $activities_template The main activity template loop class. 593 591 * 594 592 * @return int The activities per page. … … 690 688 * @since 1.2.0 691 689 * 692 * @global object $activities_template {@link BP_Activity_Template}690 * @global BP_Activity_Template $activities_template The main activity template loop class. 693 691 * 694 692 * @return int The activity ID. … … 722 720 * @since 1.2.0 723 721 * 724 * @global object $activities_template {@link BP_Activity_Template}722 * @global BP_Activity_Template $activities_template The main activity template loop class. 725 723 * 726 724 * @return int The activity item ID. … … 754 752 * @since 1.2.0 755 753 * 756 * @global object $activities_template {@link BP_Activity_Template}754 * @global BP_Activity_Template $activities_template The main activity template loop class. 757 755 * 758 756 * @return int The activity secondary item ID. … … 786 784 * @since 1.2.0 787 785 * 788 * @global object $activities_template {@link BP_Activity_Template}786 * @global BP_Activity_Template $activities_template The main activity template loop class. 789 787 * 790 788 * @return string The date the activity was recorded. … … 818 816 * @since 2.1.0 819 817 * 820 * @global object $activities_template {@link BP_Activity_Template}818 * @global BP_Activity_Template $activities_template The main activity template loop class. 821 819 * 822 820 * @return string The date the activity was recorded. … … 854 852 * @since 1.2.0 855 853 * 856 * @global object $activities_template {@link BP_Activity_Template}854 * @global BP_Activity_Template $activities_template The main activity template loop class. 857 855 * 858 856 * @return string The activity object name. … … 886 884 * @since 1.2.0 887 885 * 888 * @global object $activities_template {@link BP_Activity_Template}886 * @global BP_Activity_Template $activities_template The main activity template loop class. 889 887 * 890 888 * @return string The activity type. … … 908 906 * @since 10.0.0 909 907 * 910 * @global object $activities_template {@link BP_Activity_Template}908 * @global BP_Activity_Template $activities_template The main activity template loop class. 911 909 * 912 910 * @return string The activity type template part name. … … 967 965 * @since 1.1.0 968 966 * 969 * @global object $activities_template {@link BP_Activity_Template}967 * @global BP_Activity_Template $activities_template The main activity template loop class. 970 968 * 971 969 * @return int The activity user ID. … … 999 997 * @since 1.2.0 1000 998 * 1001 * @global object $activities_template {@link BP_Activity_Template}999 * @global BP_Activity_Template $activities_template The main activity template loop class. 1002 1000 * 1003 1001 * @return string $link The activity user link. … … 1040 1038 * 1041 1039 * @see bp_core_fetch_avatar() For a description of the arguments. 1042 * @global object $activities_template {@link BP_Activity_Template}1040 * @global BP_Activity_Template $activities_template The main activity template loop class. 1043 1041 * 1044 1042 * @param array|string $args { … … 1177 1175 * 1178 1176 * @see bp_core_fetch_avatar() for description of arguments. 1179 * @global object $activities_template {@link BP_Activity_Template}1177 * @global BP_Activity_Template $activities_template The main activity template loop class. 1180 1178 * 1181 1179 * @param array|string $args { … … 1363 1361 * @since 1.7.0 Introduce function parameter, $args. 1364 1362 * 1365 * @global object $activities_template {@link BP_Activity_Template}1363 * @global BP_Activity_Template $activities_template The main activity template loop class. 1366 1364 * 1367 1365 * @param array $args { … … 1428 1426 * @since 1.2.0 1429 1427 * 1430 * @global object $activities_template {@link BP_Activity_Template}1428 * @global BP_Activity_Template $activities_template The main activity template loop class. 1431 1429 * 1432 1430 * @return string The activity content body. … … 1457 1455 * @since 10.0.0 Generate a richer content for activity types supporting the feature. 1458 1456 * 1459 * @global object $activities_template {@link BP_Activity_Template}1457 * @global BP_Activity_Template $activities_template The main activity template loop class. 1460 1458 * 1461 1459 * @return bool True if activity has content, false otherwise. … … 1755 1753 * @since 1.2.0 1756 1754 * 1757 * @global object $activities_template {@link BP_Activity_Template}1755 * @global BP_Activity_Template $activities_template The main activity template loop class. 1758 1756 * 1759 1757 * @param string $content The activity content. … … 1831 1829 * @since 1.2.0 1832 1830 * 1833 * @global object $activities_template {@link BP_Activity_Template}1831 * @global BP_Activity_Template $activities_template The main activity template loop class. 1834 1832 * 1835 1833 * @param false|BP_Activity_Activity $activity Optional. Falls back on the current item in the loop. … … 1907 1905 * @since 1.2.0 1908 1906 * 1909 * @global object $activities_template {@link BP_Activity_Template}1907 * @global BP_Activity_Template $activities_template The main activity template loop class. 1910 1908 * 1911 1909 * @param string $args Unused. Left over from an earlier implementation. … … 1971 1969 * @since 1.7.0 1972 1970 * 1973 * @global BP_Activity_Template $activities_template 1971 * @global BP_Activity_Template $activities_template The main activity template loop class. 1974 1972 * 1975 1973 * @return bool|int False if parent activity can't be found, otherwise … … 2024 2022 * @since 1.2.0 2025 2023 * 2026 * @global object $activities_template {@link BP_Activity_Template}2024 * @global BP_Activity_Template $activities_template The main activity template loop class. 2027 2025 * 2028 2026 * @return bool True if user favorite, false otherwise. … … 2063 2061 * this function can probably be streamlined or removed. 2064 2062 * 2065 * @global object $activities_template {@link BP_Activity_Template}2063 * @global BP_Activity_Template $activities_template The main activity template loop class. 2066 2064 * 2067 2065 * @param string $args Unused. Left over from an earlier implementation. … … 2086 2084 * @since 1.2.0 2087 2085 * 2088 * @global object $activities_template {@link BP_Activity_Template}2086 * @global BP_Activity_Template $activities_template The main activity template loop class. 2089 2087 * 2090 2088 * @param object $comment The activity object currently being recursed. … … 2145 2143 * @since 1.5.0 2146 2144 * 2147 * @global object $activities_template {@link BP_Activity_Template}2145 * @global BP_Activity_Template $activities_template The main activity template loop class. 2148 2146 * 2149 2147 * @return object|bool $current_comment The activity comment currently being … … 2183 2181 * @since 1.5.0 2184 2182 * 2185 * @global object $activities_template {@link BP_Activity_Template}2183 * @global BP_Activity_Template $activities_template The main activity template loop class. 2186 2184 * 2187 2185 * @return int|bool $comment_id The ID of the activity comment currently … … 2218 2216 * @since 1.5.0 2219 2217 * 2220 * @global object $activities_template {@link BP_Activity_Template}2218 * @global BP_Activity_Template $activities_template The main activity template loop class. 2221 2219 * 2222 2220 * @return int|bool $user_id The user_id of the author of the displayed … … 2287 2285 * @since 1.5.0 2288 2286 * 2289 * @global object $activities_template {@link BP_Activity_Template}2287 * @global BP_Activity_Template $activities_template The main activity template loop class. 2290 2288 * 2291 2289 * @return string $name The full name of the activity comment author. … … 2357 2355 * @since 2.3.0 2358 2356 * 2359 * @global object $activities_template {@link BP_Activity_Template}2357 * @global BP_Activity_Template $activities_template The main activity template loop class. 2360 2358 * 2361 2359 * @return string|bool $date_recorded Time since the activity was recorded, … … 2427 2425 * @since 1.5.0 2428 2426 * 2429 * @global object $activities_template {@link BP_Activity_Template}2427 * @global BP_Activity_Template $activities_template The main activity template loop class. 2430 2428 * 2431 2429 * @return string $content The content of the current activity comment. … … 2464 2462 * @since 1.2.0 2465 2463 * 2466 * @global object $activities_template {@link BP_Activity_Template}2464 * @global BP_Activity_Template $activities_template The main activity template loop class. 2467 2465 * 2468 2466 * @param array|null $deprecated Deprecated. … … 2624 2622 * @since 1.2.0 2625 2623 * 2626 * @global object $activities_template {@link BP_Activity_Template}2624 * @global BP_Activity_Template $activities_template The main activity template loop class. 2627 2625 * 2628 2626 * @return string The activity comment link. … … 2656 2654 * @since 1.2.0 2657 2655 * 2658 * @global object $activities_template {@link BP_Activity_Template}2656 * @global BP_Activity_Template $activities_template The main activity template loop class. 2659 2657 * 2660 2658 * @return string|false The activity comment form no JavaScript … … 2816 2814 * @since 1.2.0 2817 2815 * 2818 * @global object $activities_template {@link BP_Activity_Template}2816 * @global BP_Activity_Template $activities_template The main activity template loop class. 2819 2817 * 2820 2818 * @return string The activity favorite link. … … 2848 2846 * @since 1.2.0 2849 2847 * 2850 * @global object $activities_template {@link BP_Activity_Template}2848 * @global BP_Activity_Template $activities_template The main activity template loop class. 2851 2849 * 2852 2850 * @return string The activity unfavorite link. … … 2880 2878 * @since 1.0.0 2881 2879 * 2882 * @global object $activities_template {@link BP_Activity_Template}2880 * @global BP_Activity_Template $activities_template The main activity template loop class. 2883 2881 * 2884 2882 * @return string The activity item's CSS class. … … 2938 2936 * @since 1.1.0 2939 2937 * 2940 * @global object $activities_template {@link BP_Activity_Template}2938 * @global BP_Activity_Template $activities_template The main activity template loop class. 2941 2939 * 2942 2940 * @return string $link Activity delete link. Contains $redirect_to arg … … 2981 2979 * @since 2.1.0 2982 2980 * 2983 * @global object $activities_template {@link BP_Activity_Template}2981 * @global BP_Activity_Template $activities_template The main activity template loop class. 2984 2982 * 2985 2983 * @return string $link Activity delete link. Contains $redirect_to arg … … 3199 3197 * @since 1.2.0 3200 3198 * 3201 * @global object $activities_template {@link BP_Activity_Template}3199 * @global BP_Activity_Template $activities_template The main activity template loop class. 3202 3200 * 3203 3201 * @return bool $can_comment True if item can receive comments. … … 3980 3978 * @since 1.2.0 3981 3979 * 3982 * @global object $activities_template {@link BP_Activity_Template}3980 * @global BP_Activity_Template $activities_template The main activity template loop class. 3983 3981 * 3984 3982 * @return string The activity feed item guid. … … 4012 4010 * @since 1.0.0 4013 4011 * 4014 * @global object $activities_template {@link BP_Activity_Template}4012 * @global BP_Activity_Template $activities_template The main activity template loop class. 4015 4013 * 4016 4014 * @return string $title The activity feed item title. … … 4061 4059 * @since 1.0.0 4062 4060 * 4063 * @global object $activities_template {@link BP_Activity_Template}4061 * @global BP_Activity_Template $activities_template The main activity template loop class. 4064 4062 * 4065 4063 * @return string The activity feed item link. … … 4097 4095 * @since 1.0.0 4098 4096 * 4099 * @global object $activities_template {@link BP_Activity_Template}4097 * @global BP_Activity_Template $activities_template The main activity template loop class. 4100 4098 * 4101 4099 * @return string The activity feed item date. … … 4133 4131 * @since 1.0.0 4134 4132 * 4135 * @global object $activities_template {@link BP_Activity_Template}4133 * @global BP_Activity_Template $activities_template The main activity template loop class. 4136 4134 * 4137 4135 * @return string The activity feed item description.
Note: See TracChangeset
for help on using the changeset viewer.