add_file_display_callback
— Add a callback for displaying files with a given mimetype and/or extension.
:doc:`Plugin-related functions </Reference/packages/Function/Plugin/index>`
.. php:function:: add_file_display_callback($fileIdentifiers, $callback, $options = array()) Add a callback for displaying files with a given mimetype and/or extension. :type $fileIdentifiers: array|string :param $fileIdentifiers: Set of MIME types and/or file extensions to which the provided callback will respond. :type $callback: callback :param $callback: Any valid callback. :type $options: array :param $options: