Admin page - expand field/option descriptions

This commit is contained in:
abuyoyo 2022-08-02 06:12:51 +03:00
parent f01cdbf2b0
commit 4ab77a5a45

View File

@ -28,31 +28,31 @@ new PluginCore(
'sections' => [ 'sections' => [
[ [
'id' => 'notice_manager', 'id' => 'notice_manager',
'description' => 'Setup How notice manager functions.', 'description' => 'Setup Notice Manager options.',
'fields' => [ 'fields' => [
[ [
'id' => 'above_title', 'id' => 'above_title',
'title' => 'Above Title', 'title' => 'Above Title',
'type' => 'checkbox', 'type' => 'checkbox',
'description' => 'Move all notices above title. (WordPress core moves notices below title using script.)', 'description' => 'Simply move all notices above title. WordPress core moves notices below title using script. This script moves them back over the title. This option does not move notices into panel.',
], ],
[ [
'id' => 'screen_panel', 'id' => 'screen_panel',
'title' => 'Notices Panel', 'title' => 'Notices Panel',
'type' => 'checkbox', 'type' => 'checkbox',
'description' => 'Enable\disable screen-meta-links \'Notices\' panel.', 'description' => 'Enable Screen Meta \'Notices\' panel. User can collect notices into collapsible panel.',
], ],
[ [
'id' => 'auto_collect', 'id' => 'auto_collect',
'title' => 'Auto-Collect Notices', 'title' => 'Auto-Collect Notices',
'type' => 'checkbox', 'type' => 'checkbox',
'description' => 'Automatic collection of notices into panel.', 'description' => 'If Notices panel is enabled - auto-collect notices into panel on page load.',
], ],
[ [
'id' => 'auto_collapse', 'id' => 'auto_collapse',
'title' => 'Auto-collapse Panel', 'title' => 'Auto-Collapse Panel',
'type' => 'checkbox', 'type' => 'checkbox',
'description' => 'Notices panel will stay open for a few seconds on page load, and then close automatically.', 'description' => 'If auto-collect is enabled - Notices panel will stay open for a few seconds on page load, and then close automatically. Panel will not auto-collapse if it contains `error` level notices.',
], ],
] ]
] ]