Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_config_option_users()

Description

Get all user refs with a specific configuration option set from database

Parameters

ColumnTypeDefaultDescription
$option string Parameter name
$value string Parameter value

Return

array Array of user references

Location

include/config_functions.php lines 230 to 234

Definition

 
function get_config_option_users($option,$value)
    {
    
$users sql_array("SELECT user value FROM user_preferences WHERE parameter = '" escape_check($option). "' AND value='" escape_check($value) . "'","preferences");
    return 
$users;   
    }

This article was last updated 10th July 2020 20:35 Europe/London time based on the source file dated 8th July 2020 11:40 Europe/London time.