includes/class-wc-install.php


Lines:

1 to 67 of 67
<?php

/**
 * Installation related functions and actions.
 *
 * @package WooCommerce\Classes
 * @version 3.0.0
 */

use Automattic\Jetpack\Constants;
use Automattic\WooCommerce\Internal\WCCom\ConnectionHelper as WCConnectionHelper;

defined( 'ABSPATH' ) || exit;

/* class WC_Install */
/* function WC_Install::init() – Hook in tabs. */
/* function WC_Install::check_version() – Check WooCommerce version and run the updater is required. */
/* function WC_Install::manual_database_update() – Performan manual database update when triggered by WooCommerce System Tools. */
/* function WC_Install::wc_admin_db_update_notice() – Add WC Admin based db update notice. */
/* function WC_Install::run_manual_database_update() – Run manual database update. */
/* function WC_Install::run_update_callback() – Run an update callback when triggered by ActionScheduler. */
/* function WC_Install::run_update_callback_start() – Triggered when a callback will run. */
/* function WC_Install::run_update_callback_end() – Triggered when a callback has ran. */
/* function WC_Install::install_actions() – Install actions when a update button is clicked within the admin area. */
/* function WC_Install::install() – Install WC. */
/* function WC_Install::verify_base_tables() – Check if all the base tables are present. */
/* function WC_Install::remove_admin_notices() – Reset any notices added to admin. */
/* function WC_Install::setup_environment() – Setup WC environment – post types, taxonomies, endpoints. */
/* function WC_Install::is_new_install() – Is this a brand new WC install? */
/* function WC_Install::needs_db_update() – Is a DB update needed? */
/* function WC_Install::maybe_set_activation_transients() – See if we need to set redirect transients for activation or not. */
/* function WC_Install::maybe_update_db_version() – See if we need to show or run database updates during install. */
/* function WC_Install::update_wc_version() – Update WC version to current. */
/* function WC_Install::get_db_update_callbacks() – Get list of DB update callbacks. */
/* function WC_Install::update() – Push all needed DB updates to the queue for processing. */
/* function WC_Install::update_db_version() – Update DB version to current. */
/* function WC_Install::cron_schedules() – Add more cron schedules. */
/* function WC_Install::create_cron_jobs() – Create cron jobs (clear them first). */
/* function WC_Install::maybe_create_pages() – Create pages on installation. */
/* function WC_Install::create_pages() – Create pages that the plugin relies on, storing page IDs in variables. */
/* function WC_Install::create_options() – Default options. */
/* function WC_Install::create_terms() – Add the default terms for WC taxonomies – product types and order statuses. Modify this at your own risk. */
/* function WC_Install::create_tables() – Set up the database tables which the plugin needs to function. */
/* function WC_Install::get_schema() – Get Table schema. */
/* function WC_Install::get_tables() – Return a list of WooCommerce tables. Used to make sure all WC tables are dropped when uninstalling the plugin
in a single site or multi site environment. */
/* function WC_Install::drop_tables() – Drop WooCommerce tables. */
/* function WC_Install::wpmu_drop_tables() – Uninstall tables when MU blog is deleted. */
/* function WC_Install::create_roles() – Create roles and capabilities. */
/* function WC_Install::get_core_capabilities() – Get capabilities for WooCommerce – these are assigned to admin/shop manager during installation or reset. */
/* function WC_Install::remove_roles() – Remove WooCommerce roles. */
/* function WC_Install::create_files() – Create files/directories. */
/* function WC_Install::create_placeholder_image() – Create a placeholder image in the media library. */
/* function WC_Install::plugin_action_links() – Show action links on the plugin screen. */
/* function WC_Install::plugin_row_meta() – Show row meta on the plugin screen. */
/* function WC_Install::associate_plugin_file() – Get slug from path and associate it with the path. */
/* function WC_Install::background_installer() – Install a plugin from .org in the background via a cron job (used by
installer – opt in). */
/* function WC_Install::remove_mailchimps_redirect() – Removes redirect added during MailChimp plugin’s activation. */
/* function WC_Install::theme_background_installer() – Install a theme from .org in the background via a cron job (used by installer – opt in). */
/* function WC_Install::set_paypal_standard_load_eligibility */
/* function WC_Install::get_refunds_return_policy_page_content */
/* function WC_Install::add_admin_note_after_page_created */
/* function WC_Install::page_created */

WC_Install::init();
 

 View on GitHub View on Trac

Called by

    Invoked by

      Call hooks

      API Letters: ,,,