wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_playlist_scripts › WordPress Function
Seit3.9.0
Veraltetn/v
› wp_playlist_scripts ( $type )
Parameter: |
|
Definiert in: |
|
Codex: |
Outputs and enqueues default scripts and styles for playlists.
Ähnliche Funktionen: wp_print_scripts, wp_default_scripts, wp_localize_script, wp_playlist_shortcode, wp_list_sort
Quellcode
function wp_playlist_scripts( $type ) { wp_enqueue_style( 'wp-mediaelement' ); wp_enqueue_script( 'wp-playlist' ); ?> <!--[if lt IE 9]><script>document.createElement('<?php echo esc_js( $type ); ?>');</script><![endif]--> <?php add_action( 'wp_footer', 'wp_underscore_playlist_templates', 0 ); add_action( 'admin_footer', 'wp_underscore_playlist_templates', 0 ); }