Why isn’t plugin_dir_url( __FILE__ ) working in my WP plugin dev?
This is my plugin directory access when I use plugin_dir_url(__FILE__) http://127.0.0.1/WordPressProject/myplugin/wp-content/plugins/advanced-plugin/admin/ But I want to access to http://127.0.0.1/WordPressProject/myplugin/wp-content/plugins/advanced-plugin/ After using the function it includes with admin folder. not the base plugin base url Thanks