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 Description


Parameters Parameters

$include_mime

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

Default value: true

$include_exts

(Optional) Filters returned array to this subset.

Default value: array()


Top ↑

Return Return

(array) Array allowed file extensions with mime.


Top ↑

Source Source

File: includes/ld-misc-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.