Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

reorder_default_dash()

Parameters

This function accepts no parameters.

Location

include/dash_functions.php lines 193 to 202

Definition

 
function reorder_default_dash()
    {
    
$tiles sql_query("SELECT ref FROM dash_tile WHERE all_users=1 ORDER BY default_order_by");
    
$order_by=10 count($tiles);
    for(
$i=count($tiles)-1;$i>=0;$i--)
        {
        
$result update_default_dash_tile_order($tiles[$i]["ref"],$order_by);
        
$order_by-=10;
        }
    }

This article was last updated 14th July 2020 01:35 Europe/London time based on the source file dated 24th June 2020 14:38 Europe/London time.