{"id":25497,"date":"2013-10-01T01:36:31","date_gmt":"2013-10-01T01:36:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/my-plugin-information\/"},"modified":"2025-07-27T13:22:46","modified_gmt":"2025-07-27T13:22:46","slug":"my-plugin-information","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/my-plugin-information\/","author":444770,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.8.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"My Plugin Information","header_author":"Themeist","header_description":"","assets_banners_color":"ffffff","last_updated":"2025-07-27 13:22:46","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/themeist.com\/plugins\/wordpress\/my-plugin-information\/","header_plugin_uri":"https:\/\/themeist.com\/plugins\/wordpress\/my-plugin-information\/#utm_source=wp-plugin&utm_medium=my-plugin-information&utm_campaign=plugins-page","header_author_uri":"https:\/\/themeist.com\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":3621,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1":{"tag":"0.1","author":"hchouhan","date":"2013-10-01 01:37:22"},"0.1.1":{"tag":"0.1.1","author":"hchouhan","date":"2013-10-01 13:48:08"},"0.2.0":{"tag":"0.2.0","author":"hchouhan","date":"2025-07-27 12:55:45"},"0.3.0":{"tag":"0.3.0","author":"hchouhan","date":"2015-06-24 13:18:44"},"1.0.0":{"tag":"1.0.0","author":"hchouhan","date":"2025-07-27 13:22:46"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3333870,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":3333870,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3333870,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3334049,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3334049,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.1.1","0.2.0","0.3.0","1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2466,44650,23275,80,4894],"plugin_category":[43],"plugin_contributors":[77663,78700],"plugin_business_model":[],"class_list":["post-25497","plugin","type-plugin","status-publish","hentry","plugin_tags-directory","plugin_tags-plugin-data","plugin_tags-plugin-info","plugin_tags-shortcode","plugin_tags-wordpress-org","plugin_category-customization","plugin_contributors-hchouhan","plugin_contributors-themeist","plugin_committers-hchouhan"],"banners":{"banner":"https:\/\/ps.w.org\/my-plugin-information\/assets\/banner-772x250.jpg?rev=3334049","banner_2x":"https:\/\/ps.w.org\/my-plugin-information\/assets\/banner-1544x500.jpg?rev=3334049","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/my-plugin-information\/assets\/icon.svg?rev=3333870","icon":"https:\/\/ps.w.org\/my-plugin-information\/assets\/icon.svg?rev=3333870","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Want to display information about any plugin hosted on WordPress.org?<\/p>\n\n<p>This plugin lets you fetch and display details like version, active installs, ratings, changelog, and more using a simple shortcode. Data is pulled from the WordPress.org Plugin API, cached locally for performance, and automatically refreshed every hour.<\/p>\n\n<p>Perfect for plugin developers who want to show up-to-date info about their own plugins on their site.<\/p>\n\n<p>If you find this plugin useful, please consider <a href=\"https:\/\/wordpress.org\/support\/plugin\/my-plugin-information\/reviews\/?rate=5#new-post\">leaving a review<\/a>. It helps others discover the plugin and supports continued development.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to <strong>Plugins \u2192 Add New<\/strong> in your WordPress dashboard.<\/li>\n<li>Search for \"My Plugin Information\" and click <strong>Install Now<\/strong>.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Add a shortcode like <code>[mpi slug=\"plugin-slug\" field=\"version\"]<\/code> to any post, page, or widget area.<\/li>\n<li>Replace <code>plugin-slug<\/code> with the actual slug of the plugin you want to display information for.<\/li>\n<\/ol>\n\n<p>For advanced usage examples and developer functions, see the <a href=\"https:\/\/themeist.com\/plugins\/wordpress\/my-plugin-information\/\">documentation on Themeist<\/a>.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20get%20support%3F'><h3>How to get support?<\/h3><\/dt>\n<dd><p>You can visit the <a href=\"https:\/\/wordpress.org\/support\/plugin\/my-plugin-information\/\">support forum<\/a> and start a discussion if needed.<\/p><\/dd>\n<dt id='where%20can%20i%20report%20bugs%20or%20contribute%3F'><h3>Where can I report bugs or contribute?<\/h3><\/dt>\n<dd><p>You can report issues or contribute to the plugin on <a href=\"https:\/\/github.com\/webtions\/my-plugin-information\">GitHub<\/a>.<\/p><\/dd>\n<dt id='how%20often%20is%20the%20plugin%20data%20updated%3F'><h3>How often is the plugin data updated?<\/h3><\/dt>\n<dd><p>The plugin uses transients and fetches fresh data from WordPress.org every hour by default.<\/p><\/dd>\n<dt id='can%20i%20change%20how%20long%20the%20plugin%20data%20is%20cached%3F'><h3>Can I change how long the plugin data is cached?<\/h3><\/dt>\n<dd><p>Yes, there is a filter available to change the transient expiration time. Useful if you want shorter or longer cache duration depending on your needs.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0 - (27 July 2025)<\/h4>\n\n<ul>\n<li>Added <code>mpi_transient_expiration<\/code> filter to control cache duration<\/li>\n<li>Added <code>subfield<\/code> shortcode attribute (thanks to <a href=\"https:\/\/profiles.wordpress.org\/vyskoczilova\/\">@vyskoczilova<\/a>)<\/li>\n<li>Added support for nested fields like <code>sections<\/code> and <code>ratings<\/code><\/li>\n<li>Added support for retrieving average star rating using the <code>ratings.average<\/code> subfield, e.g. <code>[mpi slug=\"plugin-slug\" field=\"ratings\" subfield=\"average\"]<\/code><\/li>\n<li>Changed transient naming format to <code>mpi-{slug}<\/code><\/li>\n<li>Renamed class file and class name to match plugin slug<\/li>\n<li>Improved shortcode fallback handling<\/li>\n<li>Fixed issues reported by PHPCS and PHPStan<\/li>\n<li>Added inline comments throughout the plugin<\/li>\n<li>Updated readme with usage and dev instructions<\/li>\n<\/ul>\n\n<h4>0.3.0 - (24 June 2015)<\/h4>\n\n<ul>\n<li>Simplified shortcode logic by removing hardcoded if checks for specific fields like rating, version, etc. (thanks to <a href=\"https:\/\/profiles.wordpress.org\/dvankooten\/\">@dvankooten<\/a>)<\/li>\n<li>Now all fields are fetched dynamically from the API response<\/li>\n<li>Code cleanup and formatting improvements<\/li>\n<\/ul>\n\n<h4>0.2.0 - (30 April 2014)<\/h4>\n\n<ul>\n<li>Added 3 new fields (thanks to <a href=\"https:\/\/profiles.wordpress.org\/senlin\/\">Piet from SenlinOnline.com<\/a>)<\/li>\n<\/ul>\n\n<h4>0.1.1 - (07 October 2013)<\/h4>\n\n<ul>\n<li>Structural changes to improve logic<\/li>\n<\/ul>\n\n<h4>0.1 - (30 September 2013)<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Fetch plugin data from WordPress.org using a simple shortcode. Shows version, installs, ratings, and more. Cached for speed, auto-updated hourly.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25497"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hchouhan"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25497"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25497"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25497"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25497"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25497"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}