跳到内容

WP-PluginsUsed

v2.0.1

Lester Chan · 2007年8月14日 上架

Display WordPress plugins that you currently have (both active and inactive) onto a post/page.

正在使用
60+
评分
4.8 / 5
累计下载
3.3 万
最近更新
2026年8月24日
4 条评价需要 WordPress 6.8+已测试到 7.1.5PHP 8.2+

贡献者

截图

Settings -> WP-PluginsUsed, which chooses whether versions are shown and which plugins are left out
Settings -> WP-PluginsUsed, which chooses whether versions are shown and which plugins are left out
The list of active plugins, on a page holding the shortcode
The list of active plugins, on a page holding the shortcode

WP-PluginsUsed lists the plugins your site has installed, split into active and
inactive, on any post or page you like. It reads what is really in
wp-content/plugins every time the page is built, so the list never goes stale.

Features

  • Three shortcodes: a summary line, the active plugins and the inactive ones.
  • Each entry links to the plugin’s own page and to its author, with the description underneath.
  • Version numbers can be shown or left off.
  • Any plugin you would rather not advertise can be left out of both the listings and the counts.
  • A template tag for themes that would rather call it directly.

Donations

I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.

Usage

Creating a Plugins Used page

  1. Go to WP-Admin -> Pages -> Add New
  2. Type any title you like in the page’s title area
  3. Copy and paste the following into the page’s content area:
[stats_pluginsused]
Active Plugins
[active_pluginsused]
Inactive Plugins
[inactive_pluginsused]
  1. Click ‘Publish’

Showing The Listings In A Block

Three blocks are available in the editor, under Widgets:

  • Plugins Used Summary — the sentence counting what is installed, active and inactive, the same one [stats_pluginsused] produces.
  • Active Plugins Used — the plugins your site has switched on.
  • Inactive Plugins Used — the ones installed but switched off.

None of them has any settings, because none of the shortcodes has any either: which plugins appear is decided on the settings screen below, so the answer is the same on every page and there is nothing to configure per post.

All three render on the server, so the block preview in the editor is the real listing rather than an approximation, and installing, activating or hiding a plugin updates every page showing one without re-saving anything.

The shortcodes still work and are not going anywhere. [stats_pluginsused], [active_pluginsused] and [inactive_pluginsused] behave exactly as they always have, and a page already containing one needs no change. The blocks call the same code the shortcodes call, so the two render identically — use whichever suits the page.

Settings

Go to WP-Admin -> Settings -> WP-PluginsUsed to choose whether version numbers
are shown and to tick any plugins you would rather not list. Hidden plugins are
left out of the counts as well as the listings.

Template Tags

display_pluginsused( $type, $display ) renders one of the listings from a theme

template. $type is stats, active or inactive; pass true as $display
to echo instead of return.

Filters

  • wp_pluginsused_show_version — whether version numbers are appended to plugin names.
  • wp_pluginsused_hidden_plugins — array of plugin names to hide, matched against the plugin’s Plugin Name header.
  • wp_pluginsused_plugins_used — the collected listing, keyed by active and inactive, before it is rendered.
  • wp_pluginsused_capability — the capability required to reach the settings screen.

The first three were renamed in 2.0.0 and the old, unprefixed names do nothing.
See Upgrade Notice.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums