Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Plugin Name: rhl: Load D3
- */
- add_action( 'init', 'rhl_load_d3' );
- function rhl_load_d3() {
- if ( ! is_admin() ) {
- wp_enqueue_script( 'd3', plugins_url( 'd3/d3.js', __FILE__ ), array(), '2.5.0' );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement