Modules Insight

Descripció

Modules Insight is a simple WordPress plugin that lists all installed plugins, showing which are active and which are inactive. Ideal for developers and site managers needing a quick status overview.

MI adds a widget to your Dashboard and provides a shortcode [plugin_list] for displaying the plugin status list. It also allows Administrators to download the list as a .json report directly from the widget or shortcode output.

MI is completely read-only and does not make any changes to your site’s plugin activation status.

✨ Key Features

  • 📋 Lists all installed plugins (active, inactive, network active)
  • ✅ Includes plugin name and version.
  • 📊 Displays a summary count of plugins
  • 📁 Allows Administrators to export plugin data as a .json report
  • 🖥 Adds a convenient Dashboard Widget
  • [plugin_list] Shortcode support for display anywhere
    • Upcoming: Plugin description on generated page
  • 🛡 100% read-only — safe for production use

💡 Use Cases

  • 🧾 Client reports on installed plugins
  • 🚧 Pre-deployment or pre-update plugin checks
  • 🔒 Identifying potentially unused plugins for cleanup
  • 👥 Sharing plugin status easily with your team or support

Credits

Made with ❤️ by Pedro Matias for WordPress developers and admins.

Captures

  • The Modules Insight dashboard widget showing active/inactive plugins.
  • Example of a page generated using the shortcode and the collapsed description view using <details>.
  • The “Download List as JSON” button available to administrators and structure of the exported JSON file.
  • Example of “print” page using shortcode and automatic expanded description view using <details>.

Instal·lació

  1. Upload the modules-insight folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugin screen directly (Plugins > Add New).
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Check your Dashboard for the “Modules Insight – Plugin List” widget.
  4. Alternatively, use the shortcode [plugin_list] on any page or post to display the list.
  5. Administrators will see a “Download List as JSON” button within the widget/shortcode output.

PMF

Does this plugin make any changes to my site?

No. MI is read-only. It does not activate, deactivate, install, or delete any plugins.

Who can see the plugin list and download the JSON file?

By default, the list and download button are visible only to users with the activate_plugins capability (typically Administrators). You can adjust capability checks in the code if needed for other roles, but be mindful of security implications.

What format is the export file?

The plugin exports data as a .json file, timestamped with the date of export (according to your site’s timezone).

Can I use this on a live/production site?

Yes! MI is completely safe to use on live sites as it performs no write operations.

Ressenyes

No hi ha ressenyes per a este complement.

Col·laboradors i desenvolupadors

«Modules Insight» és programari de codi obert. La següent gent ha col·laborat en este complement.

Col·laboradors

Traduïx «Modules Insight» a la teua llengua.

T’interessa el desenvolupament?

Revisa el codi , dona una ullada al repositori SVN o subscriu-te al registre de desenvolupament per RSS.

Registre de canvis

2.9.2

  • Fix: Remove duplicate nonce hidden field in the download form (wp_nonce_field() already outputs it).
  • Fix: JS print listener now only closes <details> elements that were auto-opened, preserving manually-opened ones.
  • Fix: Declare elms and e with const in the print media listener to avoid implicit globals.
  • Perf: Move get_site_option('active_sitewide_plugins') call outside the plugin foreach loop on multisite.
  • Security: Simplify shortcode capability check — remove is_admin() context check, rely solely on activate_plugins.
  • Perf: Register assets on wp_enqueue_scripts and enqueue them inside the shortcode, so they only load on pages using [plugin_list].
  • Perf: Update asset version strings from 2.3.0 to 2.9.2 to ensure browsers pick up current files.
  • Accessibility: Replace outline: none on button focus with a visible 2px solid outline.
  • Dev: Add .vscode/settings.json enabling Intelephense’s built-in WordPress stubs for accurate static analysis.

2.9.1

  • Style: Added fusion-tb-footer and fusion-footer CSS classes to print hide rules for Avada theme compatibility.
  • Version bump for CSS and JS assets.

2.9.0

  • Feature: Report header now shows site name, date, and URL when shortcode is rendered on a page or post.

2.8.0

  • Fix: Corrected plugin GitHub URI to https://github.com/matias2018/Plugin-List-Display.

2.7.2

  • Style: Added specific print-hide rules for Avada theme custom footer elements.

2.7.0

  • Feature: Added informational message for users without the download capability.

2.6.0

  • Feature: Enqueue JavaScript to auto-expand <details> elements when printing.

2.5.0

  • Feature: Show plugin description inside <details>/<summary> when shortcode is rendered on a page or post.
  • Feature: Added is_single()/is_page() context check to conditionally show the description block.

2.4.0

  • Feature: Added print styles to hide the download button, header, and footer when printing.

2.3.0

  • Feature: Added network-active status display for multisite installs.

2.2.0

  • Refine: Removed <details>/<summary> wrapper from description in default (non-page) view.

2.1.2

  • Fix: Use current_time() instead of date() for JSON filename timestamp to respect WordPress timezone settings (Fixes PHPCS error).

2.1.1

  • Feature: Wrap plugin descriptions in <details>/<summary> tags for a cleaner default view.
  • Fix: Add required translators: comments for internationalization functions with placeholders (Fixes Plugin Check error).
  • Fix: Ensure <details> and <summary> tags are allowed in wp_kses for the dashboard widget.
  • Refine: Improve multisite plugin detection slightly.
  • Refine: Use case-insensitive sorting for plugin lists.

2.1.0

  • Refactor: Introduce helper function get_plugin_insight_data() to centralize data retrieval.
  • Security: Regenerate plugin data on download instead of passing via POST.
  • Security: Add capability checks (activate_plugins) for viewing list and downloading JSON.
  • Security: Remove nopriv action hook for downloads.
  • Feature: Add more plugin details (version, description, author, URIs) to data structure.
  • Feature: Handle network-activated plugins on multisite installs.
  • Improvement: Use wp_json_encode() for standard JSON output.
  • Improvement: Use output buffering and proper escaping (esc_*, wp_kses_post) throughout HTML generation.
  • Improvement: Make widget title translatable.
  • Fix: Address various Plugin Check escaping errors.

2.0.2

  • Initial version shared for review (contained shortcode, dashboard widget, basic JSON download via POST).

1.0.0

  • (Internal/Previous Version) Initial concept release.