script_loader_tag, $tag, $handle, $src

script_loader_tag, $tag, $handle, $src

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('script_loader_tag, $tag, $handle, $src') is found 1 times:

  • /wp-includes/class-wp-scripts.php line 496
    		 * @param string $tag    The `<script>` tag for the enqueued script.
    		 * @param string $handle The script's registered handle.
    		 * @param string $src    The script's source URL.
    		 */
    		$tag = apply_filters( 'script_loader_tag', $tag, $handle, $src );
    
    		if ( $this->do_concat ) {
    			$this->print_html .= $tag;
    		} else {
    			echo $tag;
    		}