Simply paste this code where you want to display the active plugin list. Once saved, active plugins will be displayed.
function wpr_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"; } } wpr_active_site_plugins();
Thanks to Snipplr for the tip!!
The post WordPress hack: Show all active plugins appeared first on WPRecipes.
What’s My SEO Score?
Enter the URL of any landing page or blog article and see how optimized it is for one keyword or phrase.
Latest posts by WordPress Expert (see all)
- How to Embed Instagram Feed in WordPress (5 Easy Steps) - September 26, 2023
- MemberPress vs WishList Member: Which is The Best Membership Plugin? - September 18, 2023
- 7 Best Divi Builder Alternatives for Your Website (Compared) - September 14, 2023