LLMS_Abstract_Query::set( string $key, mixed $val )
Sets a query variable.
Parameters Parameters
- $key
-
(string) (Required) Variable key.
- $val
-
(mixed) (Required) Variable value.
Return Return
(void)
Source Source
File: includes/abstracts/llms-abstract-query.php
public function set( $key, $val ) {
$this->query_vars[ $key ] = $val;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.0.0 | Moved from LLMS_Database_Query abstract. |
| 3.8.0 | Introduced. |