Collections functions
General functions
Render functions
Theme permission 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 1461 to 1464

Definition

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

This article was last updated 29th May 2022 06:05 Europe/London time based on the source file dated 6th May 2022 16:50 Europe/London time.