PHP code example of emanuellopes / wordpress-dumps

1. Go to this page and download the library: Download emanuellopes/wordpress-dumps 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/ */

    

emanuellopes / wordpress-dumps example snippets


define('WP_ENVIRONMENT_TYPE', 'local');

add_filter('WordpressDumps/appBasePath', function(string $path) {
    return 'another location';
});

ds('my-dump');