Browse: Home / Functions /


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 #


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

Default value: true


(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 #

Version Description
3.1.7 Introduced.