How to write code for Admin menu?
-
Hi guys I am trying to write my first plugin and now I am the point of trying to create a blank page to get start on! However there something wrong with my code PLEASE help!
<?php
/*
Plugin Name: Vms Playlist
Plugin URI: https://showebdesign.com/
Description: Catagory video listing
Version: 3.00
Author: Sheraton Walls
Author URI: https://showebdesign.com
License: GPL
*/
?>
add_action (‘admin_menu’, ‘Vms Playlist_admin_actions’);
function Vms Playlist_admin_actions() (
add_options_page(‘Vms Playlist’,’Vms Playlist’, ‘manage_options’,_FILE_, ‘
}
function Vms Playlist_admin()
{
?>
<div class=”wrap”>
<h4>A More Interesting hello World Plugin</h4>
</div>
<?php
}
?>
- The topic ‘How to write code for Admin menu?’ is closed to new replies.