Fix wrong function name (https://github.com/woocommerce/woocommerce-admin/pull/7557)
This commit is contained in:
parent
b17e3c5aa2
commit
6093db043a
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue