PluginCore - set update_checker to true.

If Plugin-Update-Checker library (v4|v5) is available - enables updates from repo.
This commit is contained in:
abuyoyo 2023-10-04 01:29:04 +03:00
parent 42e26c9a4f
commit 7cf7b477bc

View File

@ -69,12 +69,13 @@ new PluginCore(
'type' => 'checkbox', 'type' => 'checkbox',
'description' => 'Notice Panel is closed on page load. Requires auto_collect.' 'description' => 'Notice Panel is closed on page load. Requires auto_collect.'
], ],
] ],
] ],
] ],
] ],
] ],
] 'update_checker' => true, // If Plugin Update Checker library is available - allow updates/auto-updates.
],
); );
require_once 'src/NoticeManager.php'; require_once 'src/NoticeManager.php';