PHP code example of benoitchantre / wp-composer-auto-updates
1. Go to this page and download the library: Download benoitchantre/wp-composer-auto-updates library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
benoitchantre / wp-composer-auto-updates example snippets
json
{
"": ">=7.0",
"benoitchantre/wp-composer-auto-updates": "^1.0",
"composer/installers": "^1.0",
"johnpbloch/wordpress": "^5.5",
"roots/bedrock-autoloader": "^1.0"
},
"extra": {
"wordpress-install-dir": "public/wp",
"installer-paths": {
"public/wp-content/mu-plugins/{$name}": [
"type:wordpress-muplugin"
],
"public/wp-content/plugins/{$name}/": [
"type:wordpress-plugin"
],
"public/wp-content/themes/{$name}/": [
"type:wordpress-theme"
]
}
}
}