w3tc_minify_js_do_tag_minification

w3tc_minify_js_do_tag_minification

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

See hook in core

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

apply_filters('w3tc_minify_js_do_tag_minification') is found 1 times:

  • /Minify_AutoJs.php line 239
    		$step1 = ! empty( $step1_result );
    		$step2 = ! in_array( $file, $this->ignore_js_files, true );
    
    		$do_tag_minification = $step1 && $step2;
    		$do_tag_minification = apply_filters( 'w3tc_minify_js_do_tag_minification', $do_tag_minification, $script_tag, $file );
    
    		if ( ! $do_tag_minification ) {
    			if ( $this->debug ) {
    				Minify_Core::log(
    					'file ' . $file .
    					' didnt pass minification check:' .