Hi. I want to change the upload directory of Bricks for the generated css files.
I noticed the variable is defined as follow in assets.php file on line 56.
$css_dir = $wp_uploads_dir['basedir'] . '/bricks/css';
How can I do it?
Hi. I want to change the upload directory of Bricks for the generated css files.
I noticed the variable is defined as follow in assets.php file on line 56.
$css_dir = $wp_uploads_dir['basedir'] . '/bricks/css';
How can I do it?
I was able to override the file by defining a modified copy of the file in my child theme. I am not sure if this approach is robut but it works for now and loads the php file from child theme instead of parent theme. I know this approach will require me to update the file after every Bricks update. I see no other option till there is a filter for the same.
include get_theme_file_path( '/includes/assets.php' );