Skip to content

Commit d021549

Browse files
committed
Comment
1 parent 1e5af95 commit d021549

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Plugin.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ public function onInit(): void
4848
}
4949

5050
/**
51-
* Register all options with autoload=true
52-
* to preload them on each page and avoid
53-
* extra database queries.
51+
* Register plugin options and autoload them.
52+
*
53+
* @note Uses multiple options for flexibility, native hooks integration and safety.
54+
* @note Eliminates any unnecessary database lookups by preloading on each request.
5455
*/
5556
protected function addOptions(): void
5657
{

0 commit comments

Comments
 (0)