code used for various chapter functions between civicrm, buddypress, and wordpress.