Collections functions
General functions
Render functions
Theme permission functions
Resource functions

append_user_position()

Parameters

ColumnTypeDefaultDescription
$user

Location

include/dash_functions.php lines 1065 to 1069

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 24th September 2022 23:35 Europe/London time based on the source file dated 24th August 2022 16:05 Europe/London time.