textarea
field type to store a multiple line text field
Create a textarea
field type using
You appear to be a bot. Output may be restricted
bw_register_field( "_oikp_notes", "textarea", __( "Notes" ) ); bw_register_field_for_object_type( "_oikp_notes", "oik-presentation" );
Form display
When displayed in the Fields meta box or [bw_new] it appears like this.bw_fields display
When displayed by [bw_fields] it appears like this.Notes
In the current version of the code, localization of labels for the textarea field type is not performed automatically. Here we see the “Notes” field label being localized using the __() function, and the default textdomain.Related
- bw_form_field_textarea() – Format a textarea metabox
- bw_theme_field_textarea() – Theme a field of type ‘textarea’