bp_nouveau_get_wp_profile_field_id()

Get the WP profile field ID.

Description

Return

(int) the profile field ID.

Source

File: bp-templates/bp-nouveau/includes/members/template-tags.php

956
957
958
959
960
961
962
963
964
965
966
967
function bp_nouveau_get_wp_profile_field_id() {
    $field = bp_nouveau()->members->wp_profile_current;
 
    /**
     * Filters the WP profile field ID used for BuddyPress Nouveau.
     *
     * @since BuddyPress 3.0.0
     *
     * @param string $id Field ID.
     */
    return apply_filters( 'bp_nouveau_get_wp_profile_field_id', $field->id );
}

Changelog

Changelog
Version Description
BuddyPress 3.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.