Extension Hooks

edit_entries_decode_date

Hook Added in Version:

1.4.0

Hook File Location:

cp.publish.php

Hook Description:

Change how the date is formatted in the Edit section list of entries

Hook Parameters

  • $row['entry_date'] - Date of entry in GMT

Hook Returns Data?

Yes

Appearance of Hook in the Code

if (isset($EXT->extensions['edit_entries_decode_date']))
{
 $tr .= $EXT->call_extension('edit_entries_decode_date', $row['entry_date']);
}
else
{
 $tr .= $DSP->td($style).$DSP->qdiv('smallNoWrap',  $LOC->decode_date($datestr, $row['entry_date'], TRUE)).$DSP->td_c();          
}