class WpvLess

 Methods

Compiles the LESS files

compile() 
Static

Sanitizes a variable

prepare(string $name, string $value, boolean $returnOriginal) : int | string | null
Static

Parameters

$name

string

option name

$value

string

option value from db

$returnOriginal

boolean

whether to return the db value if no good sanitization is found

Returns

intstringnullsanitized value

shows a warning

warning(string $message) 
Static

Parameters

$message

string

warning message

 Properties

 

$percentages : array