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. |
get_value_entry_list() | Format the entry value for display on the entries list page. |
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
get_value_entry_list()
public function get_value_entry_list( $value, $entry, $field_id, $columns, $form )
Format the entry value for display on the entries list page.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$value | string | array | The field value. | |
$entry | array | The Entry Object currently being processed. | |
$field_id | string | The field or input ID currently being processed. | |
$columns | array | The properties for the columns being displayed on the entry list page. | |
$form | array | The Form Object currently being processed. |
Returns
string
Since: 3.0.0
Source: includes/fields/class-gf-field-post-content.php:101
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:118