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
Name | Type | Required | Default | Description |
---|---|---|---|---|
$id | string | true | - | The compiler ID. Similar to the WordPress scripts $handle argument. |
$file_format | string|bool | false | false | Define 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 );
}