Skip to content

Commit 4416796

Browse files
authored
chore(docs): Add hf_hide_admin_menu to README (#17)
1 parent adb6131 commit 4416796

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ Outside of defining your error messages on the options page, you can optionally
8383
/>
8484
```
8585

86+
### Prevent moving Dashboard menu item
87+
88+
By default the HTML Forms menu items is moved to the Options submenu. Prevent that by using the `hf_hide_admin_menu` hook:
89+
90+
```php
91+
add_filter('hf_hide_admin_menu', '__return_false');
92+
```
93+
8694
## Bug Reports
8795

8896
If you discover a bug in Sage HTML Forms, please [open an issue](https://github.com/log1x/sage-html-forms/issues).

0 commit comments

Comments
 (0)