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 );
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |