Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

append_user_position()

Parameters

ColumnTypeDefaultDescription
$user

Location

include/dash_functions.php lines 1054 to 1058

Definition

 
function append_user_position($user)
    {
    
$last_tile=ps_query("SELECT order_by FROM user_dash_tile WHERE user= ? ORDER BY order_by DESC LIMIT 1", ['i'$user]);
    return isset(
$last_tile[0]["order_by"])?$last_tile[0]["order_by"]+10:10;
    }

This article was last updated 19th March 2024 04:05 Europe/London time based on the source file dated 15th March 2024 17:00 Europe/London time.