Created
June 11, 2018 11:22
-
-
Save datmt/d9050f7c3ad466957c17959c2d2dda82 to your computer and use it in GitHub Desktop.
WordPress Plugins Development Snippets
This file contains 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
add_action('admin_menu', 'function_to_add_menu'); | |
function core37_lp_form_add_menu() | |
{ | |
add_menu_page('Page title', 'Page title', 'edit_posts', 'page-slug', 'function_to_display_ui'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment