Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Added new filter 'fly_dir_path'

Compare
Choose a tag to compare
@junaidbhura junaidbhura released this 03 Jan 12:05
· 77 commits to master since this release

The location of the fly images folder can now be changed using a new filter: 'fly_dir_path'. The following code can be pasted into the functions.php file:

function change_fly_path( $path ) {
    return '/var/www/html/wp-content/uploads/new-path/';
}
add_filter( 'fly_dir_path', 'change_fly_path' );