This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Viper's Plugins Used


Ever want to show your readers what plugins you have enabled on your site? If so, this plugin is for you. It allows you to list out all activated plugins in a table or unordered list as well as customize their descriptions.

To see it in action, check out the author’s website.

Last Updated: September 15th, 2005

To output a table, use this code:

<?php $viperspluginsused->output_table(); ?>

The function parameters are:

  • Table Properties (default is: width=”100%” border=”1″ cellpadding=”3″ cellspacing=”3″) — the other properties of the


table> tag. Set to a space if you want no other properties. Example value: id=”pluginstable” which results in


table id=”pluginstable”>

  • Display Description (default = TRUE) — makes a column for the plugin descriptions and outputs them

  • Display Version (default = TRUE) — makes a column for the plugin versions and outputs them

  • Display Author (default = TRUE) — makes a column for the plugin authors and outputs them

Example code to list all plugins in a “[ Plugin | Author ]” format with a table ID of “pluginstable”:

<?php $viperspluginsused->output_table('id="pluginstable"', FALSE, FALSE); ?>

Besides the overall table’s ID/class/whatever which you can control via the function parameters, additional classes are placed into the table automatically:

  • pluginheader — the class assigned to the row which contains the column titles, you can also use “th” to control this

  • pluginrow / pluginrowalt — the classes assigned to the plugin rows themselves, starts off with “pluginrow”

Some example CSS:

#pluginstable {
    width: 100%;
    border-spacing: 3px;

#pluginstable td {
    border: 1px solid black;
    padding: 3px;

#pluginstable th {
    padding: 3px;

Output As A Table

To output an unordered list, use this code:

<?php $viperspluginsused->output_list(); ?>

The parameters are:

  • Display ULs (default = TRUE) — outputs the


ul>’s needed. You can turn this off if you want to add other items to the list or whatever. Note that if you turn it off, you’ll need to use your own


ul> tags.

  • Display Version (default = TRUE) — outputs the plugin’s version

  • Display Author (default = TRUE) — outputs the author’s name, as a link if an author URL exists

  • Display Description (default = FALSE) — outputs the description of the plugin

Example code to list all plugins in a “Plugin by Author” format:

<?php $viperspluginsused->output_list(TRUE, FALSE); ?>

Get Count of Activated Plugins

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.<h3>Advanced Usage</h3>

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:

    [Viper's Plugins Used] => Array
        [plugin_uri] =>
        [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] =>
        [version] => 1.0
        [plugin] => <a href="" title="Visit plugin homepage">Viper’s Plugins Used</a>
        [author] => <a href="" title="Visit author homepage">Viper007Bond</a>
        [filename] => vipers_pluginsused.php


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.


  • Edit displayed plugin description screen

  • Plugin's page in the admin area listing all activated plugins


I can’t figure out how to install this. It’s hard! Can you do it for me?

Sorry, no, I’m far too busy. I hope to make the installation process much simplier in the future.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code