Skip to content

Commit

Permalink
Merge pull request #26 from lakejason0/dev-26
Browse files Browse the repository at this point in the history
Remove unneeded wp prefix from hide-if
  • Loading branch information
winstonsung authored Jan 18, 2024
2 parents 1941c40 + 4ee28e3 commit e17b5a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/LakeusHooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ public function onGetPreferences( $user, &$preferences ) {
'label-message' => 'lakeus-preferences-enable-theme-designer',
'help-message' => 'lakeus-preferences-enable-theme-designer-desc',
'section' => 'rendering/skin/skin-prefs',
'hide-if' => [ '!==', 'wpskin', 'lakeus' ],
'hide-if' => [ '!==', 'skin', 'lakeus' ],
];

$preferences['lakeus-sticky-toc-donot-auto-collapse'] = [
'type' => 'check',
'label-message' => 'lakeus-preferences-sticky-toc-donot-auto-collapse',
'help-message' => 'lakeus-preferences-sticky-toc-donot-auto-collapse-desc',
'section' => 'rendering/skin/skin-prefs',
'hide-if' => [ '!==', 'wpskin', 'lakeus' ],
'hide-if' => [ '!==', 'skin', 'lakeus' ],
];

$preferences['lakeus-smooth-scroll-behavior'] = [
'type' => 'check',
'label-message' => 'lakeus-preferences-smooth-scroll-behavior',
'help-message' => 'lakeus-preferences-smooth-scroll-behavior-desc',
'section' => 'rendering/skin/skin-prefs',
'hide-if' => [ '!==', 'wpskin', 'lakeus' ],
'hide-if' => [ '!==', 'skin', 'lakeus' ],
];
}
}

0 comments on commit e17b5a3

Please sign in to comment.