Include PHP file to add_menu_page()

add_menu_page("halo", "tes aja", "edit_users", "kolak", function () {
   include dirname(__FILE__) . '/ha.php';
}, "", 3);

Last updated