<?php
/*
Require  all lib files , functions
*/

require_once ( plugin_dir_path( __FILE__ ).'/lib/f4w-custom-post-type.php' );
require_once ( plugin_dir_path( __FILE__ ).'/public/teamview.php' );

// Add the metabox class (CMB2)
require_once ( plugin_dir_path( __FILE__ ).'/lib/metaboxes/init.php' );


// Create the metabox class (CMB2)
require_once ( 'lib/functions/metaboxes.php' );


// Enqueue admin styles
require_once ('lib/functions/customcolumn.php');

//Load CSS and Javascript File
require_once ('scripts.php');

 // Sub Menu Page

 add_action ('admin_menu', 'f4w_our_team_menu_init');
 function f4w_our_team_menu_help(){
   include('lib/f4w-our-team-help.php');
 }

function f4w_our_team_menu_init()
{
 add_submenu_page('edit.php?post_type=otmembers', __('Help & Upgrade','f4w-our-team'), __('Help & Upgrade','f4w-our-team'), 'manage_options', 'f4w_our_team_menu_help', 'f4w_our_team_menu_help');

}
