wp_audio_shortcode

Advertisement

Summery Summery

Filters the audio shortcode output.

Syntax Syntax

apply_filters( 'wp_audio_shortcode', string $html, array $atts, string $audio, int $post_id, string $library )

Parameters Parameters

$html

Audio shortcode HTML output.

$atts

Array of audio shortcode attributes.

$audio

Audio file.

$post_id

Post ID.

$library

Media library used for the audio shortcode.

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Advertisement

Leave a Reply