woocommerce_umf_admin_menu

WordPress Administration Menu Toont een nieuw menu item als submenu van WooCommerce.

Description

woocommerce_umf_admin_menu(); 

Usage

  1. if ( !function_exists( 'woocommerce_umf_admin_menu' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-upload-my-file/inc/umf-funct.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = woocommerce_umf_admin_menu(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/umf-funct.php  
  1. function woocommerce_umf_admin_menu() { 
  2. $page = add_submenu_page('woocommerce', __( 'Upload My File', 'woocommerce-umf' ), __( 'Upload My File', 'woocommerce-umf' ), 'manage_woocommerce', 'woocommerce_umf', 'woocommerce_umf_page' );