PHP code example of yasglobal / make-paths-relative

1. Go to this page and download the library: Download yasglobal/make-paths-relative 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/ */

    

yasglobal / make-paths-relative example snippets


add_filter( 'make_paths_relative_activate_all', '__return_true' );