wp_playlist_scripts

wp_playlist_scripts

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('wp_playlist_scripts') is found 1 times:

  • /wp-includes/media.php line 3230
    3226
    3227
    3228
    3229
    3230
    3231
    3232
    3233
    3234
    3235
    3236
             *
             * @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; ?>