- Timestamp:
- 03/18/2018 09:56:44 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/members/template-tags.php
r11856 r11899 3 3 * Members template tags 4 4 * 5 * @since 1.0.05 * @since 3.0.0 6 6 */ 7 7 … … 13 13 * before the members directory content 14 14 * 15 * @since 1.0.015 * @since 3.0.0 16 16 */ 17 17 function bp_nouveau_before_members_directory_content() { … … 49 49 * after the members directory content 50 50 * 51 * @since 1.0.051 * @since 3.0.0 52 52 */ 53 53 function bp_nouveau_after_members_directory_content() { … … 84 84 * Fire specific hooks into the single members templates 85 85 * 86 * @since 1.0.0 87 * @since 1.2.0 (BuddyPress) for the 'activity_content', 'blogs_content', 'header_meta', 88 * 'friends_content', 'groups_content', 'home_content', 'plugin_template' 89 * 'friend_requests_content' suffixes. 90 * @since 1.5.0 (BuddyPress) for the 'settings_template' suffix. 91 * 92 * @param string $when 'before' or 'after' 93 * @param string $suffix Use it to add terms at the end of the hook name 86 * @since 3.0.0 87 * 88 * @param string $when 'before' or 'after' 89 * @param string $suffix Use it to add terms at the end of the hook name 94 90 */ 95 91 function bp_nouveau_member_hook( $when = '', $suffix = '' ) { … … 113 109 * Template tag to wrap the notification settings hook 114 110 * 115 * @since 1.0.0111 * @since 3.0.0 116 112 */ 117 113 function bp_nouveau_member_email_notice_settings() { … … 127 123 * Output the action buttons for the displayed user profile 128 124 * 129 * @since 1.0.0125 * @since 3.0.0 130 126 * 131 127 * @param array $args See bp_nouveau_wrapper() for the description of parameters. … … 176 172 * Output the action buttons in member loops 177 173 * 178 * @since 1.0.0174 * @since 3.0.0 179 175 * 180 176 * @param array $args See bp_nouveau_wrapper() for the description of parameters. … … 219 215 * Get the action buttons for the displayed user profile 220 216 * 221 * @since 1.0.0217 * @since 3.0.0 222 218 * 223 219 * @return array … … 477 473 * Filter to add your buttons, use the position argument to choose where to insert it. 478 474 * 479 * @since 1.0.0475 * @since 3.0.0 480 476 * 481 477 * @param array $buttons The list of buttons. … … 508 504 * Leave a chance to adjust the $return 509 505 * 510 * @since 1.0.0506 * @since 3.0.0 511 507 * 512 508 * @param array $return The list of buttons ordered. … … 522 518 * Does the member has meta. 523 519 * 524 * @since 1.0.0520 * @since 3.0.0 525 521 * 526 522 * @return bool True if the member has meta. False otherwise. … … 533 529 * Display the member meta. 534 530 * 535 * @since 1.0.0531 * @since 3.0.0 536 532 * 537 533 * @return string HTML Output. … … 544 540 * Get the member meta. 545 541 * 546 * @since 1.0.0542 * @since 3.0.0 547 543 * 548 544 * @return array The member meta. … … 588 584 * Filter to add/remove Member meta. 589 585 * 590 * @since 1.0.0586 * @since 3.0.0 591 587 * 592 588 * @param array $meta The list of meta to output. … … 603 599 * Load the appropriate content for the single member pages 604 600 * 605 * @since 1.0.0601 * @since 3.0.0 606 602 */ 607 603 function bp_nouveau_member_template_part() { … … 651 647 * Use the appropriate Member header and enjoy a template hierarchy 652 648 * 653 * @since 1.0.0649 * @since 3.0.0 654 650 * 655 651 * @return string HTML Output … … 686 682 * reach the Customizer section where it's possible to do it. 687 683 * 688 * @since 1.0.0684 * @since 3.0.0 689 685 * 690 686 * @return string HTML Output … … 704 700 * reach the Customizer section where it's possible to do it. 705 701 * 706 * @since 1.0.0702 * @since 3.0.0 707 703 * 708 704 * @return string HTML Output … … 721 717 * Display the Member description making sure linefeeds are taking in account 722 718 * 723 * @since 1.0.0719 * @since 3.0.0 724 720 * 725 721 * @param int $user_id Optional. … … 757 753 * Display the Edit profile link (temporary). 758 754 * 759 * @since 1.0.0755 * @since 3.0.0 760 756 * 761 757 * @todo replace with Ajax feature … … 771 767 * @todo replace with Ajax featur 772 768 * 773 * @since 1.0.0769 * @since 3.0.0 774 770 * 775 771 * @return string HTML Output … … 797 793 * before and after the WP User's Profile. 798 794 * 799 * @since 1.0.0795 * @since 3.0.0 800 796 */ 801 797 function bp_nouveau_wp_profile_hooks( $type = 'before' ) { … … 841 837 * Does the displayed user has WP profile fields? 842 838 * 843 * @since 1.0.0839 * @since 3.0.0 844 840 * 845 841 * @return bool True if user has profile fields. False otherwise. … … 886 882 * Check if there are still profile fields to output. 887 883 * 888 * @since 1.0.0884 * @since 3.0.0 889 885 * 890 886 * @return bool True if the profile field exists. False otherwise. … … 906 902 * Set the current profile field and iterate into the loop. 907 903 * 908 * @since 1.0.0904 * @since 3.0.0 909 905 */ 910 906 function bp_nouveau_wp_profile_field() { … … 918 914 * Output the WP profile field ID. 919 915 * 920 * @since 1.0.0916 * @since 3.0.0 921 917 */ 922 918 function bp_nouveau_wp_profile_field_id() { … … 926 922 * Get the WP profile field ID. 927 923 * 928 * @since 1.0.0924 * @since 3.0.0 929 925 * 930 926 * @return int the profile field ID. … … 938 934 * Output the WP profile field label. 939 935 * 940 * @since 1.0.0936 * @since 3.0.0 941 937 */ 942 938 function bp_nouveau_wp_profile_field_label() { … … 947 943 * Get the WP profile label. 948 944 * 949 * @since 1.0.0945 * @since 3.0.0 950 946 * 951 947 * @return string the profile field label. … … 959 955 * Output the WP profile field data. 960 956 * 961 * @since 1.0.0957 * @since 3.0.0 962 958 */ 963 959 function bp_nouveau_wp_profile_field_data() { … … 984 980 * Get the WP profile field data. 985 981 * 986 * @since 1.0.0982 * @since 3.0.0 987 983 * 988 984 * @return string the profile field data.
Note: See TracChangeset
for help on using the changeset viewer.