On this page
apply_filters( 'wp_mediaelement_fallback', string $output, string $url )
Filters the Mediaelement fallback output for no-JS.
Parameters
$outputstring-
Fallback output for no-JS.
$urlstring-
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 );
Related
Used By
| Used By | Description |
|---|---|
| wp_mediaelement_fallback() wp-includes/media.php | Provides a No-JS Flash fallback as a last resort for audio / video. |
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