Created
March 7, 2012 22:48
-
-
Save jbreitenbucher/1996840 to your computer and use it in GitHub Desktop.
WordPress: Options Page Boilerplate
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
class __JB_Options__ { | |
public __construct() | |
{ | |
} | |
public add_menu_page() | |
{ | |
add_options_page('__Menu Name__','__Menu Name___','administrator',__FILE__,array('__JB_Options__','display_options_page'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment