mirror of
https://github.com/dwaxweiler/connector-mobilizon
synced 2025-02-01 18:07:08 +01:00
load block script only in footer
This commit is contained in:
parent
e91ca97e88
commit
0c40efd565
@ -10,7 +10,7 @@ class EventsListBlock {
|
||||
'wp-blocks',
|
||||
'wp-components',
|
||||
'wp-i18n'
|
||||
], '<wordpress-version>');
|
||||
], '<wordpress-version>', array('in_footer' => true));
|
||||
register_block_type(NAME . '/events-list', [
|
||||
'api_version' => 2,
|
||||
'title' => __('Events List', 'connector-mobilizon'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user