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

(string) Audio shortcode HTML output.

$atts

(array) Array of audio shortcode attributes.

$audio

(string) Audio file.

$post_id

(int) Post ID.

$library

(string) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.