A WordPress-centric search engine for devs and theme authors



wp_audio_embed_handler ›

Since3.6.0
Deprecatedn/a
apply_filters( 'wp_audio_embed_handler', 'wp_embed_handler_audio' )
Parameters:
  • (callable) $handler Audio embed handler callback function.
    Required: Yes
Defined at:
Codex:

Filters the audio embed handler callback.





Source

wp_embed_register_handler( 'audio', '#^https?://.+?\.(' . join( '|', wp_get_audio_extensions() ) . ')$#i', apply_filters( 'wp_audio_embed_handler', 'wp_embed_handler_audio' ), 9999 );