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 390 to 393

Definition

 
function get_config_option_users($option$value)
{
    return 
ps_array("SELECT user value FROM user_preferences WHERE parameter = ? AND value = ?", array("s"$option"s"$value), "preferences");
}

This article was last updated 21st April 2025 21:35 Europe/London time based on the source file dated 17th April 2025 16:15 Europe/London time.