GF_Field_Post_Content
Source: includes/fields/class-gf-field-post-content.php:9
Details
- Kind:
class - Namespace:
(global) - Extends: GF_Field_Textarea
Properties
| Property | Type | Description |
|---|---|---|
$duplicatable | bool | Whether there can be more than one of this field type per form. |
$repeatable | bool | Whether the field can be used in a repeater. |
Methods
| Method | Description |
|---|---|
get_form_editor_field_description() | Returns the field's form editor description. |
get_form_editor_field_icon() | Returns the field's form editor icon. |
filter_user_option_rich_editing() | Filter the rich_editing option for the current user. |
Method Reference
get_form_editor_field_description()
public function get_form_editor_field_description()
Returns the field's form editor description.
Returns
string
Since: 2.5
Source: includes/fields/class-gf-field-post-content.php:42
get_form_editor_field_icon()
public function get_form_editor_field_icon()
Returns the field's form editor icon.
This could be an icon url or a gform-icon class.
Returns
string
Since: 2.5
Source: includes/fields/class-gf-field-post-content.php:55
filter_user_option_rich_editing()
public function filter_user_option_rich_editing( $value )
Filter the rich_editing option for the current user.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$value | string | The value of the rich_editing option for the current user. |
Returns
string
Since: 2.2.5.14
Source: includes/fields/class-gf-field-post-content.php:97