/**
 * Plugin Name: Ceremony Entry
 * Plugin URI: 
 * Description: FormEntry Plugin.
 * Version: The Plugin's Version Number, e.g.: 1.0
 * Author: 
 * Author URI: 
 * License: A "Slug" license name e.g. GPL2
 */

session_start();
add_action( 'admin_menu', 'ceremony_entry' );

function ceremony_entry() {
	add_menu_page('Ceremony Entry', 'Ceremony Entry', 'manage_options', 'my-top-level-handle', 'back_entry');
	add_submenu_page('', 'Edit Entry', 'Edit Entry', 'manage_options', 'edit-entry', 'edit_entry');
	add_submenu_page('', 'View Entry', 'View Entry', 'manage_options', 'view-entry', 'view_entry');
	add_submenu_page('', 'Delete Entry', 'Delete Entry', 'manage_options', 'delete-entry', 'delete_entry');
}
require_once(ABSPATH . WPINC . '/registration.php');
global $wpdb, $user_ID;
function edit_entry() {
// Code
}

function view_entry() {
// Code
}

function delete_entry() { 
// Code
}

function back_entry() {
// Code
}

Advertisements