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


Top ↑

Return Return

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