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 1511 to 1514

Definition

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

This article was last updated 23rd July 2024 21:35 Europe/London time based on the source file dated 23rd July 2024 16:15 Europe/London time.