I have issues with add menu page it doesn't show my custom Icon.
class V {
function __construct()
{
add_action('admin_menu',array($this,'add_plugin_menu'));
}
function add_plugin_menu(){
include( 'Includes/Function/Menu.php' );
}
in my menu.php I used this code :
add_menu_page(
'V Menu',
'V Menu',
'manage_options',
'custom_page',
'custom_page_N1',
plugins_url('/Includes/Images/Icon.png',__FILE__),
4
);
I try change sub folders or using (plugin_dir_url( FILE ).'/Includes/Images/Icon.png') but it didn't worked.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742288958a4415837.html
评论列表(0条)