wp_playlist_scripts

wp_playlist_scripts

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('wp_playlist_scripts') is found 1 times:

  • /wp-includes/media.php line 3107
    		 *
    		 * @param string $type  Type of playlist. Possible values are 'audio' or 'video'.
    		 * @param string $style The 'theme' for the playlist. Core provides 'light' and 'dark'.
    		 */
    		do_action( 'wp_playlist_scripts', $atts['type'], $atts['style'] );
    	}
    	?>
    <div class="wp-playlist wp-<?php echo $safe_type; ?>-playlist wp-playlist-<?php echo $safe_style; ?>">
    	<?php if ( 'audio' === $atts&#91;'type'&#93; ) : ?>
    		<div class="wp-playlist-current-item"></div>
    	<?php endif; ?>