BP_Admin_Tab::render_input_field_html( $args )
Output the input field html based on the arguments
Description
Source
File: bp-core/classes/class-bp-admin-tab.php
public function render_input_field_html( $args ) {
printf(
'<input name="%s" type="%s" id="%s" value="%s" placeholder="%s" class="regular-text" /> %s',
$args['input_name'],
$args['input_type'],
$args['input_id'],
$args['input_value'],
$args['input_placeholder'],
$args['input_description']? $this->render_input_description( $args['input_description'] ) : ''
);
}
Changelog
| Version | Description |
|---|---|
| BuddyBoss 1.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.