api support for wp project