/filesystem

DescriptionDescription

This filter is called whenever the plugin attempts to create or read a file using the WordPress filesystem. It allows you to disable the use of the WordPress filesystem if your server does not support it and to use inline styles instead of generating CSS files.

ArgumentsArguments

ArgumentTypeDescription
$returnbooleanDetermines whether to enable or disable WP filesystem.

ExampleExample

PHP
functions.php
function prefix_disable_filesystem( $return ) {

	return false;

}
add_filter( 'wp_grid_builder/filesystem', 'prefix_disable_filesystem', 10, 1 );