wp_audio_extensions

wp_audio_extensions

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_audio_extensions') is found 1 times:

  • /wp-includes/media.php line 3298
    	 *
    	 * @param string[] $extensions An array of supported audio formats. Defaults are
    	 *                            'mp3', 'ogg', 'flac', 'm4a', 'wav'.
    	 */
    	return apply_filters( 'wp_audio_extensions', array( 'mp3', 'ogg', 'flac', 'm4a', 'wav' ) );
    }
    
    /**
     * Returns useful keys to use to lookup data from an attachment's stored metadata.
     *
     * @since 3.9.0