Adds checkout page child account creation
Merge branch 'master' of https://github.com/greathmaster/pmpro-sponsored-members into greathmaster-master
Creating child accounts at checkout first run.
...
...
* Fixed issues with child account creation and form at checkout.
* Added 'sponsored_accounts_at_checkout' option for sponsored levels that tells the addon whether or not to show new user forms at checkout for sponsored members.
* Now showing previously activated accounts at checkout. You can uncheck to deactivate.
* Now use pmprosm_getChildren in all places where child accounts are used/shown. This function queries on the pmpro_memberships_users table by code_id. Other queries used to query the pmpro_discount_codes_uses table instead. This will ensure that used seats is always tracking active members.
* Added children_get_name, children_hide_username, and add_code_to_confirmation_email options for sponsored levels.
version update
Added valid example code setting array properly
Merge pull request #9 from downtownrob/patch-1

Added valid example code setting array properly