Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_mediaelement_fallback

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
817 /**
818  * Provide a No-JS Flash fallback as a last resort for audio / video
819  *
820  * @since 3.6.0
821  *
822  * @param string $url
823  * @return string Fallback HTML
824  */
825 function wp_mediaelement_fallback( $url ) {
826      return apply_filters( 'wp_mediaelement_fallback', sprintf( '<a href="%1$s">%1$s</a>', esc_url( $url ) ), $url );
827 }
828
829 /**
830  * Return a filtered list of WP-supported audio formats
831  *
832  * @since 3.6.0
833  * @return array
834  */
835 function wp_get_audio_extensions() {