How To Create a Plugin at Backend in Wordpress -
i have made simple contact form plugin , want show on backend page (wp-admin page).
you can use add_menu_page() function adding new menu in backend(admin).
add_action('admin_menu', 'my_menu_pages'); function my_menu_pages(){ add_menu_page('my page title', 'my menu title', 'manage_options', 'my-menu', 'my_menu_output' ); } function my-menu(){ // code /// }
Comments
Post a Comment