GenerateBlocks 2.0 is here - Read the release post

Learn GenerateBlocks

generateblocks_css_inline_length

if ( $css_size < (int) apply_filters( 'generateblocks_css_inline_length', 500 ) ) {
	return false;
}

Description

Set the minimum character length at which an External CSS file is generated.
Requires GenerateBlocks > Settings > CSS Print Method of External File.

Params

N/A

Basic Example #1

Set the character length to 500 ( default ).

add_filter( 'generateblocks_css_inline_length', function() {
    return 500;
} );