Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- define( 'PLUGIN_DIR', dirname(__FILE__).'/' );
- if ( is_admin() ){ //run only in WP admin area
- function verkoopstatus_admin_page() {
- add_menu_page('Beheer verkoopstatus', 'Verkoopstatus', 'manage_options', 'Verkoopstatus', 'showHome', plugins_url('verkoopstatus/images/verkoopstatus-icon-2.png'), 99);
- }
- include_once( plugin_dir_path( __FILE__ ) . 'verkoopstatus2.php');
- add_action( 'admin_menu' , 'verkoopstatus_admin_page' );
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement