learndash_get_allowed_upload_file_extensions

learndash_get_allowed_upload_file_extensions( boolean $include_mime = true,  array $include_exts = array() )

Utility function to return a list of allowed upload file extensions.


Description #


Parameters #

$include_mime

(boolean) (Optional) If true include array of extension => mime. False return just array extensions.

Default value: true

$include_exts

(array) (Optional) Filters returned array to this subset.

Default value: array()


Return #

(array) Array allowed file extensions with mime.


Source #

File: includes/ld-misc-functions.php


Changelog #

Changelog
Version Description
3.1.7 Introduced.