Collections functions
General functions
Render functions
Theme permission functions
User functions
Resource functions

display_upload_options()

Description

Utility to if collapsable upload options should be displayed

Parameters

This function accepts no parameters.

Return

boolean

Location

include/render_functions.php lines 4161 to 4172

Definition

 
function display_upload_options()
    {
    global 
$metadata_read$enable_add_collection_on_upload$relate_on_upload$camera_autorotation;
    if (
$metadata_read || $enable_add_collection_on_upload || $relate_on_upload || $camera_autorotation)
        {
        return 
true;
        }
    else
        {
        return 
false;
        }
    }

This article was last updated 2nd December 2023 09:05 Europe/London time based on the source file dated 29th November 2023 14:55 Europe/London time.