bp_nouveau_wp_profile_fields()
Check if there are still profile fields to output.
Return Return
(bool) True if the profile field exists. False otherwise.
Source Source
File: bp-templates/bp-nouveau/includes/members/template-tags.php
function bp_nouveau_wp_profile_fields() { $bp_nouveau = bp_nouveau(); if ( isset( $bp_nouveau->members->wp_profile[ $bp_nouveau->members->wp_profile_index ] ) ) { return true; } $bp_nouveau->members->wp_profile_index = 0; unset( $bp_nouveau->members->wp_profile_current ); return false; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |