apply_filters( 'um_form_fields_textarea_settings', $textarea_settings, $data ) → {array}
Filters WP Editor options for textarea init.
Parameters:
Name | Type | Description |
---|---|---|
$textarea_settings |
array | WP Editor settings. |
$data |
array | Field data. Since 2.6.5 |
- Since:
- 1.3.x
- Source:
Returns:
WP Editor settings.
- Type
- array
Example
function function_name( $textarea_settings, $data ) {
// your code here
return $textarea_settings;
}
add_filter( 'um_form_fields_textarea_settings', 'function_name', 10, 2 );