Changeset 5951 for trunk/src/includes/topics/template.php
- Timestamp:
- 10/28/2015 04:07:50 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/topics/template.php (modified) (156 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/topics/template.php
r5842 r5951 16 16 * Output the unique id of the custom post type for topics 17 17 * 18 * @since bbPress (r2857)18 * @since 2.0.0 bbPress (r2857) 19 19 * 20 20 * @uses bbp_get_topic_post_type() To get the topic post type … … 26 26 * Return the unique id of the custom post type for topics 27 27 * 28 * @since bbPress (r2857)28 * @since 2.0.0 bbPress (r2857) 29 29 * 30 30 * @uses apply_filters() Calls 'bbp_get_topic_post_type' with the topic … … 39 39 * Return array of labels used by the topic post type 40 40 * 41 * @since bbPress (r5129)41 * @since 2.5.0 bbPress (r5129) 42 42 * 43 43 * @return array … … 66 66 * Return array of topic post type rewrite settings 67 67 * 68 * @since bbPress (r5129)68 * @since 2.5.0 bbPress (r5129) 69 69 * 70 70 * @return array … … 80 80 * Return array of features the topic post type supports 81 81 * 82 * @since bbPress (r5129)82 * @since 2.5.0 bbPress (r5129) 83 83 * 84 84 * @return array … … 97 97 * - New Style: Topics appear as "lead" posts, ahead of replies 98 98 * 99 * @since bbPress (r2954) 99 * @since 2.0.0 bbPress (r2954) 100 * 100 101 * @param $show_lead Optional. Default false 101 102 * @return bool Yes if the topic appears as a lead, otherwise false … … 116 117 * The main topic loop. WordPress makes this easy for us 117 118 * 118 * @since bbPress (r2485)119 * @since 2.0.0 bbPress (r2485) 119 120 * 120 121 * @param array $args All the arguments supported by {@link WP_Query} … … 428 429 * Whether there are more topics available in the loop 429 430 * 430 * @since bbPress (r2485)431 * @since 2.0.0 bbPress (r2485) 431 432 * 432 433 * @uses WP_Query bbPress::topic_query::have_posts() … … 449 450 * Loads up the current topic in the loop 450 451 * 451 * @since bbPress (r2485)452 * @since 2.0.0 bbPress (r2485) 452 453 * 453 454 * @uses WP_Query bbPress::topic_query::the_post() … … 461 462 * Output the topic id 462 463 * 463 * @since bbPress (r2485)464 * @since 2.0.0 bbPress (r2485) 464 465 * 465 466 * @uses bbp_get_topic_id() To get the topic id … … 471 472 * Return the topic id 472 473 * 473 * @since bbPress (r2485)474 * @since 2.0.0 bbPress (r2485) 474 475 * 475 476 * @param $topic_id Optional. Used to check emptiness … … 528 529 * Gets a topic 529 530 * 530 * @since bbPress (r2787)531 * @since 2.0.0 bbPress (r2787) 531 532 * 532 533 * @param int|object $topic Topic id or topic object … … 575 576 * Output the link to the topic in the topic loop 576 577 * 577 * @since bbPress (r2485)578 * @since 2.0.0 bbPress (r2485) 578 579 * 579 580 * @param int $topic_id Optional. Topic id … … 588 589 * Return the link to the topic 589 590 * 590 * @since bbPress (r2485)591 * @since 2.0.0 bbPress (r2485) 591 592 * 592 593 * @param int $topic_id Optional. Topic id … … 618 619 * Output the title of the topic 619 620 * 620 * @since bbPress (r2485)621 * @since 2.0.0 bbPress (r2485) 621 622 * 622 623 * @param int $topic_id Optional. Topic id … … 629 630 * Return the title of the topic 630 631 * 631 * @since bbPress (r2485)632 * @since 2.0.0 bbPress (r2485) 632 633 * 633 634 * @param int $topic_id Optional. Topic id … … 648 649 * Output the topic archive title 649 650 * 650 * @since bbPress (r3249)651 * @since 2.0.0 bbPress (r3249) 651 652 * 652 653 * @param string $title Default text to use as title … … 658 659 * Return the topic archive title 659 660 * 660 * @since bbPress (r3249)661 * @since 2.0.0 bbPress (r3249) 661 662 * 662 663 * @param string $title Default text to use as title … … 694 695 * Output the content of the topic 695 696 * 696 * @since bbPress (r2780)697 * @since 2.0.0 bbPress (r2780) 697 698 * 698 699 * @param int $topic_id Optional. Topic id … … 705 706 * Return the content of the topic 706 707 * 707 * @since bbPress (r2780)708 * @since 2.0.0 bbPress (r2780) 708 709 * 709 710 * @param int $topic_id Optional. Topic id … … 732 733 * Output the excerpt of the topic 733 734 * 734 * @since bbPress (r2780)735 * @since 2.0.0 bbPress (r2780) 735 736 * 736 737 * @param int $topic_id Optional. Topic id … … 744 745 * Return the excerpt of the topic 745 746 * 746 * @since bbPress (r2780)747 * @since 2.0.0 bbPress (r2780) 747 748 * 748 749 * @param int $topic_id Optional. topic id … … 785 786 * Output the post date and time of a topic 786 787 * 787 * @since bbPress (r4155)788 * @since 2.2.0 bbPress (r4155) 788 789 * 789 790 * @param int $topic_id Optional. Topic id. … … 798 799 * Return the post date and time of a topic 799 800 * 800 * @since bbPress (r4155)801 * @since 2.2.0 bbPress (r4155) 801 802 * 802 803 * @param int $topic_id Optional. Topic id. … … 831 832 * Output pagination links of a topic within the topic loop 832 833 * 833 * @since bbPress (r2966)834 * @since 2.0.0 bbPress (r2966) 834 835 * 835 836 * @param array $args See {@link bbp_get_topic_pagination()} … … 842 843 * Returns pagination links of a topic within the topic loop 843 844 * 844 * @since bbPress (r2966)845 * @since 2.0.0 bbPress (r2966) 845 846 * 846 847 * @param array $args This function supports these arguments: … … 922 923 * Append revisions to the topic content 923 924 * 924 * @since bbPress (r2782)925 * @since 2.0.0 bbPress (r2782) 925 926 * 926 927 * @param string $content Optional. Content to which we need to append the revisions to … … 947 948 * Output the revision log of the topic 948 949 * 949 * @since bbPress (r2782)950 * @since 2.0.0 bbPress (r2782) 950 951 * 951 952 * @param int $topic_id Optional. Topic id … … 958 959 * Return the formatted revision log of the topic 959 960 * 960 * @since bbPress (r2782)961 * @since 2.0.0 bbPress (r2782) 961 962 * 962 963 * @param int $topic_id Optional. Topic id … … 1019 1020 * Return the raw revision log of the topic 1020 1021 * 1021 * @since bbPress (r2782)1022 * @since 2.0.0 bbPress (r2782) 1022 1023 * 1023 1024 * @param int $topic_id Optional. Topic id … … 1040 1041 * Return the revisions of the topic 1041 1042 * 1042 * @since bbPress (r2782)1043 * @since 2.0.0 bbPress (r2782) 1043 1044 * 1044 1045 * @param int $topic_id Optional. Topic id … … 1059 1060 * Return the revision count of the topic 1060 1061 * 1061 * @since bbPress (r2782)1062 * @since 2.0.0 bbPress (r2782) 1062 1063 * 1063 1064 * @param int $topic_id Optional. Topic id … … 1077 1078 * Is the topic a sticky or super sticky? 1078 1079 * 1079 * @since bbPress (r2754)1080 * @since 2.0.0 bbPress (r2754) 1080 1081 * 1081 1082 * @param int $topic_id Optional. Topic id … … 1106 1107 * Is the topic a super sticky? 1107 1108 * 1108 * @since bbPress (r2754)1109 * @since 2.0.0 bbPress (r2754) 1109 1110 * 1110 1111 * @param int $topic_id Optional. Topic id … … 1124 1125 * Output the status of the topic 1125 1126 * 1126 * @since bbPress (r2667)1127 * @since 2.0.0 bbPress (r2667) 1127 1128 * 1128 1129 * @param int $topic_id Optional. Topic id … … 1135 1136 * Return the status of the topic 1136 1137 * 1137 * @since bbPress (r2667)1138 * @since 2.0.0 bbPress (r2667) 1138 1139 * 1139 1140 * @param int $topic_id Optional. Topic id … … 1153 1154 * Is the topic closed to new replies? 1154 1155 * 1155 * @since bbPress (r2746)1156 * @since 2.0.0 bbPress (r2746) 1156 1157 * 1157 1158 * @param int $topic_id Optional. Topic id … … 1172 1173 * Is the topic open to new replies? 1173 1174 * 1174 * @since bbPress (r2727)1175 * @since 2.0.0 bbPress (r2727) 1175 1176 * 1176 1177 * @uses bbp_get_topic_status() … … 1187 1188 * Is the topic not spam or deleted? 1188 1189 * 1189 * @since bbPress (r3496)1190 * @since 2.0.0 bbPress (r3496) 1190 1191 * 1191 1192 * @param int $topic_id Optional. Topic id … … 1206 1207 * Is the topic marked as spam? 1207 1208 * 1208 * @since bbPress (r2727)1209 * @since 2.0.0 bbPress (r2727) 1209 1210 * 1210 1211 * @param int $topic_id Optional. Topic id … … 1225 1226 * Is the topic trashed? 1226 1227 * 1227 * @since bbPress (r2888)1228 * @since 2.0.0 bbPress (r2888) 1228 1229 * 1229 1230 * @param int $topic_id Optional. Topic id … … 1244 1245 * Is the topic pending? 1245 1246 * 1246 * @since bbPress (r5504)1247 * @since 2.6.0 bbPress (r5504) 1247 1248 * 1248 1249 * @param int $topic_id Optional. Topic id … … 1263 1264 * Is the topic private? 1264 1265 * 1265 * @since bbPress (r5504)1266 * @since 2.6.0 bbPress (r5504) 1266 1267 * 1267 1268 * @param int $topic_id Optional. Topic id … … 1282 1283 * Is the posted by an anonymous user? 1283 1284 * 1284 * @since bbPress (r2753)1285 * @since 2.0.0 bbPress (r2753) 1285 1286 * 1286 1287 * @param int $topic_id Optional. Topic id … … 1314 1315 * Output the author of the topic. 1315 1316 * 1316 * @since bbPress (r2590) 1317 * @deprecated bbPress (r5119) 1317 * @since 2.0.0 bbPress (r2590) 1318 * 1319 * @deprecated 2.5.0 bbPress (r5119) 1318 1320 * 1319 1321 * @param int $topic_id Optional. Topic id … … 1328 1330 * Return the author of the topic 1329 1331 * 1330 * @since bbPress (r2590) 1331 * @deprecated bbPress (r5119) 1332 * @since 2.0.0 bbPress (r2590) 1333 * 1334 * @deprecated 2.5.0 bbPress (r5119) 1332 1335 * 1333 1336 * @param int $topic_id Optional. Topic id … … 1357 1360 * Output the author ID of the topic 1358 1361 * 1359 * @since bbPress (r2590)1362 * @since 2.0.0 bbPress (r2590) 1360 1363 * 1361 1364 * @param int $topic_id Optional. Topic id … … 1368 1371 * Return the author ID of the topic 1369 1372 * 1370 * @since bbPress (r2590)1373 * @since 2.0.0 bbPress (r2590) 1371 1374 * 1372 1375 * @param int $topic_id Optional. Topic id … … 1387 1390 * Output the author display_name of the topic 1388 1391 * 1389 * @since bbPress (r2590)1392 * @since 2.0.0 bbPress (r2590) 1390 1393 * 1391 1394 * @param int $topic_id Optional. Topic id … … 1399 1402 * Return the author display_name of the topic 1400 1403 * 1401 * @since bbPress (r2485)1404 * @since 2.0.0 bbPress (r2485) 1402 1405 * 1403 1406 * @param int $topic_id Optional. Topic id … … 1450 1453 * Output the author avatar of the topic 1451 1454 * 1452 * @since bbPress (r2590)1455 * @since 2.0.0 bbPress (r2590) 1453 1456 * 1454 1457 * @param int $topic_id Optional. Topic id … … 1462 1465 * Return the author avatar of the topic 1463 1466 * 1464 * @since bbPress (r2590)1467 * @since 2.0.0 bbPress (r2590) 1465 1468 * 1466 1469 * @param int $topic_id Optional. Topic id … … 1494 1497 * Output the author link of the topic 1495 1498 * 1496 * @since bbPress (r2717)1499 * @since 2.0.0 bbPress (r2717) 1497 1500 * 1498 1501 * @param mixed|int $args If it is an integer, it is used as topic_id. Optional. … … 1505 1508 * Return the author link of the topic 1506 1509 * 1507 * @since bbPress (r2717)1510 * @since 2.0.0 bbPress (r2717) 1508 1511 * 1509 1512 * @param mixed|int $args If it is an integer, it is used as topic id. … … 1607 1610 * Output the author url of the topic 1608 1611 * 1609 * @since bbPress (r2590)1612 * @since 2.0.0 bbPress (r2590) 1610 1613 * 1611 1614 * @param int $topic_id Optional. Topic id … … 1619 1622 * Return the author url of the topic 1620 1623 * 1621 * @since bbPress (r2590)1624 * @since 2.0.0 bbPress (r2590) 1622 1625 * 1623 1626 * @param int $topic_id Optional. Topic id … … 1654 1657 * Output the topic author email address 1655 1658 * 1656 * @since bbPress (r3445)1659 * @since 2.0.0 bbPress (r3445) 1657 1660 * 1658 1661 * @param int $topic_id Optional. Reply id … … 1665 1668 * Return the topic author email address 1666 1669 * 1667 * @since bbPress (r3445)1670 * @since 2.0.0 bbPress (r3445) 1668 1671 * 1669 1672 * @param int $topic_id Optional. Reply id … … 1707 1710 * Output the topic author role 1708 1711 * 1709 * @since bbPress (r3860)1712 * @since 2.1.0 bbPress (r3860) 1710 1713 * 1711 1714 * @param array $args Optional. … … 1718 1721 * Return the topic author role 1719 1722 * 1720 * @since bbPress (r3860)1723 * @since 2.1.0 bbPress (r3860) 1721 1724 * 1722 1725 * @param array $args Optional. … … 1758 1761 * Output the title of the forum a topic belongs to 1759 1762 * 1760 * @since bbPress (r2485)1763 * @since 2.0.0 bbPress (r2485) 1761 1764 * 1762 1765 * @param int $topic_id Optional. Topic id … … 1769 1772 * Return the title of the forum a topic belongs to 1770 1773 * 1771 * @since bbPress (r2485)1774 * @since 2.0.0 bbPress (r2485) 1772 1775 * 1773 1776 * @param int $topic_id Optional. Topic id … … 1788 1791 * Output the forum id a topic belongs to 1789 1792 * 1790 * @since bbPress (r2491)1793 * @since 2.0.0 bbPress (r2491) 1791 1794 * 1792 1795 * @param int $topic_id Optional. Topic id … … 1799 1802 * Return the forum id a topic belongs to 1800 1803 * 1801 * @since bbPress (r2491)1804 * @since 2.0.0 bbPress (r2491) 1802 1805 * 1803 1806 * @param int $topic_id Optional. Topic id … … 1818 1821 * Output the topics last active ID 1819 1822 * 1820 * @since bbPress (r2860)1823 * @since 2.0.0 bbPress (r2860) 1821 1824 * 1822 1825 * @param int $topic_id Optional. Forum id … … 1829 1832 * Return the topics last active ID 1830 1833 * 1831 * @since bbPress (r2860)1834 * @since 2.0.0 bbPress (r2860) 1832 1835 * 1833 1836 * @param int $topic_id Optional. Forum id … … 1848 1851 * Output the topics last update date/time (aka freshness) 1849 1852 * 1850 * @since bbPress (r2625)1853 * @since 2.0.0 bbPress (r2625) 1851 1854 * 1852 1855 * @param int $topic_id Optional. Topic id … … 1859 1862 * Return the topics last update date/time (aka freshness) 1860 1863 * 1861 * @since bbPress (r2625)1864 * @since 2.0.0 bbPress (r2625) 1862 1865 * 1863 1866 * @param int $topic_id Optional. Topic id … … 1897 1900 * Output the topic subscription link 1898 1901 * 1899 * @since bbPress (r5156)1902 * @since 2.5.0 bbPress (r5156) 1900 1903 * 1901 1904 * @uses bbp_get_topic_subscription_link() … … 1910 1913 * A custom wrapper for bbp_get_user_subscribe_link() 1911 1914 * 1912 * @since bbPress (r5156)1915 * @since 2.5.0 bbPress (r5156) 1913 1916 * 1914 1917 * @uses bbp_parse_args() … … 1942 1945 * Output the topic favorite link 1943 1946 * 1944 * @since bbPress (r5156)1947 * @since 2.5.0 bbPress (r5156) 1945 1948 * 1946 1949 * @uses bbp_get_topic_favorite_link() … … 1955 1958 * A custom wrapper for bbp_get_user_favorite_link() 1956 1959 * 1957 * @since bbPress (r5156)1960 * @since 2.5.0 bbPress (r5156) 1958 1961 * 1959 1962 * @uses bbp_parse_args() … … 1987 1990 * Output the id of the topics last reply 1988 1991 * 1989 * @since bbPress (r2625)1992 * @since 2.0.0 bbPress (r2625) 1990 1993 * 1991 1994 * @param int $topic_id Optional. Topic id … … 1998 2001 * Return the topics last update date/time (aka freshness) 1999 2002 * 2000 * @since bbPress (r2625)2003 * @since 2.0.0 bbPress (r2625) 2001 2004 * 2002 2005 * @param int $topic_id Optional. Topic id … … 2045 2048 * Output the link to the last reply in a topic 2046 2049 * 2047 * @since bbPress (r2464)2050 * @since 2.0.0 bbPress (r2464) 2048 2051 * 2049 2052 * @param int $topic_id Optional. Topic id … … 2056 2059 * Return the link to the last reply in a topic 2057 2060 * 2058 * @since bbPress (r2464)2061 * @since 2.0.0 bbPress (r2464) 2059 2062 * 2060 2063 * @param int $topic_id Optional. Topic id … … 2077 2080 * Output the link to the last reply in a topic 2078 2081 * 2079 * @since bbPress (r2683)2082 * @since 2.0.0 bbPress (r2683) 2080 2083 * 2081 2084 * @param int $topic_id Optional. Topic id … … 2088 2091 * Return the link to the last reply in a topic 2089 2092 * 2090 * @since bbPress (r2683)2093 * @since 2.0.0 bbPress (r2683) 2091 2094 * 2092 2095 * @param int $topic_id Optional. Topic id … … 2116 2119 * attributes and content. 2117 2120 * 2118 * @since bbPress (r2625)2121 * @since 2.0.0 bbPress (r2625) 2119 2122 * 2120 2123 * @param int $topic_id Optional. Topic id … … 2128 2131 * with link attributes and content. 2129 2132 * 2130 * @since bbPress (r2625)2133 * @since 2.0.0 bbPress (r2625) 2131 2134 * 2132 2135 * @param int $topic_id Optional. Topic id … … 2157 2160 * Output the replies link of the topic 2158 2161 * 2159 * @since bbPress (r2740)2162 * @since 2.0.0 bbPress (r2740) 2160 2163 * 2161 2164 * @param int $topic_id Optional. Topic id … … 2169 2172 * Return the replies link of the topic 2170 2173 * 2171 * @since bbPress (r2740)2174 * @since 2.0.0 bbPress (r2740) 2172 2175 * 2173 2176 * @param int $topic_id Optional. Topic id … … 2222 2225 * Output total reply count of a topic 2223 2226 * 2224 * @since bbPress (r2485)2227 * @since 2.0.0 bbPress (r2485) 2225 2228 * 2226 2229 * @param int $topic_id Optional. Topic id … … 2234 2237 * Return total reply count of a topic 2235 2238 * 2236 * @since bbPress (r2485)2239 * @since 2.0.0 bbPress (r2485) 2237 2240 * 2238 2241 * @param int $topic_id Optional. Topic id … … 2255 2258 * Output total post count of a topic 2256 2259 * 2257 * @since bbPress (r2954)2260 * @since 2.0.0 bbPress (r2954) 2258 2261 * 2259 2262 * @param int $topic_id Optional. Topic id … … 2267 2270 * Return total post count of a topic 2268 2271 * 2269 * @since bbPress (r2954)2272 * @since 2.0.0 bbPress (r2954) 2270 2273 * 2271 2274 * @param int $topic_id Optional. Topic id … … 2289 2292 * spammed replies) 2290 2293 * 2291 * @since bbPress (r2740)2294 * @since 2.0.0 bbPress (r2740) 2292 2295 * 2293 2296 * @param int $topic_id Optional. Topic id … … 2302 2305 * and spammed replies) 2303 2306 * 2304 * @since bbPress (r2740)2307 * @since 2.0.0 bbPress (r2740) 2305 2308 * 2306 2309 * @param int $topic_id Optional. Topic id … … 2323 2326 * Output total voice count of a topic 2324 2327 * 2325 * @since bbPress (r2567)2328 * @since 2.0.0 bbPress (r2567) 2326 2329 * 2327 2330 * @param int $topic_id Optional. Topic id … … 2334 2337 * Return total voice count of a topic 2335 2338 * 2336 * @since bbPress (r2567)2339 * @since 2.0.0 bbPress (r2567) 2337 2340 * 2338 2341 * @param int $topic_id Optional. Topic id … … 2354 2357 * Output a the tags of a topic 2355 2358 * 2356 * @since bbPress (r2688)2359 * @since 2.0.0 bbPress (r2688) 2357 2360 * 2358 2361 * @param int $topic_id Optional. Topic id … … 2366 2369 * Return the tags of a topic 2367 2370 * 2368 * @since bbPress (r2688)2371 * @since 2.0.0 bbPress (r2688) 2369 2372 * 2370 2373 * @param int $topic_id Optional. Topic id … … 2423 2426 * Output the row class of a topic 2424 2427 * 2425 * @since bbPress (r2667)2428 * @since 2.0.0 bbPress (r2667) 2426 2429 * 2427 2430 * @param int $topic_id Optional. Topic id … … 2435 2438 * Return the row class of a topic 2436 2439 * 2437 * @since bbPress (r2667)2440 * @since 2.0.0 bbPress (r2667) 2438 2441 * 2439 2442 * @param int $topic_id Optional. Topic id … … 2551 2554 * Output the edit link of the topic 2552 2555 * 2553 * @since bbPress (r2727)2556 * @since 2.0.0 bbPress (r2727) 2554 2557 * 2555 2558 * @param array $args See {@link bbp_get_topic_edit_link()} … … 2563 2566 * Return the edit link of the topic 2564 2567 * 2565 * @since bbPress (r2727)2568 * @since 2.0.0 bbPress (r2727) 2566 2569 * 2567 2570 * @param array $args This function supports these args: … … 2617 2620 * Output URL to the topic edit page 2618 2621 * 2619 * @since bbPress (r2753)2622 * @since 2.0.0 bbPress (r2753) 2620 2623 * 2621 2624 * @param int $topic_id Optional. Topic id … … 2628 2631 * Return URL to the topic edit page 2629 2632 * 2630 * @since bbPress (r2753)2633 * @since 2.0.0 bbPress (r2753) 2631 2634 * 2632 2635 * @param int $topic_id Optional. Topic id … … 2670 2673 * Output the trash link of the topic 2671 2674 * 2672 * @since bbPress (r2727)2675 * @since 2.0.0 bbPress (r2727) 2673 2676 * 2674 2677 * @param array $args See {@link bbp_get_topic_trash_link()} … … 2682 2685 * Return the trash link of the topic 2683 2686 * 2684 * @since bbPress (r2727)2687 * @since 2.0.0 bbPress (r2727) 2685 2688 * 2686 2689 * @param array $args This function supports these args: … … 2745 2748 * Output the close link of the topic 2746 2749 * 2747 * @since bbPress (r2727)2750 * @since 2.0.0 bbPress (r2727) 2748 2751 * 2749 2752 * @param array $args See {@link bbp_get_topic_close_link()} … … 2757 2760 * Return the close link of the topic 2758 2761 * 2759 * @since bbPress (r2727)2762 * @since 2.0.0 bbPress (r2727) 2760 2763 * 2761 2764 * @param array $args This function supports these args: … … 2805 2808 * Output the approve link of the topic 2806 2809 * 2807 * @since bbPress (r5504)2810 * @since 2.6.0 bbPress (r5504) 2808 2811 * 2809 2812 * @param array $args See {@link bbp_get_topic_approve_link()} … … 2817 2820 * Return the approve link of the topic 2818 2821 * 2819 * @since bbPress (r5504)2822 * @since 2.6.0 bbPress (r5504) 2820 2823 * 2821 2824 * @param array $args This function supports these args: … … 2866 2869 * Output the stick link of the topic 2867 2870 * 2868 * @since bbPress (r2754)2871 * @since 2.0.0 bbPress (r2754) 2869 2872 * 2870 2873 * @param array $args See {@link bbp_get_topic_stick_link()} … … 2878 2881 * Return the stick link of the topic 2879 2882 * 2880 * @since bbPress (r2754)2883 * @since 2.0.0 bbPress (r2754) 2881 2884 * 2882 2885 * @param array $args This function supports these args: … … 2943 2946 * Output the merge link of the topic 2944 2947 * 2945 * @since bbPress (r2756)2948 * @since 2.0.0 bbPress (r2756) 2946 2949 * 2947 2950 * @param array $args … … 2955 2958 * Return the merge link of the topic 2956 2959 * 2957 * @since bbPress (r2756)2960 * @since 2.0.0 bbPress (r2756) 2958 2961 * 2959 2962 * @param array $args This function supports these args: … … 2996 2999 * Output the spam link of the topic 2997 3000 * 2998 * @since bbPress (r2727)3001 * @since 2.0.0 bbPress (r2727) 2999 3002 * 3000 3003 * @param array $args See {@link bbp_get_topic_spam_link()} … … 3008 3011 * Return the spam link of the topic 3009 3012 * 3010 * @since bbPress (r2727)3013 * @since 2.0.0 bbPress (r2727) 3011 3014 * 3012 3015 * @param array $args This function supports these args: … … 3056 3059 * Output the link to go directly to the reply form 3057 3060 * 3058 * @since bbPress (r4966)3061 * @since 2.4.0 bbPress (r4966) 3059 3062 * 3060 3063 * @param array $args … … 3068 3071 * Return the link to go directly to the reply form 3069 3072 * 3070 * @since bbPress (r4966)3073 * @since 2.4.0 bbPress (r4966) 3071 3074 * 3072 3075 * @param array $args Arguments … … 3110 3113 * Output the pagination count 3111 3114 * 3112 * @since bbPress (r2519)3115 * @since 2.0.0 bbPress (r2519) 3113 3116 * 3114 3117 * @uses bbp_get_forum_pagination_count() To get the forum pagination count … … 3120 3123 * Return the pagination count 3121 3124 * 3122 * @since bbPress (r2519)3125 * @since 2.0.0 bbPress (r2519) 3123 3126 * 3124 3127 * @uses bbp_number_format() To format the number value … … 3157 3160 * Output pagination links 3158 3161 * 3159 * @since bbPress (r2519)3162 * @since 2.0.0 bbPress (r2519) 3160 3163 * 3161 3164 * @uses bbp_get_forum_pagination_links() To get the pagination links … … 3167 3170 * Return pagination links 3168 3171 * 3169 * @since bbPress (r2519)3172 * @since 2.0.0 bbPress (r2519) 3170 3173 * 3171 3174 * @uses bbPress::topic_query::pagination_links To get the links … … 3185 3188 * Displays topic notices 3186 3189 * 3187 * @since bbPress (r2744)3190 * @since 2.0.0 bbPress (r2744) 3188 3191 * 3189 3192 * @uses bbp_is_single_topic() To check if it's a topic page … … 3235 3238 * Displays topic type select box (normal/sticky/super sticky) 3236 3239 * 3237 * @since bbPress (r5059) 3238 * @deprecated since bbPress (r5059) 3240 * @since 2.0.0 bbPress (r2784) 3241 * 3242 * @deprecated 2.4.0 bbPress (r5059) 3239 3243 * 3240 3244 * @param $args This function supports these arguments: … … 3251 3255 * Displays topic type select box (normal/sticky/super sticky) 3252 3256 * 3253 * @since bbPress (r5059)3257 * @since 2.4.0 bbPress (r5059) 3254 3258 * 3255 3259 * @param $args This function supports these arguments: … … 3265 3269 * Returns topic type select box (normal/sticky/super sticky) 3266 3270 * 3267 * @since bbPress (r5059)3271 * @since 2.4.0 bbPress (r5059) 3268 3272 * 3269 3273 * @param $args This function supports these arguments: … … 3342 3346 * Output value topic status dropdown 3343 3347 * 3344 * @since bbPress (r5059)3348 * @since 2.4.0 bbPress (r5059) 3345 3349 * 3346 3350 * @param $args This function supports these arguments: … … 3360 3364 * within this function to check available topic statuses. 3361 3365 * 3362 * @since bbPress (r5059)3366 * @since 2.4.0 bbPress (r5059) 3363 3367 * 3364 3368 * @param $args This function supports these arguments: … … 3429 3433 * total replies, and last activity. 3430 3434 * 3431 * @since bbPress (r2860)3435 * @since 2.0.0 bbPress (r2860) 3432 3436 * 3433 3437 * @param array $args See {@link bbp_get_single_topic_description()} … … 3441 3445 * total replies, and last activity. 3442 3446 * 3443 * @since bbPress (r2860)3447 * @since 2.0.0 bbPress (r2860) 3444 3448 * 3445 3449 * @param array $args This function supports these arguments: … … 3513 3517 * Output the unique id of the topic tag taxonomy 3514 3518 * 3515 * @since bbPress (r3348)3519 * @since 2.0.0 bbPress (r3348) 3516 3520 * 3517 3521 * @uses bbp_get_topic_post_type() To get the topic post type … … 3523 3527 * Return the unique id of the topic tag taxonomy 3524 3528 * 3525 * @since bbPress (r3348)3529 * @since 2.0.0 bbPress (r3348) 3526 3530 * 3527 3531 * @uses apply_filters() Calls 'bbp_get_topic_tag_tax_id' with the topic tax id … … 3535 3539 * Return array of labels used by the topic-tag taxonomy 3536 3540 * 3537 * @since bbPress (r5129)3541 * @since 2.5.0 bbPress (r5129) 3538 3542 * 3539 3543 * @return array … … 3558 3562 * Return an array of topic-tag taxonomy rewrite settings 3559 3563 * 3560 * @since bbPress (r5129)3564 * @since 2.5.0 bbPress (r5129) 3561 3565 * 3562 3566 * @return array … … 3572 3576 * Output the id of the current tag 3573 3577 * 3574 * @since bbPress (r3109)3578 * @since 2.0.0 bbPress (r3109) 3575 3579 * 3576 3580 * @uses bbp_get_topic_tag_id() … … 3582 3586 * Return the id of the current tag 3583 3587 * 3584 * @since bbPress (r3109)3588 * @since 2.0.0 bbPress (r3109) 3585 3589 * 3586 3590 * @uses get_term_by() … … 3616 3620 * Output the name of the current tag 3617 3621 * 3618 * @since bbPress (r3109)3622 * @since 2.0.0 bbPress (r3109) 3619 3623 * 3620 3624 * @uses bbp_get_topic_tag_name() … … 3626 3630 * Return the name of the current tag 3627 3631 * 3628 * @since bbPress (r3109)3632 * @since 2.0.0 bbPress (r3109) 3629 3633 * 3630 3634 * @uses get_term_by() … … 3660 3664 * Output the slug of the current tag 3661 3665 * 3662 * @since bbPress (r3109)3666 * @since 2.0.0 bbPress (r3109) 3663 3667 * 3664 3668 * @uses bbp_get_topic_tag_slug() … … 3670 3674 * Return the slug of the current tag 3671 3675 * 3672 * @since bbPress (r3109)3676 * @since 2.0.0 bbPress (r3109) 3673 3677 * 3674 3678 * @uses get_term_by() … … 3704 3708 * Output the link of the current tag 3705 3709 * 3706 * @since bbPress (r3348)3710 * @since 2.0.0 bbPress (r3348) 3707 3711 * 3708 3712 * @uses bbp_get_topic_tag_link() … … 3714 3718 * Return the link of the current tag 3715 3719 * 3716 * @since bbPress (r3348)3720 * @since 2.0.0 bbPress (r3348) 3717 3721 * 3718 3722 * @uses get_term_by() … … 3748 3752 * Output the link of the current tag 3749 3753 * 3750 * @since bbPress (r3348)3754 * @since 2.0.0 bbPress (r3348) 3751 3755 * 3752 3756 * @uses bbp_get_topic_tag_edit_link() … … 3758 3762 * Return the link of the current tag 3759 3763 * 3760 * @since bbPress (r3348)3764 * @since 2.0.0 bbPress (r3348) 3761 3765 * 3762 3766 * @uses get_term_by() … … 3800 3804 * Output the description of the current tag 3801 3805 * 3802 * @since bbPress (r3109)3806 * @since 2.0.0 bbPress (r3109) 3803 3807 * 3804 3808 * @uses bbp_get_topic_tag_description() … … 3810 3814 * Return the description of the current tag 3811 3815 * 3812 * @since bbPress (r3109)3816 * @since 2.0.0 bbPress (r3109) 3813 3817 * 3814 3818 * @uses get_term_by() … … 3855 3859 * Output the value of topic title field 3856 3860 * 3857 * @since bbPress (r2976)3861 * @since 2.0.0 bbPress (r2976) 3858 3862 * 3859 3863 * @uses bbp_get_form_topic_title() To get the value of topic title field … … 3865 3869 * Return the value of topic title field 3866 3870 * 3867 * @since bbPress (r2976)3871 * @since 2.0.0 bbPress (r2976) 3868 3872 * 3869 3873 * @uses bbp_is_topic_edit() To check if it's topic edit page … … 3892 3896 * Output the value of topic content field 3893 3897 * 3894 * @since bbPress (r2976)3898 * @since 2.0.0 bbPress (r2976) 3895 3899 * 3896 3900 * @uses bbp_get_form_topic_content() To get value of topic content field … … 3902 3906 * Return the value of topic content field 3903 3907 * 3904 * @since bbPress (r2976)3908 * @since 2.0.0 bbPress (r2976) 3905 3909 * 3906 3910 * @uses bbp_is_topic_edit() To check if it's the topic edit page … … 3929 3933 * Allow topic rows to have adminstrative actions 3930 3934 * 3931 * @since bbPress (r3653) 3935 * @since 2.1.0 bbPress (r3653) 3936 * 3932 3937 * @uses do_action() 3933 3938 * @todo Links and filter … … 3940 3945 * Output value of topic tags field 3941 3946 * 3942 * @since bbPress (r2976) 3947 * @since 2.0.0 bbPress (r2976) 3948 * 3943 3949 * @uses bbp_get_form_topic_tags() To get the value of topic tags field 3944 3950 */ … … 3949 3955 * Return value of topic tags field 3950 3956 * 3951 * @since bbPress (r2976)3957 * @since 2.0.0 bbPress (r2976) 3952 3958 * 3953 3959 * @uses bbp_is_topic_edit() To check if it's the topic edit page … … 4004 4010 * Output value of topic forum 4005 4011 * 4006 * @since bbPress (r2976)4012 * @since 2.0.0 bbPress (r2976) 4007 4013 * 4008 4014 * @uses bbp_get_form_topic_forum() To get the topic's forum id … … 4014 4020 * Return value of topic forum 4015 4021 * 4016 * @since bbPress (r2976)4022 * @since 2.0.0 bbPress (r2976) 4017 4023 * 4018 4024 * @uses bbp_is_topic_edit() To check if it's the topic edit page … … 4042 4048 * Output checked value of topic subscription 4043 4049 * 4044 * @since bbPress (r2976)4050 * @since 2.0.0 bbPress (r2976) 4045 4051 * 4046 4052 * @uses bbp_get_form_topic_subscribed() To get the subscribed checkbox value … … 4052 4058 * Return checked value of topic subscription 4053 4059 * 4054 * @since bbPress (r2976)4060 * @since 2.0.0 bbPress (r2976) 4055 4061 * 4056 4062 * @uses bbp_is_topic_edit() To check if it's the topic edit page … … 4100 4106 * Output checked value of topic log edit field 4101 4107 * 4102 * @since bbPress (r2976)4108 * @since 2.0.0 bbPress (r2976) 4103 4109 * 4104 4110 * @uses bbp_get_form_topic_log_edit() To get the topic log edit value … … 4110 4116 * Return checked value of topic log edit field 4111 4117 * 4112 * @since bbPress (r2976)4118 * @since 2.0.0 bbPress (r2976) 4113 4119 * 4114 4120 * @uses apply_filters() Calls 'bbp_get_form_topic_log_edit' with the … … 4136 4142 * Output the value of the topic edit reason 4137 4143 * 4138 * @since bbPress (r2976)4144 * @since 2.0.0 bbPress (r2976) 4139 4145 * 4140 4146 * @uses bbp_get_form_topic_edit_reason() To get the topic edit reason value … … 4146 4152 * Return the value of the topic edit reason 4147 4153 * 4148 * @since bbPress (r2976)4154 * @since 2.0.0 bbPress (r2976) 4149 4155 * 4150 4156 * @uses apply_filters() Calls 'bbp_get_form_topic_edit_reason' with the … … 4174 4180 * @see bbp_topic_form_fields() 4175 4181 * 4176 * @since bbPress (r5558) 4182 * @since 2.6.0 bbPress (r5558) 4183 * 4177 4184 * @return boolean True if is a post request with valid nonce 4178 4185 */
Note: See TracChangeset
for help on using the changeset viewer.