PHP Classes

File: appsmo_newsletter/includes/news-letter-scripts.php

Recommend this page to a friend!
  Classes of Hillary Kollan   My WordPress Plugin List   appsmo_newsletter/includes/news-letter-scripts.php   Download  
File: appsmo_newsletter/includes/news-letter-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: 279 bytes
 

Contents

Class file image Download
<?php

function nl_add_scripts(){
   
wp_enqueue_style('nl-main-style', plugins_url().'/appsmo_newsletter/css/style.css');
   
wp_enqueue_script('nl-main-script', plugins_url().'/appsmo_newsletter/js/script.js', ['jquery']);
}

add_action('wp_enqueue_scripts', 'nl_add_scripts');