JackDaviesWork
6/5/2017 - 4:57 PM

Include additional pages to wordpress admin dashboard

Include additional pages to wordpress admin dashboard

function register_my_custom_menu_page() {
    add_menu_page( 'Page Title', 'Menu Title', 'manage_options', '../wp-content/themes/index.html', '', 'dashicons-book', 3 );
}
add_action( 'admin_menu', 'register_my_custom_menu_page' );