Created
January 29, 2020 17:12
-
-
Save Pross/3dd37b8e2038fc8f7bd47014cdc92878 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'fl_builder_get_cache_dir', function( $dirinfo ){ | |
| if ( 'icons' === basename( $dirinfo['path'] ) ) { | |
| $dirinfo['path'] = trailingslashit( get_stylesheet_directory() ) . 'icons/'; | |
| $dirinfo['url'] = trailingslashit( get_stylesheet_directory_uri() ) . 'icons/'; | |
| } | |
| return $dirinfo; | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yep I did that this morning and it worked well, just wanted to let you guys know because other people will have same issues if they're hosting with WPE