Last active
March 7, 2019 02:09
-
-
Save cobaltapps/be4e653d4dfd0f2c96dbe2cd134697d4 to your computer and use it in GitHub Desktop.
Define the following constants through your Child Theme to hide the Theme Options and/or Theme License admin pages.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Hide the Theme Settings admin page from the WP Dashboard sidebar. | |
| define( 'FREELANCER_SETTINGS_PAGE_HIDE', true ); | |
| // Hide the Theme License admin page from the WP Dashboard sidebar. | |
| define( 'FREELANCER_LICENSE_PAGE_HIDE', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment