Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

reorder_default_dash()

Parameters

This function accepts no parameters.

Location

include/dash_functions.php lines 217 to 226

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 17th May 2021 23:35 Europe/London time based on the source file dated 12th April 2021 10:20 Europe/London time.