Home / Archive / webfontloader.js
Duplicate Snippet

Embed Snippet on Your Site

webfontloader.js

Code Preview
php
<?php
// Add custom scripts
function add_custom_script_webfont_loader_js() {
			
			wp_register_script( 'webfontloader', 'https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js', array(), '1.6.28', true );
			wp_enqueue_script( 'webfontloader' );
			
}
add_action( 'wp_enqueue_scripts', 'add_custom_script_webfont_loader_js' );

Comments

Add a Comment