Plugin Directory

Viper's Plugins Used

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

Download Version 1.12

=

=========================

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.

Example usage:

I currently have <?php echo $viperspluginsused->plugincount(); ?> plugins activated on my site.

Advanced Usage

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:

$viperspluginsused->customdata;

It's the same as plugindata, but if a custom description exists for the plugin, then that description is used.

Last Updated: 2007-4-4 Downloads: 3,851

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(9 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,1,1
100,1,1
100,1,1