bp_get_the_profile_signup_field_input_name( string $field_selector = '' )

Used to edit the field input name inside the xProfile Admin Screen


Description Description

See also See also


Top ↑

Parameters Parameters

$field_selector

(string) (Optional) The text to use as the input name/id attribute.

Default value: ''


Top ↑

Return Return

(string) The text to use as the input name/id attribute.


Top ↑

Source Source

File: bp-xprofile/bp-xprofile-filters.php

function bp_get_the_profile_signup_field_input_name( $field_selector = '' ) {
	global $field;

	if ( isset( $field->id ) && $field->id ) {
		$field_selector = sprintf( 'signup_field_%d', $field->id );
	}

	return $field_selector;
}

Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.