rebase code on oct-10-2023
This commit is contained in:
@@ -8,6 +8,14 @@ namespace Automattic\WooCommerce\Blocks;
|
||||
* @internal
|
||||
*/
|
||||
class Installer {
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public function __construct() {
|
||||
$this->init();
|
||||
}
|
||||
|
||||
/**
|
||||
* Installation tasks ran on admin_init callback.
|
||||
*/
|
||||
@@ -18,7 +26,7 @@ class Installer {
|
||||
/**
|
||||
* Initialize class features.
|
||||
*/
|
||||
public function init() {
|
||||
protected function init() {
|
||||
add_action( 'admin_init', array( $this, 'install' ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user