Created
January 16, 2018 13:46
-
-
Save holisticnetworking/280b83ca17074921661f8564e4c7f68a to your computer and use it in GitHub Desktop.
Adding submenu to page.
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
public function admin_menu() { | |
add_submenu_page( | |
'publish_status', | |
'Scheduled Jobs', | |
'Scheduled Jobs', | |
'manage_options', | |
'admin.php?page=scheduled_jobs', | |
[ &$this, 'display_schedule' ] | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment