PHP Classes

File: facebook/includes/facebook-footer-scripts.php

Recommend this page to a friend!
  Classes of Hillary Kollan   My WordPress Plugin List   facebook/includes/facebook-footer-scripts.php   Download  
File: facebook/includes/facebook-footer-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: 2 years ago
Size: 298 bytes
 

Contents

Class file image Download
<?php
/**
 * Add main scripts
 *
 * @return void
 */
function ffs_add_scripts(){
   
wp_enqueue_style('ffs-main-style', plugins_url().'/facebook/css/style.css');
   
wp_enqueue_script('ffs-main-script', plugins_url().'/facebook/js/main.js');
}


add_action('wp_enqueue_scripts', 'ffs_add_scripts');