OK, so I think I got everything that is needed. So yes, you could work with a combination of:
plugins_api
install_plugin_install_status
install
from an instance ofPlugin_Upgrader
This may seem elaborate but you can actually see from the WP-CLI
project that it is quite straight-forward. Of course, you can just install that excellent plugin and be done with it if you can also get access to a remote terminal session.
Related Posts:
- Redirect to another page using contact form 7? [closed]
- Hook into install email
- Disable plugin / plugin action via theme
- wordpress on localhost lamp doesn’t let me install plugins
- How do I call wp_get_current_user() in a plugin when plugins are loaded before pluggable.php?
- Need to create a Theme demo site that features multiple themes
- Define Function in functions.php or plugin and call in theme loop
- Autogenerate wordpress shortcodes using array?
- Why does including a file in theme’s functions.php not work?
- WooCommerce create new product and add to cart on form submit
- Adding New Role
- Shortcode under a Shortcode Multiple times Possible?
- Add Top-Level Menu that opens URL
- wordpress custom login successful redirect hook
- WordPress ajax call for not logged in users, doesn’t work
- Display All Non-Used Plugins
- New Plugin: Post update pushes a copy as a revision
- Placement of Code in Plugin for hooking `save_post`
- Display a text message if the field is not found and not if found
- Add get_option to jquery
- Get all categories of custom post even not assigned
- Function to prevent users from trashing comments
- Error uploading plugin zip file
- Avoiding Duplicate function names in Post Loop (WP_Footer script)
- How to add class in plugin only for network site?
- How to create TEMPORARY Download links in a wordpress POST?
- Conditionally add apt. Open Graph meta data to different pages on WordPress site
- plugin development: problem with functions
- wordpress plugin is not activating from widget
- Custom random quote widget breaks when used in multiple sidebars
- How to use a class from another plugin
- Conditional attributes and logic per product category
- How to remove custom post type and add category and post name
- Why this function not working for install database on plugin activation
- Ajax : Call undefined function plugin_function() … can’t call any plugin function
- bbPress plugin: forum lists not showing in correct order? [closed]
- How to create an option page for this simple plugin
- Is there a best practice remediation for PhpStorm’s warning that void function the_post_thumbnail is used?
- the_tags : can we insert a class
- How to over-ride a file in a plugin? [closed]
- Overwrite category head title
- Get plugin download URL from slug
- execute function after one completed
- PHP script from functions php is loaded via admin-ajax to div…and the result is 0, not the desired content
- How to reset the plugins without deactivate the plugin
- plugins_url() works everywhere but wp_reqister_script()
- Adding class to last list item? Not WP generated
- Replacing global wp_query
- WordPress Plugins Don’t Automatically Update
- What are the correct permissions so WP doesn’t ask for FTP credentials if installing plugin?
- I changed .live() to .on() but change is not reflected on the server
- How to get specific string/value from an array? php [closed]
- WordPress Stock Update Programatically
- 5 PHP Fatal error: Uncaught ArgumentCountError (Cannot Find)
- How can I fetch data from another website to my wordpress website with mysql database
- Getting a ressource ID, from a WC_Order_Item_Product/Order
- how to change wp-admin url using function file
- same user role or copy the user role to be same as the other role
- Unable to install plugins
- Could not add ‘LoginLogout’ link using BAW login logout plugin
- My widget won’t update its values when save is clicked
- Execute a function when the entire page is displayed
- How can i listing current category and Featured Category post list?
- How to add custom function to pluggable.php
- Plugin Add New Installer failing
- grab or load text on demand
- Installing a Plugin ( Which is already manually uploaded )
- sliding/fading header plugin or approach suggestion
- How would I get the new plugin version on this function?
- Create category for each user
- Is there any way to sync Facebook Comments and with comments on WordPress website?
- Sharing varible between two add_actions
- Search in WordPress
- Modify function output in a plugin
- Override filter variable not working
- Is admin section completely customizable in terms of styling?
- How to make the first letter of a post title uppercase, in a plugin?
- Migrating custom php we wrote from functions.php into a site-specific plugin
- How to replace native comment_count with Comments Evolved aggregate count
- Code fails in plugin file but works in functions.php
- Conditional required fields for WordPress Contact Form 7
- wordpress Shortocode running twice?
- Cannot access variables within a widget
- Calling an custom field from theme option at the frontend
- pluggable function in theme, to be overridden by plugin
- Is there going to an issue running different features of WP site in different subdomains?
- WordPress plugin options need to delete after deactivate & uninstall
- WordPress function to add text
- Saving an array to get_options
- Moving to WordPress Premium versus a hosting provider
- How to add plugin activity in the menus?
- Doing action based on input from options menu
- add query string to all pages after user logged in
- Simple WordPress function / plugin to redirect a site
- Remove base from the custom post type URL [duplicate]
- Sync roles across several plugins
- filter just a portion of plugin function
- Make plugin admin page visible to other roles
- Sort posts by Date (DESC) and by ACF: active_inactive (ASC)
- wp_enqueue_script doesn’t load JS in plugin