daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Apr 17th, 2018 51 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top