Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kjohnson/wp-menu-page
A base class for the WordPress Menu Pages
https://github.com/kjohnson/wp-menu-page
Last synced: 20 days ago
JSON representation
A base class for the WordPress Menu Pages
- Host: GitHub
- URL: https://github.com/kjohnson/wp-menu-page
- Owner: kjohnson
- License: gpl-2.0
- Created: 2015-08-18T17:26:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-09T05:10:44.000Z (about 9 years ago)
- Last Synced: 2023-02-28T09:03:25.492Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WP Menu Page
[![Join the chat at https://gitter.im/kjohnson/wp-menu-page](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/kjohnson/wp-menu-page?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
A base class for the WordPress [Menu Pages](https://codex.wordpress.org/Function_Reference/add_menu_page)## Example Menu Page
```PHP
final class KBJ_ExampleMenu extends KBJ_MenuPage
{
public $page_title = 'Example';
public function __construct()
{
parent::__construct();
}
public function display()
{
echo 'Hello, world!';
}
} // End Class KBJ_ExampleMenu
```