updated wordpress cache2lib code sample