Register block later

otherwise WC category is not registered yet
This commit is contained in:
Alex P 2023-12-18 08:03:35 +02:00
parent 7203cd0138
commit 5c767e7bf6
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -62,7 +62,8 @@ class PayLaterBlockModule implements ModuleInterface {
* @psalm-suppress PossiblyFalseArgument
*/
register_block_type( dirname( realpath( __FILE__ ), 2 ) );
}
},
20
);
}