Advertisement
Guest User

Custom MediaLayer skin for WordPress

a guest
Jul 22nd, 2013
730
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. function mejskin_enqueue_styles() {
  2.     $library = apply_filters( 'wp_audio_shortcode_library', 'mediaelement' );
  3.     if ( 'mediaelement' === $library && did_action( 'init' ) ) {
  4.         wp_enqueue_style( 'mejskin', plugin_dir_url(__FILE__) . 'skin/mediaelementplayer.css', false, null );
  5.     }
  6. }
  7. add_action('wp_footer', 'mejskin_enqueue_styles', 11 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement