PHP Classes

File: weather/includes/weather-scripts.php

Recommend this page to a friend!
  Classes of Hillary Kollan   My WordPress Plugin List   weather/includes/weather-scripts.php   Download  
File: weather/includes/weather-scripts.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: My WordPress Plugin List
WordPress plugins for several purposes
Author: By
Last change:
Date: 1 year ago
Size: 265 bytes
 

Contents

Class file image Download
<?php


function we_get_scripts(){
   
wp_enqueue_style('we-main-style', plugins_url().'/weather/css/style.css');
   
wp_enqueue_script('we-main-script', plugins_url().'/weather/scripts/script.js', ['jquery']);
}

add_action('wp_enqueue_scripts', 'we_get_scripts');