PHP code example of devgeniem / wp-define-more

1. Go to this page and download the library: Download devgeniem/wp-define-more 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/ */

    

devgeniem / wp-define-more example snippets


define('WP_UPLOADS_MAX_SIZE','10M');

define('WP_UPLOADS_DIR','/var/www/uploads');

define('WP_UPLOADS_URL', WP_SITEURL . '/uploads/');