wordpress / latest / hooks / wp_mediaelement_fallback.html

apply_filters( 'wp_mediaelement_fallback', string $output, string $url )

Filters the Mediaelement fallback output for no-JS.

Parameters

$output string
Fallback output for no-JS.
$url string
Media file URL.

Source

File: wp-includes/media.php. View all references

return apply_filters( 'wp_mediaelement_fallback', sprintf( '<a href="%1$s">%1$s</a>', esc_url( $url ) ), $url );

Used By

Used By Description

Changelog

Version Description
3.6.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_mediaelement_fallback