WordPress Development Question:
Download Questions PDF

How to create plugin for the wordpress?


go to wp-content ->plugin->make a folder rahul
add_action( 'admin_menu', 'my_first_menu' );

function my_first_menu(){
add_menu_page( 'Browser Title', 'Menu Title', 'manage_options', 'rahul/myplugin-admin.php', '', plugins_url( 'rahul/images/logo.png' ), 6 );

Download WordPress Expert Interview Questions And Answers PDF

Previous QuestionNext Question
Why the add_action() function not work in member function in wordpress?Will you have the ability to update my own content?