At this time, this is not possible. Not without the PHP minimum version header being implemented.
When that is done, then it will be possible. Until then, you cannot DIY through plugin code alone.
In theory, you could release an update that would block future updates for that one plugin if the PHP version wasn’t met, but even then that would not prevent your plugin from receiving updates when it was not active. So, can’t be done because plugin updates are done by WordPress, not by the plugins themselves.
Related Posts:
- Making plugin unique to not conflict with plugins with the same name
- What are the differences between WPINC and ABSPATH?
- Should all plugins be encapsulated in a Class?
- How can I use WordPress functions in my stylesheet?
- Disable email notification after change of password
- How can I see all the actions attached to an “add_action” hook?
- Can a developer adopt a plugin marked as “not updated in over 2 years”?
- wp_dequeue_style not working
- How do I call wp_get_current_user() in a plugin when plugins are loaded before pluggable.php?
- Consuming an external API in WordPress?
- Uncaught Error: Call to undefined function wp_generate_attachment_metadata() @ wp-cron
- Get a list of all WordPress.org Plugins?
- Can I change ownership of my plugin?
- When unit testing a plugin, does the plugin need to be in the wp-content/plugins directory of the WordPress tests install?
- How to properly insert data into custom table via plugin
- How to get the active theme’s slug?
- Preserve custom URL parameter on more pages
- How can I import a class privately into a plugin?
- __(): What if I have to pass in a variable?
- PHP code on Visual Composer Plugin
- Run WP-CLI using PHP
- Problems with autoloading classes via sp_autoload_register / maybe interfering WP-specific autoloader
- How to make simply “report” button on posts
- How to remove duplicate sub-menu name for top level menu items in a plugin?
- Plugin update error message
- Keep one user logged for a year?
- Allowing Two Developers Access to a Plugin on the WordPress.org Plugin Repository?
- How to build an API as a plugin
- Customizing subject in comment notification e-mails
- category_name not working (not showing up in sql query debug)
- Plugin or mod for wordpress to make content publication SUPER easy
- if plugin is active? check if plugin is enabled or not?
- Using require_once in a Plugin?
- Get php var inside javascript file (making plugin)
- How can I make my custom shortcode work in a Custom HTML Widget?
- Simple form that saves to database
- WP showing “warning: call_user_func_array()”, What to do?
- How do I extend one plugin I’m writing with another I’m writing using classes?
- “Donate to this plugin” for WordPress.org Plugin Authors
- Adding a text domain to every __(), _e() and __n() gettext call without a plan to create own translations
- Searching users with WP_List_Table plugin
- How to Loop Plugin Option Field Set?
- Find out what is using PHP sessions in WordPress
- Cropping, Re-sizing and Saving images from one folder to another folder in wordpress
- How to find out if option exists but is empty?
- How to call plugin path in JS?
- Get Current user email as a return string value
- Insert plugin content before body end
- PHP Deprecated: Non-static method should not be called statically
- Can we completely remove the WordPress Sitemaps (WordPress 5.5)?
- Generate custom output for page/URL in a plugin
- how to customize hello dolly plugin?
- How can I pass a variable to wp_ajax action?
- Update Multiple Post Meta for the Same Post In One call?
- How do I retrieve a list of popular plugins using the WordPress.org Plugin API?
- WordPress Hook that will run when media file deleted
- Adding Custom Fields for Img in Posts
- How to store ACF custom fields data in a custom table
- How to pass JavaScript variable to PHP in wordpress widget?
- Unable to add admin notice on plugin activation
- Bug in Stackoverflow styled badge system script
- How To Ignore a Filter On Applying Filter the Content In a Function
- Updating WooCommerce variable product stock issue
- Saving Plugin settings to the database
- How long does it take for a new plugin to be approved?
- How is the WordPress.org plugin download history calculated?
- Set a User as Author of all ‘New Posts’ posted
- How do I configure WordPress to talk to a Microsoft SQL Server database?
- Is it possible to have screenshots in any other section rather than the screenshots section?
- Stackoverflow type of badge plugin giving warnings in WordPress 3.5
- Post source link plugin – small modification
- Which hook callback has priority if both plugin and theme use the same hook?
- WordPress widget / plugin….fields not appearing in my widget
- How can I make content disappear when a user logs in?
- Add CSS animation as Preloader to WordPress
- Rename existing old uploaded images containing accented French characters (not during upload)
- How to list the Hooks and order of execution in current loading page? [duplicate]
- Change destination author link
- How to turn off email you receive when registered?
- How can I execute some small piece of PHP code in a sandbox area of my WP?
- How can I include PHP-Code to my post?
- Custom Widget outputs the input but doesn’t save anything inside the textarea
- Multi step form, custom plugin
- Plugin.php: PHP Notice: Undefined offset: 0 in
- How to Create a Directory in a Plugin Folder?
- Trying to disable plugins doens’t work
- WordPress plugin update not showing on wp.org [closed]
- How to save Clicks of a download link button while it doesn’t matter if we refresh the page or again login/logout
- Thumb rating for wordpress – top user
- Calling function from within functions.php returns unwanted value
- Errors while using ajax from external wordpress page
- how to display all posts Custom fields dynamically?
- Activating a single plugin via php
- Seriously stuck with some custom meta box/plugin stuff
- shortcode doesn’t work
- explanation for activate_plugin function in wordpress core
- Ajax call doesn’t work in frontend but it’s working in backend (when I’m logged in)
- How to send “Location” header on plugin form submit event?
- How can I ‘reactivate’ .PHP files within a WP plugin that have been marked ‘inactive’?
- WordPress PHP plugin – Settings page error