Using the following snippet, you will be able to know about all the active plugins in your WordPress website.
1 2 3 4 5 6 7 8 | function wpse_54742_active_site_plugins() { $the_plugs = get_option('active_plugins'); foreach($the_plugs as $key => $value) { $string = explode('/',$value); // Folder name will be displayed echo $string[0] ."\n"; } } wpse_54742_active_site_plugins(); |
Snippet Source/Credit: Snipplr