1
0
mirror of https://github.com/dwaxweiler/connector-mobilizon synced 2025-06-05 21:59:25 +02:00

only reload current block's events

This commit is contained in:
Daniel Waxweiler
2022-06-06 12:16:12 +02:00
parent b3e9034ada
commit 456b4a9da1
5 changed files with 17 additions and 7 deletions

View File

@@ -63,6 +63,7 @@ final class Mobilizon_Connector {
'wp-i18n'
]);
register_block_type(MobilizonConnector\NAME . '/events-list', [
'api_version' => 2,
'editor_script' => $name
]);
$this->load_settings_globally_before_script($name);