How can I list all installed plugins/themes/versions from CLI/API?

Using WP CLI, you can record WordPress version using: wp core version –extra –path=”$SITEPATH” > wp-report.txt and append a list of plugins (with status and version): wp plugin list –path=”$SITEPATH” >> wp-report.txt and append a list of themes (with status and version) using: wp theme list –path=”$SITEPATH” >> wp-report.txt Further reading: https://developer.wordpress.org/cli/commands/core/version/ https://developer.wordpress.org/cli/commands/plugin/list/ https://developer.wordpress.org/cli/commands/theme/list/

Namespaced shortcode?

Unfortunately, this is not how shortcodes work. Your solution will not reduce performance problems. At initialization the only thing WordPress does is make a list of all shortcodes that are being registered. If you look at the order in which WordPress is loading stuff you will see that plugins are loaded before the theme and … Read more