bp_nouveau_has_signup_xprofile_fields( $do_loop = false )
Checks whether there are signup profile fields to display.
Parameters Parameters
-
(bool) (Required) Whether to init an xProfile loop.
Return Return
(bool) True if there are signup profile fields to display. False otherwise.
Source Source
File: bp-templates/bp-nouveau/includes/xprofile/template-tags.php
function bp_nouveau_has_signup_xprofile_fields( $do_loop = false ) { if ( ! $do_loop ) { $signup_fields = (array) bp_xprofile_get_signup_field_ids(); return 1 <= count( $signup_fields ); } return bp_has_profile( bp_xprofile_signup_args() ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
8.0.0 | Introduced. |