Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 1484 to 1487

Definition

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

This article was last updated 19th March 2024 10:35 Europe/London time based on the source file dated 15th March 2024 17:00 Europe/London time.