diff --git a/compat/register-hooks.php b/compat/register-hooks.php index 7584cc332..28638b9e4 100644 --- a/compat/register-hooks.php +++ b/compat/register-hooks.php @@ -19,7 +19,7 @@ add_action( 'notification/init', [ $this->component( 'core_settings' ), 'register_settings' ], 5, 0 ); add_action( 'admin_init', [ $this->component( 'core_upgrade' ), 'check_upgrade' ], 10, 0 ); add_action( 'notification/init', [ $this->component( 'core_upgrade' ), 'upgrade_db' ], 10, 0 ); -add_action( 'notification/init', [ $this->component( 'core_sync' ), 'load_local_json' ], 10, 0 ); +add_action( 'notification/init', [ $this->component( 'core_sync' ), 'load_local_json' ], 100, 0 ); add_action( 'notification/data/save/after', [ $this->component( 'core_sync' ), 'save_local_json' ], 10, 1 ); add_action( 'delete_post', [ $this->component( 'core_sync' ), 'delete_local_json' ], 10, 1 ); add_action( 'notification/trigger/registered', [ $this->component( 'core_binder' ), 'bind' ], 100, 1 );