GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Public Member Functions | |
__construct (GravityView_Delete_Entry $loader) | |
add_available_field ( $available_fields=array()) | |
Add Delete Entry Link to the Add Field dialog. More... | |
add_default_field ( $entry_default_fields, $form=array(), $zone='') | |
Add Edit Link as a default field, outside those set in the Gravity Form form. More... | |
delete_link_field_options ( $field_options, $template_id, $field_id, $context, $input_type) | |
Add "Delete Link Text" setting to the edit_link field settings. More... | |
load () | |
modify_visibility_caps ( $visibility_caps=array(), $template_id='', $field_id='', $context='', $input_type='') | |
Change wording for the Edit context to read Entry Creator. More... | |
view_settings_delete_entry_metabox ( $current_settings) | |
Render Delete Entry Permissions settings. More... | |
view_settings_edit_entry_metabox ( $current_settings) | |
Renders settings relating to Delete Entry that should appear in the Edit Entry metabox. More... | |
view_settings_metabox ( $current_settings) | |
Render Delete Entry View metabox settings. More... | |
Protected Attributes | |
$loader | |
Definition at line 17 of file class-delete-entry-admin.php.
__construct | ( | GravityView_Delete_Entry | $loader | ) |
Definition at line 21 of file class-delete-entry-admin.php.
References $loader.
add_available_field | ( | $available_fields = array() | ) |
Add Delete Entry Link to the Add Field dialog.
array | $available_fields |
Definition at line 164 of file class-delete-entry-admin.php.
add_default_field | ( | $entry_default_fields, | |
$form = array() , |
|||
$zone = '' |
|||
) |
Add Edit Link as a default field, outside those set in the Gravity Form form.
array | $entry_default_fields | Existing fields |
string | array | $form | form_ID or form object |
string | $zone | Either 'single', 'directory', 'edit', 'header', 'footer' |
Definition at line 205 of file class-delete-entry-admin.php.
delete_link_field_options | ( | $field_options, | |
$template_id, | |||
$field_id, | |||
$context, | |||
$input_type | |||
) |
Add "Delete Link Text" setting to the edit_link field settings.
array | $field_options | |
string | $template_id | |
string | $field_id | |
string | $context | |
string | $input_type |
Definition at line 123 of file class-delete-entry-admin.php.
References $field_id, and GravityView_Render_Settings\get_cap_choices().
load | ( | ) |
Definition at line 25 of file class-delete-entry-admin.php.
modify_visibility_caps | ( | $visibility_caps = array() , |
|
$template_id = '' , |
|||
$field_id = '' , |
|||
$context = '' , |
|||
$input_type = '' |
|||
) |
Change wording for the Edit context to read Entry Creator.
array | $visibility_caps | Array of capabilities to display in field dropdown. |
string | $field_type | Type of field options to render (field or widget ) |
string | $template_id | Table slug |
float | $field_id | GF Field ID - Example: 3 , 5.2 , entry_link , created_by |
string | $context | What context are we in? Example: single or directory |
string | $input_type | (textarea, list, select, etc.) |
label
, value
, type
, default
keys Definition at line 93 of file class-delete-entry-admin.php.
References $field_id.
view_settings_delete_entry_metabox | ( | $current_settings | ) |
Render Delete Entry Permissions settings.
$current_settings |
Definition at line 187 of file class-delete-entry-admin.php.
References $current_settings, and GravityView_Render_Settings\render_setting_row().
view_settings_edit_entry_metabox | ( | $current_settings | ) |
Renders settings relating to Delete Entry that should appear in the Edit Entry metabox.
$current_settings |
Definition at line 74 of file class-delete-entry-admin.php.
References $current_settings, and GravityView_Render_Settings\render_setting_row().
view_settings_metabox | ( | $current_settings | ) |
Render Delete Entry View metabox settings.
$current_settings |
Definition at line 59 of file class-delete-entry-admin.php.
References $current_settings, and GravityView_Render_Settings\render_setting_row().
|
protected |
Definition at line 19 of file class-delete-entry-admin.php.
Referenced by __construct().