Title: Plugin does not check supported WP Version
Last modified: September 17, 2022

---

# Plugin does not check supported WP Version

 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-does-not-check-supported-wp-version/)
 * Hi there, your plugin uses functions like `register_block_type`, but it A) never
   checks if the functions exist, and B) never checks if the WP version actually
   supports those functions.
 * Thus, installing your plugin on a WP Version that does not support Blocks, will
   fail in a fatal error.
 * 1. It would be super nice if you could just check if those functions exist and
   if not, exit that code. This would allow you to support a much wider range of
   WordPress installs. Due to the current setup of the plugin, you can only support
   Block version of WP
    2. If you are not willing to support older versions of WordPress
   or the up and coming ClassicPress, it would be a must to check if the current
   WordPress version is actually the one you expect. This will at least avoid fatal
   errors.
 * I am available to help with this, if you are willing to support older versions
   of WordPress and/or ClassicPress as well.
 * Thank you!

The topic ‘Plugin does not check supported WP Version’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/fastspring_59b3ff.svg)
 * [FastSpring](https://wordpress.org/plugins/fastspring/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fastspring/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fastspring/)
 * [Active Topics](https://wordpress.org/support/plugin/fastspring/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fastspring/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fastspring/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: Anonymous User 14808221
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-does-not-check-supported-wp-version/)
 * Status: not a support question