EVF_Install Class.
Methods
- check_version — Check EverestForms version and run the updater is required.
- create_cron_jobs — Create cron jobs (clear them first).
- create_files — Create files/directories.
- create_forms — Create default contact form.
- create_options — Default options.
- create_roles — Create roles and capabilities.
- create_tables — Set up the database tables which the plugin needs to function.
- cron_schedules — Add more cron schedules.
- drop_tables — Drop EverestForms tables.
- filter_map_meta_cap — Filter user’s capabilities for the given primitive or meta capability.
- get_core_capabilities — Get the core capabilities.
- get_db_update_callbacks — Get list of DB update callbacks.
- get_meta_caps — Get the meta capabilities.
- get_schema — Get Table schema.
- get_tables — Return a list of EverestForms tables. Used to make sure all UM tables are dropped when uninstalling the plugin in a single site or multi site environment.
- init — Hook in tabs.
- init_background_updater — Init background updates
- install — Install EVF.
- install_actions — Install actions when a update button is clicked within the admin area.
- is_new_install — Is this a brand new EVF install?
- maybe_add_activated_date — Store the initial plugin activation date during install.
- maybe_set_activation_transients — See if we need to set redirect transients for activation or not.
- maybe_update_db_version — See if we need to show or run database updates during install.
- needs_db_update — Is a DB update needed?
- plugin_action_links — Display action links in the Plugins list table.
- plugin_row_meta — Display row meta in the Plugins list table.
- remove_admin_notices — Reset any notices added to admin.
- remove_roles — Remove EverestForms roles.
- setup_environment — Setup EVF environment – post types, taxonomies, endpoints.
- update — Push all needed DB updates to the queue for processing.
- update_db_version — Update DB version to current.
- update_evf_version — Update EVF version to current.
- wpmu_drop_tables — Uninstall tables when MU blog is deleted.