PHP code example of piotrpress / wordpress-config
1. Go to this page and download the library: Download piotrpress/wordpress-config 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/ */
piotrpress / wordpress-config example snippets
json
{
"trpress/wordpress-config": "^3.0"
},
"scripts": {
"post-update-cmd": "php -r \"copy('vendor/piotrpress/wordpress-config/res/wp-config.php', 'wp-config.php');\""
}
}