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 1061 to 1065

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 23rd July 2024 21:35 Europe/London time based on the source file dated 4th July 2024 10:05 Europe/London time.