beans_flush_admin_compiler

Flush admin cached compiler files.

This function is a shortcut of beans_flush_compiler().

beans_flush_admin_compiler( string $id, string|bool $file_format = false )

Return: (void)

Parameters

NameTypeRequiredDefaultDescription
$idstringtrue-The compiler ID. Similar to the WordPress scripts $handle argument.
$file_formatstring|boolfalsefalseDefine which files format should be removed. Both CSS and JS files will be removed if set to false. Accepts 'false', 'css' or 'js'.

Source

function beans_flush_admin_compiler( $id, $file_format = false ) {

	beans_flush_compiler( $id, $file_format, true );

}