GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Public Member Functions | |
__construct () | |
get_redux_settings () | |
Get Redux settings, if they exist. More... | |
get_search_fields ( $view_id) | |
redirect_old_admin_pages () | |
Redirects old GravityView admin pages to the new ones. More... | |
update_search_on_views () | |
-— Migrate from old search widget to new search widget -— More... | |
update_settings () | |
Private Member Functions | |
maybe_migrate_approved_meta () | |
Convert approval meta values to enumerated values. More... | |
maybe_migrate_search_widget () | |
migrate_redux_settings () | |
Set app settings from prior Redux settings, if exists. More... | |
update_approved_meta () | |
Convert "Approved" approval status to "1". More... | |
Definition at line 15 of file class-gravityview-migrate.php.
__construct | ( | ) |
Definition at line 17 of file class-gravityview-migrate.php.
get_redux_settings | ( | ) |
Get Redux settings, if they exist.
Definition at line 165 of file class-gravityview-migrate.php.
Referenced by migrate_redux_settings().
get_search_fields | ( | $view_id | ) |
Definition at line 256 of file class-gravityview-migrate.php.
References $field, GV\$form, $form_id, $view_id, GravityView_Widget_Search\get_search_input_types(), gravityview_get_directory_fields(), gravityview_get_field(), gravityview_get_form(), and gravityview_get_form_id().
Referenced by update_search_on_views().
|
private |
Convert approval meta values to enumerated values.
Definition at line 70 of file class-gravityview-migrate.php.
References update_approved_meta().
Referenced by update_settings().
|
private |
Definition at line 120 of file class-gravityview-migrate.php.
References update_search_on_views().
Referenced by update_settings().
|
private |
Set app settings from prior Redux settings, if exists.
Definition at line 137 of file class-gravityview-migrate.php.
References get_redux_settings(), and gravityview().
Referenced by update_settings().
redirect_old_admin_pages | ( | ) |
Redirects old GravityView admin pages to the new ones.
Definition at line 40 of file class-gravityview-migrate.php.
|
private |
Convert "Approved" approval status to "1".
Definition at line 89 of file class-gravityview-migrate.php.
References GravityView_Entry_Approval_Status\APPROVED, GravityView_Entry_Approval_Status\DISAPPROVED, and gravityview().
Referenced by maybe_migrate_approved_meta().
update_search_on_views | ( | ) |
-— Migrate from old search widget to new search widget -—
Definition at line 185 of file class-gravityview-migrate.php.
References get_search_fields(), gravityview(), GRAVITYVIEW_DIR, gravityview_get_directory_widgets(), and gravityview_set_directory_widgets().
Referenced by maybe_migrate_search_widget().
update_settings | ( | ) |
Definition at line 23 of file class-gravityview-migrate.php.
References maybe_migrate_approved_meta(), maybe_migrate_search_widget(), and migrate_redux_settings().