mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Register block later
otherwise WC category is not registered yet
This commit is contained in:
parent
7203cd0138
commit
5c767e7bf6
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ class PayLaterBlockModule implements ModuleInterface {
|
||||||
* @psalm-suppress PossiblyFalseArgument
|
* @psalm-suppress PossiblyFalseArgument
|
||||||
*/
|
*/
|
||||||
register_block_type( dirname( realpath( __FILE__ ), 2 ) );
|
register_block_type( dirname( realpath( __FILE__ ), 2 ) );
|
||||||
}
|
},
|
||||||
|
20
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue