/ Published in: PHP
Show a list of active plugins on current site.
I use it for diplaying in ManageWP and transfer to documentation
I use it for diplaying in ManageWP and transfer to documentation
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function wpse_54742_active_site_plugins() { $the_plugs = get_option('active_plugins'); foreach($the_plugs as $key => $value) { echo $string[0] ."\n"; } } wpse_54742_active_site_plugins();