Collections functions
General 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 1488 to 1491

Definition

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

This article was last updated 4th December 2023 19:35 Europe/London time based on the source file dated 7th September 2023 11:45 Europe/London time.