Answers for "wp enqueue"

PHP
0

none

/** 
 *   Enqueue your theme styles and scripts in functions.php
 *   use time() instead of a proper versioning to avoid caching when developing
 */
function my_theme_enqueue_scripts() {
    wp_enqueue_style( 'default-style', get_stylesheet_uri(), 
Posted by: Guest on January-01-1970

Browse Popular Code Answers by Language