learndash_get_allowed_upload_mime_extensions_for_post( integer $post_id )
Utility function to return a list of allowed upload file extensions.
Description Description
This utility function is used to limit the allowed file extensions for Assignments and Essays.
Parameters Parameters
- $post_id
-
(Required) Post ID for Assignment or Essay
Return Return
(array) allowed file extensions with mime.
Source Source
File: includes/ld-misc-functions.php
Changelog Changelog
Version | Description |
---|---|
3.1.7 | Introduced. |