Changeset 13484 for trunk/src/bp-xprofile/bp-xprofile-template.php
- Timestamp:
- 05/20/2023 06:34:46 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-template.php
r13443 r13484 19 19 * @since 11.0.0 `$profile_group_id` accepts an array of profile group ids. 20 20 * 21 * @global object $profile_template21 * @global BP_XProfile_Data_Template $profile_template Profile data template object. 22 22 * @see BP_XProfile_Group::get() for full description of `$args` array. 23 23 * … … 99 99 * @since 1.0.0 100 100 * 101 * @global BP_XProfile_Data_Template $profile_template Profile data template object. 102 * 101 103 * @return mixed 102 104 */ … … 111 113 * @since 1.0.0 112 114 * 115 * @global BP_XProfile_Data_Template $profile_template Profile data template object. 116 * 113 117 * @return mixed 114 118 */ … … 123 127 * @since 1.0.0 124 128 * 129 * @global BP_XProfile_Data_Template $profile_template Profile data template object. 130 * 125 131 * @return mixed 126 132 */ … … 147 153 * 148 154 * @since 1.1.0 155 * 156 * @global BP_XProfile_Data_Template $profile_template Profile data template object. 149 157 * 150 158 * @param string|bool $class Extra classes to append to class attribute. … … 209 217 * @since 1.0.0 210 218 * 211 * @global object $profile_template219 * @global BP_XProfile_Data_Template $profile_template Profile data template object. 212 220 * 213 221 * @return mixed … … 221 229 * @since 2.8.0 222 230 * 223 * @param bool $value Whether or not there is data to display.224 * @param object $profile_template Profiletemplate object.225 * @param string $value Profile field being displayed.226 * @param string $value Profile field ID being displayed.231 * @param bool $value Whether or not there is data to display. 232 * @param BP_XProfile_Data_Template $profile_template Profile data template object. 233 * @param string $value Profile field being displayed. 234 * @param string $value Profile field ID being displayed. 227 235 */ 228 236 return apply_filters( 'bp_field_has_data', $profile_template->field_has_data, $profile_template, $profile_template->field, $profile_template->field->id ); … … 234 242 * @since 1.0.0 235 243 * 236 * @global object $profile_template244 * @global BP_XProfile_Data_Template $profile_template Profile data template object. 237 245 * 238 246 * @return bool … … 246 254 * @since 2.8.0 247 255 * 248 * @param bool $value Whether or not there is public data to display.249 * @param object$profile_template Profile template object.250 * @param string $value Profile field being displayed.251 * @param string $value Profile field ID being displayed.256 * @param bool $value Whether or not there is public data to display. 257 * @param BP_XProfile_Data_Template $profile_template Profile template object. 258 * @param string $value Profile field being displayed. 259 * @param string $value Profile field ID being displayed. 252 260 */ 253 261 return apply_filters( 'bp_field_has_public_data', ( ! empty( $profile_template->field_has_data ) ), $profile_template, $profile_template->field, $profile_template->field->id ); … … 268 276 * @since 1.1.0 269 277 * 278 * @global object $group Current group of profile fields. 279 * 270 280 * @return int 271 281 */ … … 297 307 * @since 1.0.0 298 308 * 309 * @global object $group Current group of profile fields. 310 * 299 311 * @return string 300 312 */ … … 326 338 * @since 1.1.0 327 339 * 340 * @global object $group Current group of profile fields. 341 * 328 342 * @return string 329 343 */ … … 355 369 * @since 1.0.0 356 370 * 371 * @global object $group Current group of profile fields. 372 * 357 373 * @return string 358 374 */ … … 383 399 * 384 400 * @since 1.1.0 401 * 402 * @global object $group Current group of profile fields. 385 403 * 386 404 * @return string … … 423 441 * @since 1.1.0 424 442 * 443 * @global object $group Current group of profile fields. 444 * 425 445 * @return string 426 446 */ … … 451 471 * 452 472 * @since 2.1.0 473 * 474 * @global BP_XProfile_Data_Template $profile_template Profile data template object. 453 475 * 454 476 * @return string … … 481 503 * @since 1.0.0 482 504 * 505 * @global BP_XProfile_Data_Template $profile_template Profile data template object. 506 * 483 507 * @return mixed 484 508 */ … … 493 517 * @since 1.0.0 494 518 * 519 * @global BP_XProfile_Data_Template $profile_template Profile data template object. 520 * 495 521 * @return mixed 496 522 */ … … 514 540 * @since 1.1.0 515 541 * 542 * @global object $field Current profile field. 543 * 516 544 * @return int 517 545 */ … … 543 571 * @since 1.0.0 544 572 * 573 * @global object $field Current profile field. 574 * 545 575 * @return string 546 576 */ … … 571 601 * 572 602 * @since 1.0.0 603 * 604 * @global object $field Current profile field. 573 605 * 574 606 * @return string … … 605 637 * @since 1.1.0 606 638 * 639 * @global object $field Current profile field. 640 * 607 641 * @return string 608 642 */ … … 653 687 * @since 1.1.0 654 688 * 689 * @global object $field Current profile field. 690 * 655 691 * @return string 656 692 */ … … 682 718 * @since 1.1.0 683 719 * 720 * @global object $field Current profile field. 721 * 684 722 * @return string 685 723 */ … … 710 748 * 711 749 * @since 1.1.0 750 * 751 * @global object $field Current profile field. 712 752 * 713 753 * @return string … … 737 777 * @since 1.8.0 738 778 * 779 * @global object $field Current profile field. 780 * 739 781 * @return string The _errors action name corresponding to this profile field. 740 782 */ … … 760 802 * @since 1.1.0 761 803 * 804 * @global object $field Current profile field. 762 805 * 763 806 * @param array $args { … … 821 864 * @since 1.1.0 822 865 * 866 * @global object $field Current profile field. 867 * 823 868 * @return bool 824 869 */ … … 857 902 * 858 903 * @since 1.6.0 904 * 905 * @global object $field Current profile field. 859 906 * 860 907 * @return string … … 895 942 * 896 943 * @since 1.6.0 944 * 945 * @global object $field Current profile field. 897 946 * 898 947 * @return string
Note: See TracChangeset
for help on using the changeset viewer.