Lines:
1 to 33 of 33
<?php /** * Scripts * * @package EDD * @subpackage Functions * @copyright Copyright (c) 2015, Pippin Williamson * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.0 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; /* function edd_load_scripts() – Load Scripts */ add_action( 'wp_enqueue_scripts', 'edd_load_scripts' ); /* function edd_register_styles() – Register Styles */ add_action( 'wp_enqueue_scripts', 'edd_register_styles' ); /* function edd_load_admin_scripts() – Load Admin Scripts */ add_action( 'admin_enqueue_scripts', 'edd_load_admin_scripts', 100 ); /* function edd_admin_downloads_icon() – Admin Downloads Icon */ add_action( 'admin_head','edd_admin_downloads_icon' ); /* function edd_load_head_styles() – Load head styles */ add_action( 'wp_head', 'edd_load_head_styles' ); /* function edd_scripts_in_footer() – Determine if the frontend scripts should be loaded in the footer or header (default: footer) */