Answers

Question and Answer:

  Home  WordPress (CMS)

⟩ How to create plugin for 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 );

}

 190 views

More Questions for you: