plugin-update-checker | custom update checker for WordPress plugins | Content Management System library
kandi X-RAY | plugin-update-checker Summary
kandi X-RAY | plugin-update-checker Summary
This is a custom update checker library for WordPress plugins and themes. It lets you add automatic update notifications and one-click upgrades to your commercial plugins, private themes, and so on. All you need to do is put your plugin/theme details in a JSON file, place the file on your server, and pass the URL to the library. The library periodically checks the URL to see if there’s a new version available and displays an update notification to the user if necessary. From the users' perspective, it works just like with plugins and themes hosted on WordPress.org. The update checker uses the default upgrade UI that is familiar to most WordPress users.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parses lines .
- Render a table
- Generate link element
- Render a text line
- Parse a block list .
- Parse Markdown markup .
- Add a table to continue
- Render a single element
- Parse Markup markup
- Generate an inline image
plugin-update-checker Key Features
plugin-update-checker Examples and Code Snippets
Community Discussions
Trending Discussions on plugin-update-checker
QUESTION
I am new to both Composer and Git/GitHub so please excuse me if this is a stupid question!
I have built a WordPress plugin which I have in a repository on GitHub and I will use the repository to distribute updates to the plugin using this plugin update checker library: https://github.com/YahnisElsts/plugin-update-checker
The plugin has a number of Composer dependencies that I have installed. I've been researching and apparently you aren't supposed to include the composer vendors directory in your GitHub repository (see here: https://getcomposer.org/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md) however my confusion is how can I distribute the plugin from GitHub using the update checker if the vendors directory is not included?
What is the correct way to achieve this? Am I missing something obvious?
Thanks a lot in advance, Hayden
...ANSWER
Answered 2021-Jul-08 at 15:43add vendor folder to your .gitignore. someone can use (composer install) and (composer dump-autoload) for install your dependencies to project.
QUESTION
I'm using the following library to give a update feature to my WordPress and this works fine with the code of documentation.
https://github.com/YahnisElsts/plugin-update-checker/blob/master/README.md
...ANSWER
Answered 2020-Nov-20 at 14:24You're creating the variable right there. You can even name it something else if you want (eg. $update_checker
), that shouldn't cause any issues in this particular case as the variable isn't being used anywhere else (according to your own words.)
For more details: PHP variables.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install plugin-update-checker
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page