learndash_get_allowed_upload_mime_extensions_for_post

learndash_get_allowed_upload_mime_extensions_for_post( integer $post_id )

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


Description #

This utility function is used to limit the allowed file extensions for Assignments and Essays.


Parameters #

$post_id

(integer) (Required) Post ID for Assignment or Essay


Return #

(array) allowed file extensions with mime.


Source #

File: includes/ld-misc-functions.php


Changelog #

Changelog
Version Description
3.1.7 Introduced.