daily pastebin goal
33%
SHARE
TWEET

Untitled

a guest Apr 17th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Add an additional submenupoint
  2. add_action('admin_menu', 'register_mycustom_menupoint');
  3. function register_mycustom_menupoint() {
  4.     add_submenu_page( 'woocommerce', 'Name on Menubutton', 'Name on Menubutton', 'manage_options', 'custom-submenu-page', 'dsrv_init_backend' );
  5. }
  6.  
  7. function call_this_function_name(){
  8.     // ...
  9. }
RAW Paste Data
Top