T3Admin: Add inject snippet code function