w3tc_minify_before

w3tc_minify_before

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: w3-total-cache.2.8.2

apply_filters('w3tc_minify_before') is found 1 times:

  • /Minify_Plugin.php line 213
    		$head_prepend = '';
    		$body_prepend = '';
    		$body_append = '';
    		$embed_extsrcjs = false;
    		$buffer = apply_filters( 'w3tc_minify_before', $buffer );
    
    		// If the minify cache folder is missing minify fails. This will generate the minify folder path if missing.
    		$minify_environment = Dispatcher::component( 'Minify_Environment' );
    		try {
    			$minify_environment->fix_on_wpadmin_request( $this->_config, true );
    		} catch ( \Exception $e ) {}