• Resolved mromangmg

    (@mromangmg)


    Hello,

    I’ve set up a custom uploads folder using the following script

    add_filter( 'webpc_htaccess_rewrite_path', function( $prefix ) {
        return '/';
    } );
    add_filter( 'webpc_dir_name', function( $path, $directory ) {
        switch ( $directory ) {
            case 'uploads':
                return 'website.gr/custom-folder';
        }
        return $path;
    }, 10, 2 );

    When I’m using the plugin it would swap the original images for webps only for images in the /uploads/ folder, ignoring the custom setting

    Is there something I can do to get the plugin working properly?

    Thanks in advance

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Converter won’t work’ is closed to new replies.