Updater implements Registerable, Service
This class handles updating the DB
Tags
Interfaces, Classes and Traits
- Registerable
- Service
Table of Contents
- $view_path : string
- The path of the HTML views used for the notices
- __construct() : mixed
- dismiss_success_notice_action() : mixed
- Handles the dismiss action for the upgrade success admin notice
- register() : mixed
- Register hooks and filters.
- update_action() : mixed
- Handles the update action for the admin notice
- update_notices() : mixed
- If we need to update the database, include a message with the DB update button.
- update_200_product_override() : bool
- Converts all product
- update_233_default_attributes() : mixed
Properties
$view_path
The path of the HTML views used for the notices
private
string
$view_path
Methods
__construct()
public
__construct() : mixed
Return values
mixed —dismiss_success_notice_action()
Handles the dismiss action for the upgrade success admin notice
public
dismiss_success_notice_action() : mixed
Return values
mixed —register()
Register hooks and filters.
public
register() : mixed
Return values
mixed —update_action()
Handles the update action for the admin notice
public
update_action() : mixed
Return values
mixed —update_notices()
If we need to update the database, include a message with the DB update button.
public
update_notices() : mixed
Return values
mixed —update_200_product_override()
Converts all product
private
update_200_product_override() : bool
Return values
bool —Whether the upgrade was processed successfully
update_233_default_attributes()
private
update_233_default_attributes() : mixed