update php code snippet inside of function shortcuts section