This commit is contained in:
louwie17 2021-08-24 16:04:49 -03:00 committed by GitHub
parent b17e3c5aa2
commit 6093db043a
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class WCAdminSharedSettings {
*/
protected function __construct() {
if ( did_action( 'woocommerce_blocks_loaded' ) ) {
$this->on_plugins_loaded();
$this->on_woocommerce_blocks_loaded();
} else {
add_action( 'woocommerce_blocks_loaded', array( $this, 'on_woocommerce_blocks_loaded' ), 10 );
}