Allows you to display alphabetically what plugins you have enabled on your blog in either a table or unordered list. Also allows you to set custom des
If you'd like to display a count of how many plugins you have activated, use this code:
<?php echo $viperspluginsused->plugincount(); ?>
Note that YOU MUST ECHO THIS as this function only returns the value, it does not display it. This is so that you can use it within PHP code if you wish.
I currently have <?php echo $viperspluginsused->plugincount(); ?> plugins activated on my site.
To get a PHP array containing details of all activated plugins, use this code:
$somevar = $viperspluginsused->plugindata;
That'll return an array in this format:
Array ( [Viper's Plugins Used] => Array ( [plugin_uri] => http://www.viper007bond.com/wordpress-plugins/vipers-plugins-used/ [description] => Allows you to display alphabetically what plugins you have enabled on your blog in either a table or unordered list. [author_name] => Viper007Bond [author_uri] => http://www.viper007bond.com/ [version] => 1.0 [plugin] => <a href="http://www.viper007bond.com/wordpress-plugins/vipers-plugins-used/" title="Visit plugin homepage">Viper’s Plugins Used</a> [author] => <a href="http://www.viper007bond.com/" title="Visit author homepage">Viper007Bond</a> [filename] => vipers_pluginsused.php ) etc. )
There is also this data array:
It's the same as
plugindata, but if a custom description exists for the plugin, then that description is used.