Calling For Image File In A Plugin?
-
Hi folks,
I just had a plugin developed and the developer is using images from other websites for the menu icons, which might pose problems with SSL certs in the future. I’d like to know how to properly point the images to my plugin’s folder. Example code is below:
'menu_icon' => 'http://favicon.yandex.net/favicon/cook-master.ru', //plugins_url('/images/recipes.gif', __FILE__ ), //'rewrite' => array( 'slug' => $config['rec_root'] ),I need it to point to my plugin’s image folder. Any thoughts?
The topic ‘Calling For Image File In A Plugin?’ is closed to new replies.