acf_field_url::render_field_presentation_settings
Renders the field settings used in the "Presentation" tab.
Method of the class: acf_field_url{}
No Hooks.
Returns
null. Nothing (null).
Usage
$acf_field_url = new acf_field_url(); $acf_field_url->render_field_presentation_settings( $field );
- $field(array) (required)
- The field settings array.
Changelog
| Since 6.0 | Introduced. |
acf_field_url::render_field_presentation_settings() acf field url::render field presentation settings code ACF 6.0.4
function render_field_presentation_settings( $field ) {
acf_render_field_setting(
$field,
array(
'label' => __( 'Placeholder Text', 'acf' ),
'instructions' => __( 'Appears within the input', 'acf' ),
'type' => 'text',
'name' => 'placeholder',
)
);
}