Description
Implement bw_form_field_ hook for sctextarea sctextarea is basically a text area where you can enter shortcodes. Ironically, considering the prefix 'sc', it's also one where we don't want the spell checker to be active since this can bring Chrome to a standstill.
Usage
bw_form_field_sctextarea( $name, $type, $title, $value, $args );Parameters
- $name
- ( string ) required – field name
- $type
- ( string ) required – field type
- $title
- ( string ) required – field title
- $value
- ( string ) required – not expected
- $args
- ( string ) required – the '#args' part of the field definition
Returns
voidSource
File name: oik-fields/includes/oik-form-fields.phpLines:
1 to 5 of 5
function bw_form_field_sctextarea( $name, $type, $title, $value, $args ) { bw_trace2(); $args['#spellcheck'] = bw_array_get( $args, "#spellcheck", "false" ); bw_form_field_textarea( $name, $type, $title, $value, $args ); }View on GitHub
Called by
Invoked by
Calls
1 to 2 of 2
