Changeset 6573 for trunk/src/includes/topics/template.php
- Timestamp:
- 06/16/2017 09:20:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/topics/template.php
r6565 r6573 17 17 * 18 18 * @since 2.0.0 bbPress (r2857) 19 *20 * @uses bbp_get_topic_post_type() To get the topic post type21 19 */ 22 20 function bbp_topic_post_type() { … … 28 26 * @since 2.0.0 bbPress (r2857) 29 27 * 30 * @uses apply_filters() Calls 'bbp_get_topic_post_type' with the topic31 * post type id32 28 * @return string The unique topic post type id 33 29 */ … … 133 129 * 134 130 * @param array $args All the arguments supported by {@link WP_Query} 135 * @uses current_user_can() To check if the current user can edit other's topics136 * @uses bbp_get_topic_post_type() To get the topic post type137 * @uses WP_Query To make query and get the topics138 * @uses is_page() To check if it's a page139 * @uses bbp_is_single_forum() To check if it's a forum140 * @uses bbp_get_forum_id() To get the forum id141 * @uses bbp_get_paged() To get the current page value142 * @uses bbp_get_super_stickies() To get the super stickies143 * @uses bbp_get_stickies() To get the forum stickies144 * @uses bbp_use_pretty_urls() To check if the site is using pretty URLs145 * @uses get_permalink() To get the permalink146 * @uses add_query_arg() To add custom args to the url147 * @uses apply_filters() Calls 'bbp_topics_pagination' with the pagination args148 * @uses paginate_links() To paginate the links149 * @uses apply_filters() Calls 'bbp_has_topics' with150 * bbPress::topic_query::have_posts()151 * and bbPress::topic_query152 131 * @return object Multidimensional array of topic information 153 132 */ … … 283 262 * @since 2.0.0 bbPress (r2485) 284 263 * 285 * @uses WP_Query bbPress::topic_query::have_posts()286 264 * @return object Topic information 287 265 */ … … 304 282 * @since 2.0.0 bbPress (r2485) 305 283 * 306 * @uses WP_Query bbPress::topic_query::the_post()307 284 * @return object Topic information 308 285 */ … … 451 428 * 452 429 * @since 2.0.0 bbPress (r2485) 453 *454 * @uses bbp_get_topic_id() To get the topic id455 430 */ 456 431 function bbp_topic_id( $topic_id = 0) { … … 463 438 * 464 439 * @param $topic_id Optional. Used to check emptiness 465 * @uses bbPress::topic_query::post::ID To get the topic id466 * @uses bbp_is_topic() To check if the search result is a topic467 * @uses bbp_is_single_topic() To check if it's a topic page468 * @uses bbp_is_topic_edit() To check if it's a topic edit page469 * @uses bbp_is_single_reply() To check if it it's a reply page470 * @uses bbp_is_reply_edit() To check if it's a reply edit page471 * @uses bbp_get_reply_topic_edit() To get the reply topic id472 * @uses get_post_field() To get the post's post type473 * @uses WP_Query::post::ID To get the topic id474 * @uses bbp_get_topic_post_type() To get the topic post type475 * @uses apply_filters() Calls 'bbp_get_topic_id' with the topic id and476 * supplied topic id477 440 * @return int The topic id 478 441 */ … … 520 483 * @since 2.0.0 bbPress (r2787) 521 484 * 522 * @param int|object $topic Topic id or topic object523 * @param string $output Optional. OBJECT, ARRAY_A, or ARRAY_N. Default = OBJECT524 * @param string $filter Optional Sanitation filter. See {@link sanitize_post()}525 * @uses get_post() To get the topic526 * @uses apply_filters() Calls 'bbp_get_topic' with the topic, output type and527 * sanitation filter528 485 * @return mixed Null if error or topic (in specified form) if success 529 486 */ … … 571 528 * @param string $redirect_to Optional. Pass a redirect value for use with 572 529 * shortcodes and other fun things. 573 * @uses bbp_get_topic_permalink() To get the topic permalink574 530 */ 575 531 function bbp_topic_permalink( $topic_id = 0, $redirect_to = '' ) { … … 584 540 * @param string $redirect_to Optional. Pass a redirect value for use with 585 541 * shortcodes and other fun things. 586 * @uses bbp_get_topic_id() To get the topic id587 * @uses get_permalink() To get the topic permalink588 * @uses esc_url_raw() To clean the redirect_to url589 * @uses apply_filters() Calls 'bbp_get_topic_permalink' with the link590 * and topic id591 542 * @return string Permanent link to topic 592 543 */ … … 613 564 * 614 565 * @param int $topic_id Optional. Topic id 615 * @uses bbp_get_topic_title() To get the topic title616 566 */ 617 567 function bbp_topic_title( $topic_id = 0 ) { … … 624 574 * 625 575 * @param int $topic_id Optional. Topic id 626 * @uses bbp_get_topic_id() To get the topic id627 * @uses get_the_title() To get the title628 * @uses apply_filters() Calls 'bbp_get_topic_title' with the title and629 * topic id630 576 * @return string Title of topic 631 577 */ … … 654 600 * 655 601 * @param string $title Default text to use as title 656 *657 * @uses bbp_get_page_by_path() Check if page exists at root path658 * @uses get_the_title() Use the page title at the root path659 * @uses get_post_type_object() Load the post type object660 * @uses bbp_get_topic_post_type() Get the topic post type ID661 * @uses get_post_type_labels() Get labels for topic post type662 * @uses apply_filters() Allow output to be manipulated663 602 * 664 603 * @return string The topic archive title … … 691 630 * 692 631 * @param int $topic_id Optional. Topic id 693 * @uses bbp_get_topic_content() To get the topic content694 632 */ 695 633 function bbp_topic_content( $topic_id = 0 ) { … … 702 640 * 703 641 * @param int $topic_id Optional. Topic id 704 * @uses bbp_get_topic_id() To get the topic id705 * @uses post_password_required() To check if the topic requires pass706 * @uses get_the_password_form() To get the password form707 * @uses get_post_field() To get the content post field708 * @uses apply_filters() Calls 'bbp_get_topic_content' with the content709 * and topic id710 642 * @return string Content of the topic 711 643 */ … … 731 663 * @param int $topic_id Optional. Topic id 732 664 * @param int $length Optional. Length of the excerpt. Defaults to 100 letters 733 * @uses bbp_get_topic_excerpt() To get the topic excerpt734 665 */ 735 666 function bbp_topic_excerpt( $topic_id = 0, $length = 100 ) { … … 744 675 * @param int $length Optional. Length of the excerpt. Defaults to 100 745 676 * letters 746 * @uses bbp_get_topic_id() To get the topic id747 * @uses get_post_field() To get the excerpt748 * @uses bbp_get_topic_content() To get the topic content749 * @uses apply_filters() Calls 'bbp_get_topic_excerpt' with the excerpt,750 * topic id and length751 677 * @return string topic Excerpt 752 678 */ … … 786 712 * @param bool $humanize Optional. Humanize output using time_since 787 713 * @param bool $gmt Optional. Use GMT 788 * @uses bbp_get_topic_post_date() to get the output789 714 */ 790 715 function bbp_topic_post_date( $topic_id = 0, $humanize = false, $gmt = false ) { … … 799 724 * @param bool $humanize Optional. Humanize output using time_since 800 725 * @param bool $gmt Optional. Use GMT 801 * @uses bbp_get_topic_id() To get the topic id802 * @uses get_post_time() to get the topic post time803 * @uses bbp_get_time_since() to maybe humanize the topic post time804 726 * @return string 805 727 */ … … 831 753 * 832 754 * @param array $args See {@link bbp_get_topic_pagination()} 833 * @uses bbp_get_topic_pagination() To get the topic pagination links834 755 */ 835 756 function bbp_topic_pagination( $args = array() ) { … … 845 766 * - before: Before the links 846 767 * - after: After the links 847 * @uses bbp_get_topic_id() To get the topic id848 * @uses bbp_use_pretty_urls() To check if the site is using pretty URLs849 * @uses user_trailingslashit() To add a trailing slash850 * @uses trailingslashit() To add a trailing slash851 * @uses get_permalink() To get the permalink of the topic852 * @uses add_query_arg() To add query args853 * @uses bbp_get_topic_reply_count() To get topic reply count854 * @uses bbp_show_topic_lead() Are we showing the topic as a lead?855 * @uses get_option() To get replies per page option856 * @uses paginate_links() To paginate the links857 * @uses apply_filters() Calls 'bbp_get_topic_pagination' with the links858 * and arguments859 768 * @return string Pagination links 860 769 */ … … 929 838 * @param string $content Optional. Content to which we need to append the revisions to 930 839 * @param int $topic_id Optional. Topic id 931 * @uses bbp_get_topic_revision_log() To get the topic revision log932 * @uses apply_filters() Calls 'bbp_topic_append_revisions' with the processed933 * content, original content and topic id934 840 * @return string Content with the revisions appended 935 841 */ … … 954 860 * 955 861 * @param int $topic_id Optional. Topic id 956 * @uses bbp_get_topic_revision_log() To get the topic revision log957 862 */ 958 863 function bbp_topic_revision_log( $topic_id = 0 ) { … … 965 870 * 966 871 * @param int $topic_id Optional. Topic id 967 * @uses bbp_get_topic_id() To get the topic id968 * @uses bbp_get_topic_revisions() To get the topic revisions969 * @uses bbp_get_topic_raw_revision_log() To get the raw revision log970 * @uses bbp_get_topic_author_display_name() To get the topic author971 * @uses bbp_get_author_link() To get the topic author link972 * @uses bbp_convert_date() To convert the date973 * @uses bbp_get_time_since() To get the time in since format974 * @uses apply_filters() Calls 'bbp_get_topic_revision_log' with the975 * log and topic id976 872 * @return string Revision log of the topic 977 873 */ … … 1027 923 * 1028 924 * @param int $topic_id Optional. Topic id 1029 * @uses bbp_get_topic_id() To get the topic id1030 * @uses get_post_meta() To get the revision log meta1031 * @uses apply_filters() Calls 'bbp_get_topic_raw_revision_log'1032 * with the log and topic id1033 925 * @return string Raw revision log of the topic 1034 926 */ … … 1049 941 * 1050 942 * @param int $topic_id Optional. Topic id 1051 * @uses bbp_get_topic_id() To get the topic id1052 * @uses wp_get_post_revisions() To get the topic revisions1053 * @uses apply_filters() Calls 'bbp_get_topic_revisions'1054 * with the revisions and topic id1055 943 * @return string Topic revisions 1056 944 */ … … 1069 957 * 1070 958 * @param int $topic_id Optional. Topic id 1071 * @uses bbp_get_topic_revisions() To get the topic revisions1072 * @uses apply_filters() Calls 'bbp_get_topic_revision_count'1073 * with the revision count and topic id1074 959 * @return string Topic revision count 1075 960 */ … … 1093 978 * normal sticky, it is checked if it is a super 1094 979 * sticky or not. Defaults to true. 1095 * @uses bbp_get_topic_id() To get the topic id1096 * @uses bbp_get_topic_forum_id() To get the topic forum id1097 * @uses bbp_get_stickies() To get the stickies1098 * @uses bbp_is_topic_super_sticky() To check if the topic is a super sticky1099 980 * @return bool True if sticky or super sticky, false if not. 1100 981 */ … … 1120 1001 * 1121 1002 * @param int $topic_id Optional. Topic id 1122 * @uses bbp_get_topic_id() To get the topic id1123 * @uses bbp_get_super_stickies() To get the super stickies1124 1003 * @return bool True if super sticky, false if not. 1125 1004 */ … … 1139 1018 * 1140 1019 * @param int $topic_id Optional. Topic id 1141 * @uses bbp_get_topic_status() To get the topic status1142 1020 */ 1143 1021 function bbp_topic_status( $topic_id = 0 ) { … … 1150 1028 * 1151 1029 * @param int $topic_id Optional. Topic id 1152 * @uses bbp_get_topic_id() To get the topic id1153 * @uses get_post_status() To get the topic status1154 * @uses apply_filters() Calls 'bbp_get_topic_status' with the status1155 * and topic id1156 1030 * @return string Status of topic 1157 1031 */ … … 1167 1041 * 1168 1042 * @since 2.6.0 bbPress (r6383) 1169 *1170 * @uses bbp_get_public_status_id()1171 * @uses bbp_get_closed_status_id()1172 1043 * 1173 1044 * @return array … … 1189 1060 * 1190 1061 * @param int $topic_id Optional. Topic id 1191 * @uses bbp_get_topic_status() To get the topic status1192 * @uses apply_filters() Calls 'bbp_is_topic_closed' with the topic id1193 1062 * 1194 1063 * @return bool True if closed, false if not. … … 1208 1077 * @since 2.0.0 bbPress (r2727) 1209 1078 * 1210 * @uses bbp_get_topic_status() 1211 * 1212 * @param int $topic_id Optional. Topic id 1213 * @uses bbp_is_topic_closed() To check if the topic is closed 1079 * @param int $topic_id Optional. Topic id 1080 * 1214 1081 * @return bool True if open, false if closed. 1215 1082 */ … … 1226 1093 * 1227 1094 * @param int $topic_id Optional. Topic id 1228 * @uses bbp_get_topic_id() To get the topic id1229 * @uses bbp_get_topic_status() To get the topic status1230 * @uses bbp_get_public_topic_statuses() To get the public statuses1231 * @uses apply_filters() Calls 'bbp_is_topic_public' with the topic id1232 1095 * @return bool True if public, false if not. 1233 1096 */ … … 1248 1111 * 1249 1112 * @param int $topic_id Optional. Topic id 1250 * @uses bbp_get_topic_id() To get the topic id1251 * @uses bbp_get_topic_status() To get the topic status1252 * @uses apply_filters() Calls 'bbp_is_topic_published' with the topic id1253 1113 * @return bool True if published, false if not. 1254 1114 */ … … 1268 1128 * 1269 1129 * @param int $topic_id Optional. Topic id 1270 * @uses bbp_get_topic_id() To get the topic id1271 * @uses bbp_get_topic_status() To get the topic status1272 * @uses apply_filters() Calls 'bbp_is_topic_spam' with the topic id1273 1130 * @return bool True if spam, false if not. 1274 1131 */ … … 1288 1145 * 1289 1146 * @param int $topic_id Optional. Topic id 1290 * @uses bbp_get_topic_id() To get the topic id1291 * @uses bbp_get_topic_status() To get the topic status1292 * @uses apply_filters() Calls 'bbp_is_topic_trash' with the topic id1293 1147 * @return bool True if trashed, false if not. 1294 1148 */ … … 1308 1162 * 1309 1163 * @param int $topic_id Optional. Topic id 1310 * @uses bbp_get_topic_id() To get the topic id1311 * @uses bbp_get_topic_status() To get the topic status1312 * @uses apply_filters() Calls 'bbp_is_topic_pending' with the topic id1313 1164 * @return bool True if pending, false if not. 1314 1165 */ … … 1328 1179 * 1329 1180 * @param int $topic_id Optional. Topic id 1330 * @uses bbp_get_topic_id() To get the topic id1331 * @uses bbp_get_topic_status() To get the topic status1332 * @uses apply_filters() Calls 'bbp_is_topic_private' with the topic id1333 1181 * @return bool True if private, false if not. 1334 1182 */ … … 1348 1196 * 1349 1197 * @param int $topic_id Optional. Topic id 1350 * @uses bbp_get_topic_id() To get the topic id1351 * @uses bbp_get_topic_author_id() To get the topic author id1352 * @uses get_post_meta() To get the anonymous user name and email meta1353 * @uses apply_filters() Calls 'bbp_is_topic_anonymous' with the topic id1354 1198 * @return bool True if the post is by an anonymous user, false if not. 1355 1199 */ … … 1382 1226 * 1383 1227 * @param int $topic_id Optional. Topic id 1384 * @uses bbp_get_topic_author() To get the topic author1385 1228 */ 1386 1229 function bbp_topic_author( $topic_id = 0 ) { … … 1397 1240 * 1398 1241 * @param int $topic_id Optional. Topic id 1399 * @uses bbp_get_topic_id() To get the topic id1400 * @uses bbp_is_topic_anonymous() To check if the topic is by an1401 * anonymous user1402 * @uses bbp_get_topic_author_id() To get the topic author id1403 * @uses get_the_author_meta() To get the display name of the author1404 * @uses get_post_meta() To get the name of the anonymous poster1405 * @uses apply_filters() Calls 'bbp_get_topic_author' with the author1406 * and topic id1407 1242 * @return string Author of topic 1408 1243 */ … … 1426 1261 * 1427 1262 * @param int $topic_id Optional. Topic id 1428 * @uses bbp_get_topic_author_id() To get the topic author id1429 1263 */ 1430 1264 function bbp_topic_author_id( $topic_id = 0 ) { … … 1437 1271 * 1438 1272 * @param int $topic_id Optional. Topic id 1439 * @uses bbp_get_topic_id() To get the topic id1440 * @uses get_post_field() To get the topic author id1441 * @uses apply_filters() Calls 'bbp_get_topic_author_id' with the author1442 * id and topic id1443 1273 * @return string Author of topic 1444 1274 */ … … 1457 1287 * 1458 1288 * @param int $topic_id Optional. Topic id 1459 * @uses bbp_get_topic_author_display_name() To get the topic author's display1460 * name1461 1289 */ 1462 1290 function bbp_topic_author_display_name( $topic_id = 0 ) { … … 1469 1297 * 1470 1298 * @param int $topic_id Optional. Topic id 1471 * @uses bbp_get_topic_id() To get the topic id1472 * @uses bbp_is_topic_anonymous() To check if the topic is by an1473 * anonymous user1474 * @uses bbp_get_topic_author_id() To get the topic author id1475 * @uses get_the_author_meta() To get the author meta1476 * @uses get_post_meta() To get the anonymous user name1477 * @uses apply_filters() Calls 'bbp_get_topic_author_id' with the1478 * display name and topic id1479 1299 * @return string Topic's author's display name 1480 1300 */ … … 1522 1342 * @param int $topic_id Optional. Topic id 1523 1343 * @param int $size Optional. Avatar size. Defaults to 40 1524 * @uses bbp_get_topic_author_avatar() To get the topic author avatar1525 1344 */ 1526 1345 function bbp_topic_author_avatar( $topic_id = 0, $size = 40 ) { … … 1534 1353 * @param int $topic_id Optional. Topic id 1535 1354 * @param int $size Optional. Avatar size. Defaults to 40 1536 * @uses bbp_get_topic_id() To get the topic id1537 * @uses bbp_is_topic_anonymous() To check if the topic is by an1538 * anonymous user1539 * @uses bbp_get_topic_author_id() To get the topic author id1540 * @uses get_post_meta() To get the anonymous user's email1541 * @uses get_avatar() To get the avatar1542 * @uses apply_filters() Calls 'bbp_get_topic_author_avatar' with the1543 * avatar, topic id and size1544 1355 * @return string Avatar of the author of the topic 1545 1356 */ … … 1566 1377 * 1567 1378 * @param mixed|int $args If it is an integer, it is used as topic_id. Optional. 1568 * @uses bbp_get_topic_author_link() To get the topic author link1569 1379 */ 1570 1380 function bbp_topic_author_link( $args = array() ) { … … 1578 1388 * @param mixed|int $args If it is an integer, it is used as topic id. 1579 1389 * Optional. 1580 * @uses bbp_get_topic_id() To get the topic id1581 * @uses bbp_get_topic_author_display_name() To get the topic author1582 * @uses bbp_is_topic_anonymous() To check if the topic is by an1583 * anonymous user1584 * @uses bbp_get_topic_author_url() To get the topic author url1585 * @uses bbp_get_topic_author_avatar() To get the topic author avatar1586 * @uses bbp_get_topic_author_display_name() To get the topic author display1587 * name1588 * @uses bbp_get_user_display_role() To get the topic author display role1589 * @uses bbp_get_topic_author_id() To get the topic author id1590 * @uses apply_filters() Calls 'bbp_get_topic_author_link' with the link1591 * and args1592 1390 * @return string Author link of topic 1593 1391 */ … … 1680 1478 * 1681 1479 * @param int $topic_id Optional. Topic id 1682 * @uses bbp_get_topic_author_url() To get the topic author url1683 1480 */ 1684 1481 function bbp_topic_author_url( $topic_id = 0 ) { … … 1692 1489 * 1693 1490 * @param int $topic_id Optional. Topic id 1694 * @uses bbp_get_topic_id() To get the topic id1695 * @uses bbp_is_topic_anonymous() To check if the topic is by an anonymous1696 * user or not1697 * @uses bbp_user_has_profile() To check if the user has a profile1698 * @uses bbp_get_topic_author_id() To get topic author id1699 * @uses bbp_get_user_profile_url() To get profile url1700 * @uses get_post_meta() To get anonmous user's website1701 * @uses apply_filters() Calls 'bbp_get_topic_author_url' with the link &1702 * topic id1703 1491 * @return string Author URL of topic 1704 1492 */ … … 1728 1516 * 1729 1517 * @param int $topic_id Optional. Reply id 1730 * @uses bbp_get_topic_author_email() To get the topic author email1731 1518 */ 1732 1519 function bbp_topic_author_email( $topic_id = 0 ) { … … 1739 1526 * 1740 1527 * @param int $topic_id Optional. Reply id 1741 * @uses bbp_get_topic_id() To get the topic id1742 * @uses bbp_is_topic_anonymous() To check if the topic is by an anonymous1743 * user1744 * @uses bbp_get_topic_author_id() To get the topic author id1745 * @uses get_userdata() To get the user data1746 * @uses get_post_meta() To get the anonymous poster's email1747 * @uses apply_filters() Calls bbp_get_topic_author_email with the author1748 * email & topic id1749 1528 * @return string Topic author email address 1750 1529 */ … … 1782 1561 * 1783 1562 * @param array $args Optional. 1784 * @uses bbp_get_topic_author_role() To get the topic author role1785 1563 */ 1786 1564 function bbp_topic_author_role( $args = array() ) { … … 1793 1571 * 1794 1572 * @param array $args Optional. 1795 * @uses bbp_get_topic_id() To get the topic id1796 * @uses bbp_get_user_display_role() To get the user display role1797 * @uses bbp_get_topic_author_id() To get the topic author id1798 * @uses apply_filters() Calls bbp_get_topic_author_role with the author1799 * role & args1800 1573 * @return string topic author role 1801 1574 */ … … 1834 1607 * 1835 1608 * @param int $topic_id Optional. Topic id 1836 * @uses bbp_get_topic_forum_title() To get the topic's forum title1837 1609 */ 1838 1610 function bbp_topic_forum_title( $topic_id = 0 ) { … … 1845 1617 * 1846 1618 * @param int $topic_id Optional. Topic id 1847 * @uses bbp_get_topic_id() To get topic id1848 * @uses bbp_get_topic_forum_id() To get topic's forum id1849 * @uses apply_filters() Calls 'bbp_get_topic_forum' with the forum1850 * title and topic id1851 1619 * @return string Topic forum title 1852 1620 */ … … 1865 1633 * 1866 1634 * @param int $topic_id Optional. Topic id 1867 * @uses bbp_get_topic_forum_id()1868 1635 */ 1869 1636 function bbp_topic_forum_id( $topic_id = 0 ) { … … 1876 1643 * 1877 1644 * @param int $topic_id Optional. Topic id 1878 * @uses bbp_get_topic_id() To get topic id1879 * @uses get_post_meta() To retrieve get topic's forum id meta1880 * @uses apply_filters() Calls 'bbp_get_topic_forum_id' with the forum1881 * id and topic id1882 1645 * @return int Topic forum id 1883 1646 */ … … 1906 1669 * 1907 1670 * @param int $topic_id Optional. Forum id 1908 * @uses bbp_get_topic_last_active_id() To get the topic's last active id1909 1671 */ 1910 1672 function bbp_topic_last_active_id( $topic_id = 0 ) { … … 1917 1679 * 1918 1680 * @param int $topic_id Optional. Forum id 1919 * @uses bbp_get_topic_id() To get the topic id1920 * @uses get_post_meta() To get the topic's last active id1921 * @uses apply_filters() Calls 'bbp_get_topic_last_active_id' with1922 * the last active id and topic id1923 1681 * @return int Forum's last active id 1924 1682 */ … … 1937 1695 * 1938 1696 * @param int $topic_id Optional. Topic id 1939 * @uses bbp_get_topic_last_active_time() To get topic freshness1940 1697 */ 1941 1698 function bbp_topic_last_active_time( $topic_id = 0 ) { … … 1948 1705 * 1949 1706 * @param int $topic_id Optional. Topic id 1950 * @uses bbp_get_topic_id() To get topic id1951 * @uses get_post_meta() To get the topic last active meta1952 * @uses bbp_get_topic_last_reply_id() To get topic last reply id1953 * @uses get_post_field() To get the post date of topic/reply1954 * @uses bbp_convert_date() To convert date1955 * @uses bbp_get_time_since() To get time in since format1956 * @uses apply_filters() Calls 'bbp_get_topic_last_active' with topic1957 * freshness and topic id1958 1707 * @return string Topic freshness 1959 1708 */ … … 1985 1734 * @since 2.5.0 bbPress (r5156) 1986 1735 * @since 2.6.0 bbPress (r6308) Add 'redirect_to' support 1987 *1988 * @uses bbp_get_topic_subscription_link()1989 1736 */ 1990 1737 function bbp_topic_subscription_link( $args = array() ) { … … 1999 1746 * @since 2.5.0 bbPress (r5156) 2000 1747 * @since 2.6.0 bbPress (r6308) Add 'redirect_to' support 2001 *2002 * @uses bbp_is_subscriptions()2003 * @uses bbp_get_subscriptions_permalink()2004 * @uses bbp_parse_args()2005 * @uses bbp_get_user_subscribe_link()2006 * @uses apply_filters() Calls 'bbp_get_topic_subscribe_link'2007 1748 */ 2008 1749 function bbp_get_topic_subscription_link( $args = array() ) { … … 2040 1781 * @since 2.5.0 bbPress (r5156) 2041 1782 * @since 2.6.0 bbPress (r6308) Add 'redirect_to' support 2042 *2043 * @uses bbp_get_topic_favorite_link()2044 1783 */ 2045 1784 function bbp_topic_favorite_link( $args = array() ) { … … 2054 1793 * @since 2.5.0 bbPress (r5156) 2055 1794 * @since 2.6.0 bbPress (r6308) Add 'redirect_to' support 2056 *2057 * @uses bbp_is_favorites()2058 * @uses bbp_get_favorites_permalink()2059 * @uses bbp_parse_args()2060 * @uses bbp_get_user_favorites_link()2061 * @uses apply_filters() Calls 'bbp_get_topic_favorite_link'2062 1795 */ 2063 1796 function bbp_get_topic_favorite_link( $args = array() ) { … … 2096 1829 * 2097 1830 * @param int $topic_id Optional. Topic id 2098 * @uses bbp_get_topic_last_reply_id() To get the topic last reply id2099 1831 */ 2100 1832 function bbp_topic_last_reply_id( $topic_id = 0 ) { … … 2107 1839 * 2108 1840 * @param int $topic_id Optional. Topic id 2109 * @uses bbp_get_topic_id() To get the topic id2110 * @uses get_post_meta() To get the last reply id meta2111 * @uses apply_filters() Calls 'bbp_get_topic_last_reply_id' with the2112 * last reply id and topic id2113 1841 * @return int Topic last reply id 2114 1842 */ … … 2127 1855 * 2128 1856 * @param int $topic_id Optional. Topic id 2129 * @uses bbp_get_topic_last_reply_title() To get the topic last reply title2130 1857 */ 2131 1858 function bbp_topic_last_reply_title( $topic_id = 0 ) { … … 2139 1866 * 2140 1867 * @param int $topic_id Optional. Topic id 2141 * @uses bbp_get_topic_id() To get the topic id2142 * @uses bbp_get_topic_last_reply_id() To get the topic last reply id2143 * @uses bbp_get_reply_title() To get the reply title2144 * @uses apply_filters() Calls 'bbp_get_topic_last_reply_title' with2145 * the reply title and topic id2146 1868 * @return string Topic last reply title 2147 1869 */ … … 2164 1886 * 2165 1887 * @param int $topic_id Optional. Topic id 2166 * @uses bbp_get_topic_last_reply_permalink() To get the topic's last reply link2167 1888 */ 2168 1889 function bbp_topic_last_reply_permalink( $topic_id = 0 ) { … … 2175 1896 * 2176 1897 * @param int $topic_id Optional. Topic id 2177 * @uses bbp_get_topic_id() To get the topic id2178 * @uses bbp_get_topic_last_reply_id() To get the topic last reply id2179 * @uses bbp_get_reply_permalink() To get the reply permalink2180 * @uses apply_filters() Calls 'bbp_get_topic_last_reply_permalink' with2181 * the reply permalink and topic id2182 1898 * @return string Permanent link to the reply 2183 1899 */ … … 2197 1913 * 2198 1914 * @param int $topic_id Optional. Topic id 2199 * @uses bbp_get_topic_last_reply_url() To get the topic last reply url2200 1915 */ 2201 1916 function bbp_topic_last_reply_url( $topic_id = 0 ) { … … 2208 1923 * 2209 1924 * @param int $topic_id Optional. Topic id 2210 * @uses bbp_get_topic_id() To get the topic id2211 * @uses bbp_get_topic_last_reply_id() To get the topic last reply id2212 * @uses bbp_get_reply_url() To get the reply url2213 * @uses bbp_get_topic_permalink() To get the topic permalink2214 * @uses apply_filters() Calls 'bbp_get_topic_last_reply_url' with2215 * the reply url and topic id2216 1925 * @return string Topic last reply url 2217 1926 */ … … 2237 1946 * 2238 1947 * @param int $topic_id Optional. Topic id 2239 * @uses bbp_get_topic_freshness_link() To get the topic freshness link2240 1948 */ 2241 1949 function bbp_topic_freshness_link( $topic_id = 0 ) { … … 2249 1957 * 2250 1958 * @param int $topic_id Optional. Topic id 2251 * @uses bbp_get_topic_id() To get the topic id2252 * @uses bbp_get_topic_last_reply_url() To get the topic last reply url2253 * @uses bbp_get_topic_last_reply_title() To get the reply title2254 * @uses bbp_get_topic_last_active_time() To get the topic freshness2255 * @uses apply_filters() Calls 'bbp_get_topic_freshness_link' with the2256 * link and topic id2257 1959 * @return string Topic freshness link 2258 1960 */ … … 2279 1981 * 2280 1982 * @param int $topic_id Optional. Topic id 2281 * @uses bbp_get_topic_replies_link() To get the topic replies link2282 1983 */ 2283 1984 function bbp_topic_replies_link( $topic_id = 0 ) { … … 2291 1992 * 2292 1993 * @param int $topic_id Optional. Topic id 2293 * @uses bbp_get_topic_id() To get the topic id2294 * @uses bbp_get_topic_permalink() To get the topic permalink2295 * @uses bbp_get_topic_reply_count() To get the topic reply count2296 * @uses bbp_get_topic_reply_count_hidden() To get the topic hidden2297 * reply count2298 * @uses current_user_can() To check if the current user can edit others2299 * replies2300 * @uses apply_filters() Calls 'bbp_get_topic_replies_link' with the2301 * replies link and topic id2302 1994 */ 2303 1995 function bbp_get_topic_replies_link( $topic_id = 0 ) { … … 2338 2030 * @param int $topic_id Optional. Topic id 2339 2031 * @param boolean $integer Optional. Whether or not to format the result 2340 * @uses bbp_get_topic_reply_count() To get the topic reply count2341 2032 */ 2342 2033 function bbp_topic_reply_count( $topic_id = 0, $integer = false ) { … … 2350 2041 * @param int $topic_id Optional. Topic id 2351 2042 * @param boolean $integer Optional. Whether or not to format the result 2352 * @uses bbp_get_topic_id() To get the topic id2353 * @uses get_post_meta() To get the topic reply count meta2354 * @uses apply_filters() Calls 'bbp_get_topic_reply_count' with the2355 * reply count and topic id2356 2043 * @return int Reply count 2357 2044 */ … … 2373 2060 * @param int $topic_id Optional. Topic id 2374 2061 * @param boolean $integer Optional. Whether or not to format the result 2375 * @uses bbp_get_topic_post_count() To get the topic post count2376 2062 */ 2377 2063 function bbp_topic_post_count( $topic_id = 0, $integer = false ) { … … 2385 2071 * @param int $topic_id Optional. Topic id 2386 2072 * @param boolean $integer Optional. Whether or not to format the result 2387 * @uses bbp_get_topic_id() To get the topic id2388 * @uses get_post_meta() To get the topic post count meta2389 * @uses apply_filters() Calls 'bbp_get_topic_post_count' with the2390 * post count and topic id2391 2073 * @return int Post count 2392 2074 */ … … 2409 2091 * @param int $topic_id Optional. Topic id 2410 2092 * @param boolean $integer Optional. Whether or not to format the result 2411 * @uses bbp_get_topic_reply_count_hidden() To get the topic hidden reply count2412 2093 */ 2413 2094 function bbp_topic_reply_count_hidden( $topic_id = 0, $integer = false ) { … … 2422 2103 * @param int $topic_id Optional. Topic id 2423 2104 * @param boolean $integer Optional. Whether or not to format the result 2424 * @uses bbp_get_topic_id() To get the topic id2425 * @uses get_post_meta() To get the hidden reply count2426 * @uses apply_filters() Calls 'bbp_get_topic_reply_count_hidden' with2427 * the hidden reply count and topic id2428 2105 * @return int Topic hidden reply count 2429 2106 */ … … 2444 2121 * 2445 2122 * @param int $topic_id Optional. Topic id 2446 * @uses bbp_get_topic_voice_count() To get the topic voice count2447 2123 */ 2448 2124 function bbp_topic_voice_count( $topic_id = 0, $integer = false ) { … … 2455 2131 * 2456 2132 * @param int $topic_id Optional. Topic id 2457 * @uses bbp_get_topic_id() To get the topic id2458 * @uses get_post_meta() To get the voice count meta2459 * @uses apply_filters() Calls 'bbp_get_topic_voice_count' with the2460 * voice count and topic id2461 2133 * @return int Voice count of the topic 2462 2134 */ … … 2478 2150 * @param int $topic_id Optional. Topic id 2479 2151 * @param array $args See {@link bbp_get_topic_tag_list()} 2480 * @uses bbp_get_topic_tag_list() To get the topic tag list2481 2152 */ 2482 2153 function bbp_topic_tag_list( $topic_id = 0, $args = array() ) { … … 2493 2164 * - sep: Tag separator 2494 2165 * - after: After the tag list 2495 * @uses bbp_get_topic_id() To get the topic id2496 * @uses get_the_term_list() To get the tags list2497 2166 * @return string Tag list of the topic 2498 2167 */ … … 2547 2216 * @param int $topic_id Optional. Topic id 2548 2217 * @param array Extra classes you can pass when calling this function 2549 * @uses bbp_get_topic_class() To get the topic class2550 2218 */ 2551 2219 function bbp_topic_class( $topic_id = 0, $classes = array() ) { … … 2559 2227 * @param int $topic_id Optional. Topic id 2560 2228 * @param array Extra classes you can pass when calling this function 2561 * @uses bbp_is_topic_sticky() To check if the topic is a sticky2562 * @uses bbp_is_topic_super_sticky() To check if the topic is a super sticky2563 * @uses bbp_get_topic_forum_id() To get the topic forum id2564 * @uses get_post_class() To get the topic classes2565 * @uses apply_filters() Calls 'bbp_get_topic_class' with the classes2566 * and topic id2567 2229 * @return string Row class of a topic 2568 2230 */ … … 2591 2253 * 2592 2254 * @param array $args See {@link bbp_get_topic_admin_links()} 2593 * @uses bbp_get_topic_admin_links() To get the topic admin links2594 2255 */ 2595 2256 function bbp_topic_admin_links( $args = array() ) { … … 2607 2268 * - sep: Links separator 2608 2269 * - links: Topic admin links array 2609 * @uses current_user_can() To check if the current user can edit/delete2610 * the topic2611 * @uses bbp_get_topic_edit_link() To get the topic edit link2612 * @uses bbp_get_topic_trash_link() To get the topic trash link2613 * @uses bbp_get_topic_close_link() To get the topic close link2614 * @uses bbp_get_topic_spam_link() To get the topic spam link2615 * @uses bbp_get_topic_stick_link() To get the topic stick link2616 * @uses bbp_get_topic_merge_link() To get the topic merge link2617 * @uses bbp_get_topic_status() To get the topic status2618 * @uses apply_filters() Calls 'bbp_get_topic_admin_links' with the2619 * topic admin links and args2620 2270 * @return string Topic admin links 2621 2271 */ … … 2675 2325 * 2676 2326 * @param array $args See {@link bbp_get_topic_edit_link()} 2677 * @uses bbp_get_topic_edit_link() To get the topic edit link2678 2327 */ 2679 2328 function bbp_topic_edit_link( $args = array() ) { … … 2691 2340 * - link_after: After the link 2692 2341 * - edit_text: Edit text 2693 * @uses bbp_get_topic_id() To get the topic id2694 * @uses bbp_get_topic() To get the topic2695 * @uses current_user_can() To check if the current user can edit the2696 * topic2697 * @uses bbp_get_topic_edit_url() To get the topic edit url2698 * @uses apply_filters() Calls 'bbp_get_topic_edit_link' with the link2699 * and args2700 2342 * @return string Topic edit link 2701 2343 */ … … 2742 2384 * 2743 2385 * @param int $topic_id Optional. Topic id 2744 * @uses bbp_get_topic_edit_url() To get the topic edit url2745 2386 */ 2746 2387 function bbp_topic_edit_url( $topic_id = 0 ) { … … 2753 2394 * 2754 2395 * @param int $topic_id Optional. Topic id 2755 * @uses bbp_get_topic_id() To get the topic id2756 * @uses bbp_get_topic() To get the topic2757 * @uses add_query_arg() To add custom args to the url2758 * @uses apply_filters() Calls 'bbp_get_topic_edit_url' with the edit2759 * url and topic id2760 2396 * @return string Topic edit url 2761 2397 */ … … 2797 2433 * 2798 2434 * @param array $args See {@link bbp_get_topic_trash_link()} 2799 * @uses bbp_get_topic_trash_link() To get the topic trash link2800 2435 */ 2801 2436 function bbp_topic_trash_link( $args = array() ) { … … 2816 2451 * - restore_text: Restore text 2817 2452 * - delete_text: Delete text 2818 * @uses bbp_get_topic_id() To get the topic id2819 * @uses bbp_get_topic() To get the topic2820 * @uses current_user_can() To check if the current user can delete the2821 * topic2822 * @uses bbp_is_topic_trash() To check if the topic is trashed2823 * @uses bbp_get_topic_status() To get the topic status2824 * @uses add_query_arg() To add custom args to the url2825 * @uses wp_nonce_url() To nonce the url2826 * @uses esc_url() To escape the url2827 * @uses apply_filters() Calls 'bbp_get_topic_trash_link' with the link2828 * and args2829 2453 * @return string Topic trash link 2830 2454 */ … … 2876 2500 * 2877 2501 * @param array $args See {@link bbp_get_topic_close_link()} 2878 * @uses bbp_get_topic_close_link() To get the topic close link2879 2502 */ 2880 2503 function bbp_topic_close_link( $args = array() ) { … … 2893 2516 * - close_text: Close text 2894 2517 * - open_text: Open text 2895 * @uses bbp_get_topic_id() To get the topic id2896 * @uses bbp_get_topic() To get the topic2897 * @uses current_user_can() To check if the current user can edit the topic2898 * @uses bbp_is_topic_open() To check if the topic is open2899 * @uses add_query_arg() To add custom args to the url2900 * @uses wp_nonce_url() To nonce the url2901 * @uses esc_url() To escape the url2902 * @uses apply_filters() Calls 'bbp_get_topic_close_link' with the link2903 * and args2904 2518 * @return string Topic close link 2905 2519 */ … … 2939 2553 * 2940 2554 * @param array $args See {@link bbp_get_topic_approve_link()} 2941 * @uses bbp_get_topic_approve_link() To get the topic approve link2942 2555 */ 2943 2556 function bbp_topic_approve_link( $args = array() ) { … … 2957 2570 * - approve_text: Approve text 2958 2571 * - unapprove_text: Unapprove text 2959 * @uses bbp_get_topic_id() To get the topic id2960 * @uses bbp_get_topic() To get the topic2961 * @uses current_user_can() To check if the current user can approve the topic2962 * @uses bbp_is_topic_pending() To check if the topic is pending2963 * @uses add_query_arg() To add custom args to the url2964 * @uses wp_nonce_url() To nonce the url2965 * @uses esc_url() To escape the url2966 * @uses apply_filters() Calls 'bbp_get_topic_approve_link' with the link2967 * and args2968 2572 * @return string Topic approve link 2969 2573 */ … … 3003 2607 * 3004 2608 * @param array $args See {@link bbp_get_topic_stick_link()} 3005 * @uses bbp_get_topic_stick_link() To get the topic stick link3006 2609 */ 3007 2610 function bbp_topic_stick_link( $args = array() ) { … … 3021 2624 * - unstick_text: Unstick text 3022 2625 * - super_text: Stick to front text 3023 * @uses bbp_get_topic_id() To get the topic id 3024 * @uses bbp_get_topic() To get the topic 3025 * @uses current_user_can() To check if the current user can edit the 3026 * topic 3027 * @uses bbp_is_topic_sticky() To check if the topic is a sticky 3028 * @uses add_query_arg() To add custom args to the url 3029 * @uses wp_nonce_url() To nonce the url 3030 * @uses esc_url() To escape the url 3031 * @uses apply_filters() Calls 'bbp_get_topic_stick_link' with the link 3032 * and args 2626 * 3033 2627 * @return string Topic stick link 3034 2628 */ … … 3083 2677 * 3084 2678 * @param array $args 3085 * @uses bbp_get_topic_merge_link() To get the topic merge link3086 2679 */ 3087 2680 function bbp_topic_merge_link( $args = array() ) { … … 3099 2692 * - link_after: After the link 3100 2693 * - merge_text: Merge text 3101 * @uses bbp_get_topic_id() To get the topic id 3102 * @uses bbp_get_topic() To get the topic 3103 * @uses bbp_get_topic_edit_url() To get the topic edit url 3104 * @uses add_query_arg() To add custom args to the url 3105 * @uses esc_url() To escape the url 3106 * @uses apply_filters() Calls 'bbp_get_topic_merge_link' with the link 3107 * and args 2694 * 3108 2695 * @return string Topic merge link 3109 2696 */ … … 3139 2726 * 3140 2727 * @param array $args See {@link bbp_get_topic_spam_link()} 3141 * @uses bbp_get_topic_spam_link() Topic spam link3142 2728 */ 3143 2729 function bbp_topic_spam_link( $args = array() ) { … … 3156 2742 * - spam_text: Spam text 3157 2743 * - unspam_text: Unspam text 3158 * @uses bbp_get_topic_id() To get the topic id 3159 * @uses bbp_get_topic() To get the topic 3160 * @uses current_user_can() To check if the current user can edit the topic 3161 * @uses bbp_is_topic_spam() To check if the topic is marked as spam 3162 * @uses add_query_arg() To add custom args to the url 3163 * @uses wp_nonce_url() To nonce the url 3164 * @uses esc_url() To escape the url 3165 * @uses apply_filters() Calls 'bbp_get_topic_spam_link' with the link 3166 * and args 2744 * 3167 2745 * @return string Topic spam link 3168 2746 */ … … 3200 2778 * 3201 2779 * @param array $args 3202 * @uses bbp_get_reply_to_link() To get the reply to link3203 2780 */ 3204 2781 function bbp_topic_reply_link( $args = array() ) { … … 3212 2789 * 3213 2790 * @param array $args Arguments 3214 * @uses bbp_current_user_can_access_create_reply_form() To check permissions 3215 * @uses bbp_get_topic_id() To validate the topic id 3216 * @uses bbp_get_topic() To get the topic 3217 * @uses apply_filters() Calls 'bbp_get_topic_reply_link' with the formatted link, 3218 * the arguments array, and the topic 2791 * 3219 2792 * @return string Link for a reply to a topic 3220 2793 */ … … 3321 2894 * 3322 2895 * @since 2.0.0 bbPress (r2519) 3323 *3324 * @uses bbp_get_forum_pagination_count() To get the forum pagination count3325 2896 */ 3326 2897 function bbp_forum_pagination_count() { … … 3332 2903 * @since 2.0.0 bbPress (r2519) 3333 2904 * 3334 * @uses bbp_number_format() To format the number value3335 * @uses apply_filters() Calls 'bbp_get_forum_pagination_count' with the3336 * pagination count3337 2905 * @return string Forum Pagination count 3338 2906 */ … … 3368 2936 * 3369 2937 * @since 2.0.0 bbPress (r2519) 3370 *3371 * @uses bbp_get_forum_pagination_links() To get the pagination links3372 2938 */ 3373 2939 function bbp_forum_pagination_links() { … … 3379 2945 * @since 2.0.0 bbPress (r2519) 3380 2946 * 3381 * @uses bbPress::topic_query::pagination_links To get the links3382 2947 * @return string Pagination links 3383 2948 */ … … 3397 2962 * 3398 2963 * @since 2.0.0 bbPress (r2744) 3399 *3400 * @uses bbp_is_single_topic() To check if it's a topic page3401 * @uses bbp_get_topic_status() To get the topic status3402 * @uses bbp_get_topic_id() To get the topic id3403 * @uses apply_filters() Calls 'bbp_topic_notices' with the notice text, topic3404 * status and topic id3405 * @uses bbp_add_error() To add an error message3406 2964 */ 3407 2965 function bbp_topic_notices() { … … 3484 3042 * - topic_id: Topic id 3485 3043 * - selected: Override the selected option 3486 * @uses bbp_get_topic_id() To get the topic id3487 * @uses bbp_is_single_topic() To check if we're viewing a single topic3488 * @uses bbp_is_topic_edit() To check if it is the topic edit page3489 * @uses bbp_is_topic_super_sticky() To check if the topic is a super sticky3490 * @uses bbp_is_topic_sticky() To check if the topic is a sticky3491 3044 */ 3492 3045 function bbp_get_form_topic_type_dropdown( $args = array() ) { … … 3640 3193 * 3641 3194 * @param array $args See {@link bbp_get_single_topic_description()} 3642 * @uses bbp_get_single_topic_description() Return the eventual output3643 3195 */ 3644 3196 function bbp_single_topic_description( $args = array() ) { … … 3656 3208 * - after: After the text 3657 3209 * - size: Size of the avatar 3658 * @uses bbp_get_topic_id() To get the topic id3659 * @uses bbp_get_topic_voice_count() To get the topic voice count3660 * @uses bbp_get_topic_reply_count() To get the topic reply count3661 * @uses bbp_get_topic_freshness_link() To get the topic freshness link3662 * @uses bbp_get_topic_last_active_id() To get the topic last active id3663 * @uses bbp_get_reply_author_link() To get the reply author link3664 * @uses apply_filters() Calls 'bbp_get_single_topic_description' with3665 * the description and args3666 3210 * @return string Filtered topic description 3667 3211 */ … … 3722 3266 * 3723 3267 * @since 2.0.0 bbPress (r3348) 3724 *3725 * @uses bbp_get_topic_post_type() To get the topic post type3726 3268 */ 3727 3269 function bbp_topic_tag_tax_id() { … … 3733 3275 * @since 2.0.0 bbPress (r3348) 3734 3276 * 3735 * @uses apply_filters() Calls 'bbp_get_topic_tag_tax_id' with the topic tax id3736 3277 * @return string The unique topic tag taxonomy 3737 3278 */ … … 3791 3332 * @since 2.0.0 bbPress (r3109) 3792 3333 * 3793 * @uses bbp_get_topic_tag_id()3794 3334 */ 3795 3335 function bbp_topic_tag_id( $tag = '' ) { … … 3800 3340 * 3801 3341 * @since 2.0.0 bbPress (r3109) 3802 *3803 * @uses get_term_by()3804 * @uses get_queried_object()3805 * @uses get_query_var()3806 * @uses apply_filters()3807 3342 * 3808 3343 * @return string Term Name … … 3831 3366 * 3832 3367 * @since 2.0.0 bbPress (r3109) 3833 *3834 * @uses bbp_get_topic_tag_name()3835 3368 */ 3836 3369 function bbp_topic_tag_name( $tag = '' ) { … … 3841 3374 * 3842 3375 * @since 2.0.0 bbPress (r3109) 3843 *3844 * @uses get_term_by()3845 * @uses get_queried_object()3846 * @uses get_query_var()3847 * @uses apply_filters()3848 3376 * 3849 3377 * @return string Term Name … … 3872 3400 * 3873 3401 * @since 2.0.0 bbPress (r3109) 3874 *3875 * @uses bbp_get_topic_tag_slug()3876 3402 */ 3877 3403 function bbp_topic_tag_slug( $tag = '' ) { … … 3882 3408 * 3883 3409 * @since 2.0.0 bbPress (r3109) 3884 *3885 * @uses get_term_by()3886 * @uses get_queried_object()3887 * @uses get_query_var()3888 * @uses apply_filters()3889 3410 * 3890 3411 * @return string Term Name … … 3913 3434 * 3914 3435 * @since 2.0.0 bbPress (r3348) 3915 *3916 * @uses bbp_get_topic_tag_link()3917 3436 */ 3918 3437 function bbp_topic_tag_link( $tag = '' ) { … … 3923 3442 * 3924 3443 * @since 2.0.0 bbPress (r3348) 3925 *3926 * @uses get_term_by()3927 * @uses get_queried_object()3928 * @uses get_query_var()3929 * @uses apply_filters()3930 3444 * 3931 3445 * @return string Term Name … … 3954 3468 * 3955 3469 * @since 2.0.0 bbPress (r3348) 3956 *3957 * @uses bbp_get_topic_tag_edit_link()3958 3470 */ 3959 3471 function bbp_topic_tag_edit_link( $tag = '' ) { … … 3964 3476 * 3965 3477 * @since 2.0.0 bbPress (r3348) 3966 *3967 * @uses get_term_by()3968 * @uses get_queried_object()3969 * @uses get_query_var()3970 * @uses apply_filters()3971 3478 * 3972 3479 * @return string Term Name … … 4003 3510 * 4004 3511 * @since 2.0.0 bbPress (r3109) 4005 *4006 * @uses bbp_get_topic_tag_description()4007 3512 */ 4008 3513 function bbp_topic_tag_description( $args = array() ) { … … 4014 3519 * @since 2.0.0 bbPress (r3109) 4015 3520 * 4016 * @uses get_term_by()4017 * @uses get_queried_object()4018 * @uses get_query_var()4019 * @uses apply_filters()4020 3521 * @param array $args before|after|tag 4021 3522 * … … 4054 3555 * 4055 3556 * @since 2.0.0 bbPress (r2976) 4056 *4057 * @uses bbp_get_form_topic_title() To get the value of topic title field4058 3557 */ 4059 3558 function bbp_form_topic_title() { … … 4065 3564 * @since 2.0.0 bbPress (r2976) 4066 3565 * 4067 * @uses bbp_is_topic_edit() To check if it's topic edit page4068 * @uses apply_filters() Calls 'bbp_get_form_topic_title' with the title4069 3566 * @return string Value of topic title field 4070 3567 */ … … 4092 3589 * 4093 3590 * @since 2.0.0 bbPress (r2976) 4094 *4095 * @uses bbp_get_form_topic_content() To get value of topic content field4096 3591 */ 4097 3592 function bbp_form_topic_content() { … … 4103 3598 * @since 2.0.0 bbPress (r2976) 4104 3599 * 4105 * @uses bbp_is_topic_edit() To check if it's the topic edit page4106 * @uses apply_filters() Calls 'bbp_get_form_topic_content' with the content4107 3600 * @return string Value of topic content field 4108 3601 */ … … 4131 3624 * @since 2.1.0 bbPress (r3653) 4132 3625 * 4133 * @uses do_action()4134 3626 * @todo Links and filter 4135 3627 */ … … 4142 3634 * 4143 3635 * @since 2.0.0 bbPress (r2976) 4144 *4145 * @uses bbp_get_form_topic_tags() To get the value of topic tags field4146 3636 */ 4147 3637 function bbp_form_topic_tags() { … … 4153 3643 * @since 2.0.0 bbPress (r2976) 4154 3644 * 4155 * @uses bbp_is_topic_edit() To check if it's the topic edit page4156 * @uses apply_filters() Calls 'bbp_get_form_topic_tags' with the tags4157 3645 * @return string Value of topic tags field 4158 3646 */ … … 4208 3696 * 4209 3697 * @since 2.0.0 bbPress (r2976) 4210 *4211 * @uses bbp_get_form_topic_forum() To get the topic's forum id4212 3698 */ 4213 3699 function bbp_form_topic_forum() { … … 4219 3705 * @since 2.0.0 bbPress (r2976) 4220 3706 * 4221 * @uses bbp_is_topic_edit() To check if it's the topic edit page4222 * @uses bbp_get_topic_forum_id() To get the topic forum id4223 * @uses apply_filters() Calls 'bbp_get_form_topic_forum' with the forum4224 3707 * @return string Value of topic content field 4225 3708 */ … … 4247 3730 * 4248 3731 * @since 2.0.0 bbPress (r2976) 4249 *4250 * @uses bbp_get_form_topic_subscribed() To get the subscribed checkbox value4251 3732 */ 4252 3733 function bbp_form_topic_subscribed() { … … 4258 3739 * @since 2.0.0 bbPress (r2976) 4259 3740 * 4260 * @uses bbp_is_topic_edit() To check if it's the topic edit page4261 * @uses bbp_is_user_subscribed() To check if the user is subscribed4262 * @uses apply_filters() Calls 'bbp_get_form_topic_subscribed' with the4263 * option4264 3741 * @return string Checked value of topic subscription 4265 3742 */ … … 4305 3782 * 4306 3783 * @since 2.0.0 bbPress (r2976) 4307 *4308 * @uses bbp_get_form_topic_log_edit() To get the topic log edit value4309 3784 */ 4310 3785 function bbp_form_topic_log_edit() { … … 4316 3791 * @since 2.0.0 bbPress (r2976) 4317 3792 * 4318 * @uses apply_filters() Calls 'bbp_get_form_topic_log_edit' with the4319 * log edit value4320 3793 * @return string Topic log edit checked value 4321 3794 */ … … 4342 3815 * 4343 3816 * @since 2.0.0 bbPress (r2976) 4344 *4345 * @uses bbp_get_form_topic_edit_reason() To get the topic edit reason value4346 3817 */ 4347 3818 function bbp_form_topic_edit_reason() { … … 4353 3824 * @since 2.0.0 bbPress (r2976) 4354 3825 * 4355 * @uses apply_filters() Calls 'bbp_get_form_topic_edit_reason' with the4356 * topic edit reason value4357 3826 * @return string Topic edit reason value 4358 3827 */
Note: See TracChangeset
for help on using the changeset viewer.