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

plugin_encode_complex_configs()

Description

Encode complex plugin configuration (e.g mappings defined by users on plugins' setup page)

Parameters

ColumnTypeDefaultDescription
$c mixed Configuration requiring encoding

Return

string

Location

include/plugin_functions.php lines 1559 to 1562

Definition

 
function plugin_encode_complex_configs($c)
    {
    return 
base64_encode(serialize($c));
    }

This article was last updated 28th February 2021 15:35 Europe/London time based on the source file dated 24th February 2021 14:50 Europe/London time.