Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_workflow_states()

Description

Utility to get all workflow states available in the system.

IMPORTANT: No permissions are being honoured on purpose! If you need to honour permissions @see get_editable_states()

Parameters

This function accepts no parameters.

Return

array

Location

include/resource_functions.php lines 8273 to 8281

Definition

 
function get_workflow_states()
    {
    global 
$additional_archive_states;

    
$default_workflow_states range(-23);
    
$workflow_states array_merge($default_workflow_states$additional_archive_states);

    return 
$workflow_states;
    }

This article was last updated 30th November 2020 19:35 Europe/London time based on the source file dated 30th November 2020 11:55 Europe/London time.