Changeset 10149 for trunk/src/bp-members/bp-members-template.php
- Timestamp:
- 09/27/2015 05:43:55 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-template.php
r10126 r10149 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Member Template Tags. … … 10 9 */ 11 10 12 // Exit if accessed directly 11 // Exit if accessed directly. 13 12 defined( 'ABSPATH' ) || exit; 14 13 … … 16 15 * Output the profile component slug. 17 16 * 18 * @since BuddyPress (2.4.0)17 * @since 2.4.0 19 18 * 20 19 * @uses bp_get_profile_slug() … … 26 25 * Return the profile component slug. 27 26 * 28 * @since BuddyPress (2.4.0)27 * @since 2.4.0 29 28 * 30 29 * @return string … … 35 34 * Filters the profile component slug. 36 35 * 37 * @since BuddyPress (2.4.0)36 * @since 2.4.0 38 37 * 39 38 * @param string $slug Profile component slug. … … 45 44 * Output the members component slug. 46 45 * 47 * @since BuddyPress (1.5.0)46 * @since 1.5.0 48 47 * 49 48 * @uses bp_get_members_slug() … … 55 54 * Return the members component slug. 56 55 * 57 * @since BuddyPress (1.5.0)56 * @since 1.5.0 58 57 * 59 58 * @return string … … 64 63 * Filters the Members component slug. 65 64 * 66 * @since BuddyPress (1.5.0)65 * @since 1.5.0 67 66 * 68 67 * @param string $slug Members component slug. … … 74 73 * Output the members component root slug. 75 74 * 76 * @since BuddyPress (1.5.0)75 * @since 1.5.0 77 76 * 78 77 * @uses bp_get_members_root_slug() … … 84 83 * Return the members component root slug. 85 84 * 86 * @since BuddyPress (1.5.0)85 * @since 1.5.0 87 86 * 88 87 * @return string … … 93 92 * Filters the Members component root slug. 94 93 * 95 * @since BuddyPress (1.5.0)94 * @since 1.5.0 96 95 * 97 96 * @param string $slug Members component root slug. … … 103 102 * Output member directory permalink. 104 103 * 105 * @since BuddyPress (1.5.0)104 * @since 1.5.0 106 105 * 107 106 * @uses bp_get_members_directory_permalink() … … 113 112 * Return member directory permalink. 114 113 * 115 * @since BuddyPress (1.5.0)114 * @since 1.5.0 116 115 * 117 116 * @return string … … 122 121 * Filters the member directory permalink. 123 122 * 124 * @since BuddyPress (1.5.0)123 * @since 1.5.0 125 124 * 126 125 * @param string $value Members directory permalink. … … 132 131 * Output the sign-up slug. 133 132 * 134 * @since BuddyPress (1.5.0)133 * @since 1.5.0 135 134 * 136 135 * @uses bp_get_signup_slug() … … 142 141 * Return the sign-up slug. 143 142 * 144 * @since BuddyPress (1.5.0)143 * @since 1.5.0 145 144 * 146 145 * @return string … … 160 159 * Filters the sign-up slug. 161 160 * 162 * @since BuddyPress (1.5.0)161 * @since 1.5.0 163 162 * 164 163 * @param string $slug Sign-up slug. … … 170 169 * Output the activation slug. 171 170 * 172 * @since BuddyPress (1.5.0)171 * @since 1.5.0 173 172 * 174 173 * @uses bp_get_activate_slug() … … 180 179 * Return the activation slug. 181 180 * 182 * @since BuddyPress (1.5.0)181 * @since 1.5.0 183 182 * 184 183 * @return string … … 198 197 * Filters the activation slug. 199 198 * 200 * @since BuddyPress (1.5.0)199 * @since 1.5.0 201 200 * 202 201 * @param string $slug Activation slug. … … 442 441 * Fires right before the rewinding of members listing. 443 442 * 444 * @since BuddyPress (1.5.0)443 * @since 1.5.0 445 444 */ 446 445 do_action('member_loop_end'); … … 473 472 * Fires if the current member is the first in the loop. 474 473 * 475 * @since BuddyPress (1.5.0)474 * @since 1.5.0 476 475 */ 477 476 do_action( 'member_loop_start' ); … … 631 630 * Filters whether or not BuddyPress has members to iterate over. 632 631 * 633 * @since BuddyPress (1.2.4)632 * @since 1.2.4 634 633 * 635 634 * @param bool $value Whether or not there are members to iterate over. … … 710 709 * Filters the members pagination count. 711 710 * 712 * @since BuddyPress (1.5.0)711 * @since 1.5.0 713 712 * 714 713 * @param string $pag Pagination count string. … … 734 733 * Filters the members pagination link. 735 734 * 736 * @since BuddyPress (1.2.0)735 * @since 1.2.0 737 736 * 738 737 * @param string $pag_links HTML markup for pagination links. … … 761 760 * Filters the ID of the current member in the loop. 762 761 * 763 * @since BuddyPress (1.2.0)762 * @since 1.2.0 764 763 * 765 764 * @param int $member_id ID of the member being iterated over. … … 771 770 * Output the row class of the current member in the loop. 772 771 * 773 * @since BuddyPress (1.7.0)772 * @since 1.7.0 774 773 * 775 774 * @param array $classes Array of custom classes … … 781 780 * Return the row class of the current member in the loop. 782 781 * 783 * @since BuddyPress (1.7.0)782 * @since 1.7.0 784 783 * 785 784 * @param array $classes Array of custom classes … … 822 821 * Filters the determined classes to add to the HTML element. 823 822 * 824 * @since BuddyPress (1.7.0)823 * @since 1.7.0 825 824 * 826 825 * @param string $classes Classes to be added to the HTML element. … … 850 849 * Filters the nicename of the current member in the loop. 851 850 * 852 * @since BuddyPress (1.2.5)851 * @since 1.2.5 853 852 * 854 853 * @param string $user_nicename Nicename for the current member. … … 874 873 * Filters the login of the current member in the loop. 875 874 * 876 * @since BuddyPress (1.2.5)875 * @since 1.2.5 877 876 * 878 877 * @param string $user_login Login for the current member. … … 898 897 * Filters the email address of the current member in the loop. 899 898 * 900 * @since BuddyPress (1.2.5)899 * @since 1.2.5 901 900 * 902 901 * @param string $user_email Email address for the current member. … … 916 915 * Filters whether the current member in the loop is the logged-in user. 917 916 * 918 * @since BuddyPress (1.2.5)917 * @since 1.2.5 919 918 * 920 919 * @param bool $value Whether current member in the loop is logged in. … … 935 934 * Filters a members avatar. 936 935 * 937 * @since BuddyPress (1.2.0)936 * @since 1.2.0 938 937 * 939 938 * @param string $value Formatted HTML <img> element, … … 982 981 * Filters a members avatar. 983 982 * 984 * @since BuddyPress (1.2.0)983 * @since 1.2.0 985 984 * 986 985 * @param string $value Formatted HTML <img> element, … … 1007 1006 * Filters the permalink for the current member in the loop. 1008 1007 * 1009 * @since BuddyPress (1.2.0)1008 * @since 1.2.0 1010 1009 * 1011 1010 * @param string $value Permalink for the current member in the loop. … … 1032 1031 * Filters the display name of current member in the loop. 1033 1032 * 1034 * @since BuddyPress (1.2.0)1033 * @since 1.2.0 1035 1034 * 1036 1035 * @param string $value Display name for current member. … … 1073 1072 * Filters the display name of current member in the loop. 1074 1073 * 1075 * @since BuddyPress (1.2.0)1074 * @since 1.2.0 1076 1075 * 1077 1076 * @param string $fullname Display name for current member. … … 1133 1132 * Filters the current members last active time. 1134 1133 * 1135 * @since BuddyPress (1.2.0)1134 * @since 1.2.0 1136 1135 * 1137 1136 * @param string $last_activity Formatted time since last activity. … … 1177 1176 * Filters the excerpt of the latest update for current member in the loop. 1178 1177 * 1179 * @since BuddyPress (1.2.5)1178 * @since 1.2.5 1180 1179 * 1181 1180 * @param string $value Excerpt of the latest update for current member in the loop. … … 1196 1195 * Filters the latest update from the current member in the loop. 1197 1196 * 1198 * @since BuddyPress (1.2.0)1197 * @since 1.2.0 1199 1198 * 1200 1199 * @param string $update_content Formatted latest update for current member. … … 1278 1277 * Filters resulting piece of member profile data. 1279 1278 * 1280 * @since BuddyPress (1.2.0)1279 * @since 1.2.0 1281 1280 * 1282 1281 * @param string|bool $data Profile data if found, otherwise false. … … 1304 1303 * Filters the 'registered [x days ago]' string for the current member. 1305 1304 * 1306 * @since BuddyPress (2.1.0)1305 * @since 2.1.0 1307 1306 * 1308 1307 * @param string $registered The 'registered [x days ago]' string. … … 1359 1358 * Filters the Members component search form. 1360 1359 * 1361 * @since BuddyPress (1.9.0)1360 * @since 1.9.0 1362 1361 * 1363 1362 * @param string $search_form_html HTML markup for the member search form. … … 1382 1381 * Filters the total site member count. 1383 1382 * 1384 * @since BuddyPress (1.2.0)1383 * @since 1.2.0 1385 1384 * 1386 1385 * @param int $value Number-formatted total site member count. … … 1471 1470 * This is a dynamic filter that is dependent on the navigation tab component being rendered. 1472 1471 * 1473 * @since BuddyPress (1.1.0)1472 * @since 1.1.0 1474 1473 * 1475 1474 * @param string $value Markup for the tab list item including link. … … 1525 1524 * Filters the logged in user's avatar. 1526 1525 * 1527 * @since BuddyPress (1.1.0)1526 * @since 1.1.0 1528 1527 * 1529 1528 * @param string $value User avatar string. … … 1574 1573 * Filters the displayed user's avatar. 1575 1574 * 1576 * @since BuddyPress (1.1.0)1575 * @since 1.1.0 1577 1576 * 1578 1577 * @param string $value User avatar string. … … 1604 1603 * Filters the email address of the displayed user. 1605 1604 * 1606 * @since BuddyPress (1.5.0)1605 * @since 1.5.0 1607 1606 * 1608 1607 * @param string $retval Email address for displayed user. … … 1623 1622 * Filters the 'active [x days ago]' string for a user. 1624 1623 * 1625 * @since BuddyPress (1.0.0)1624 * @since 1.0.0 1626 1625 * 1627 1626 * @param string $value Formatted 'active [x days ago]' string. … … 1646 1645 * Filters the 'active [x days ago]' string for a user. 1647 1646 * 1648 * @since BuddyPress (1.5.0)1647 * @since 1.5.0 1649 1648 * 1650 1649 * @param string $value Formatted 'active [x days ago]' string. … … 1684 1683 * Filters the first name of a user. 1685 1684 * 1686 * @since BuddyPress (1.2.0)1685 * @since 1.2.0 1687 1686 * 1688 1687 * @param string $value First name of user. … … 1708 1707 * Filters the link for the logged-in user's profile. 1709 1708 * 1710 * @since BuddyPress (1.2.4)1709 * @since 1.2.4 1711 1710 * 1712 1711 * @param string $value Link for the logged-in user's profile. … … 1731 1730 * Filters the link for the displayed user's profile. 1732 1731 * 1733 * @since BuddyPress (1.2.4)1732 * @since 1.2.4 1734 1733 * 1735 1734 * @param string $value Link for the displayed user's profile. … … 1761 1760 * Filters the generated link for the displayed user's profile. 1762 1761 * 1763 * @since BuddyPress (1.0.0)1762 * @since 1.0.0 1764 1763 * 1765 1764 * @param string $value Generated link for the displayed user's profile. … … 1779 1778 * Filters the generated link for the logged-in user's profile. 1780 1779 * 1781 * @since BuddyPress (1.0.0)1780 * @since 1.0.0 1782 1781 * 1783 1782 * @param string $value Generated link for the logged-in user's profile. … … 1803 1802 * Filters the displayed user's display name. 1804 1803 * 1805 * @since BuddyPress (1.2.0)1804 * @since 1.2.0 1806 1805 * 1807 1806 * @param string $value Displayed user's display name. … … 1833 1832 * Filters the logged-in user's display name. 1834 1833 * 1835 * @since BuddyPress (1.0.0)1834 * @since 1.0.0 1836 1835 * 1837 1836 * @param string $value Logged-in user's display name. … … 1863 1862 * Filters the username of the displayed user. 1864 1863 * 1865 * @since BuddyPress (1.2.0)1864 * @since 1.2.0 1866 1865 * 1867 1866 * @param string $username Username of the displayed user. … … 1893 1892 * Filters the username of the logged-in user. 1894 1893 * 1895 * @since BuddyPress (1.2.0)1894 * @since 1.2.0 1896 1895 * 1897 1896 * @param string $username Username of the logged-in user. … … 1902 1901 * Echo the current member type message. 1903 1902 * 1904 * @since BuddyPress (2.3.0)1903 * @since 2.3.0 1905 1904 */ 1906 1905 function bp_current_member_type_message() { … … 1910 1909 * Generate the current member type message. 1911 1910 * 1912 * @since BuddyPress (2.3.0)1911 * @since 2.3.0 1913 1912 * 1914 1913 * @return string … … 1927 1926 * Do we have a working custom sign up page? 1928 1927 * 1929 * @since BuddyPress (1.5.0)1928 * @since 1.5.0 1930 1929 * 1931 1930 * @uses bp_get_signup_slug() To make sure there is a slug assigned to the page. … … 1963 1962 * Filters the URL to the signup page. 1964 1963 * 1965 * @since BuddyPress (1.1.0)1964 * @since 1.1.0 1966 1965 * 1967 1966 * @param string $page URL to the signup page. … … 1973 1972 * Do we have a working custom activation page? 1974 1973 * 1975 * @since BuddyPress (1.5.0)1974 * @since 1.5.0 1976 1975 * 1977 1976 * @uses bp_get_activate_slug() To make sure there is a slug assigned to the page. … … 2009 2008 * Filters the URL of the activation page. 2010 2009 * 2011 * @since BuddyPress (1.2.0)2010 * @since 1.2.0 2012 2011 * 2013 2012 * @param string $page URL to the activation page. … … 2037 2036 * Filters the username submitted during signup. 2038 2037 * 2039 * @since BuddyPress (1.1.0)2038 * @since 1.1.0 2040 2039 * 2041 2040 * @param string $value Username submitted during signup. … … 2065 2064 * Filters the email address submitted during signup. 2066 2065 * 2067 * @since BuddyPress (1.1.0)2066 * @since 1.1.0 2068 2067 * 2069 2068 * @param string $value Email address submitted during signup. … … 2091 2090 * Filters the 'signup_with_blog' value submitted during signup. 2092 2091 * 2093 * @since BuddyPress (1.1.0)2092 * @since 1.1.0 2094 2093 * 2095 2094 * @param string $value 'signup_with_blog' value submitted during signup. … … 2119 2118 * Filters the 'signup_blog_url' value submitted during signup. 2120 2119 * 2121 * @since BuddyPress (1.1.0)2120 * @since 1.1.0 2122 2121 * 2123 2122 * @param string $value 'signup_blog_url' value submitted during signup. … … 2129 2128 * Output the base URL for subdomain installations of WordPress Multisite. 2130 2129 * 2131 * @since BuddyPress (2.1.0)2130 * @since 2.1.0 2132 2131 */ 2133 2132 function bp_signup_subdomain_base() { … … 2139 2138 * Replaces bp_blogs_get_subdomain_base() 2140 2139 * 2141 * @since BuddyPress (2.1.0)2140 * @since 2.1.0 2142 2141 * 2143 2142 * @return string The base URL - eg, 'example.com' for site_url() example.com or www.example.com. … … 2152 2151 * Filters the base URL for subdomain installations of WordPress Multisite. 2153 2152 * 2154 * @since BuddyPress (2.1.0)2153 * @since 2.1.0 2155 2154 * 2156 2155 * @param string $subdomain_base The base URL - eg, 'example.com' for … … 2181 2180 * Filters the 'signup_blog_title' value submitted during signup. 2182 2181 * 2183 * @since BuddyPress (1.1.0)2182 * @since 1.1.0 2184 2183 * 2185 2184 * @param string $value 'signup_blog_title' value submitted during signup. … … 2209 2208 * Filters the 'signup_blog_privacy' value submitted during signup. 2210 2209 * 2211 * @since BuddyPress (1.1.0)2210 * @since 1.1.0 2212 2211 * 2213 2212 * @param string $value 'signup_blog_privacy' value submitted during signup. … … 2245 2244 * Filters the avatar dir used during signup. 2246 2245 * 2247 * @since BuddyPress (1.1.0)2246 * @since 1.1.0 2248 2247 * 2249 2248 * @param string|bool $signup_avatar_dir Avatar dir used during signup or false. … … 2330 2329 * Filters the base Gravatar url used for signup avatars when no avatar dir found. 2331 2330 * 2332 * @since BuddyPress (1.0.2)2331 * @since 1.0.2 2333 2332 * 2334 2333 * @param string $value Gravatar url to use. … … 2342 2341 * Filters the user avatar during signup. 2343 2342 * 2344 * @since BuddyPress (1.1.0)2343 * @since 1.1.0 2345 2344 * 2346 2345 * @param string $gravatar_img Avatar HTML image tag. … … 2384 2383 * Filters whether or not new signups are allowed. 2385 2384 * 2386 * @since BuddyPress (1.5.0)2385 * @since 1.5.0 2387 2386 * 2388 2387 * @param bool $signup_allowed Whether or not new signups are allowed. … … 2394 2393 * Hook member activity feed to <head>. 2395 2394 * 2396 * @since BuddyPress (1.5.0)2395 * @since 1.5.0 2397 2396 */ 2398 2397 function bp_members_activity_feed() {
Note: See TracChangeset
for help on using the changeset viewer.