Solved. Moodle passes the user details (name and id) and also the resource link. The resource link title is the course fullname followed by : followed by shortname. This can be filtered and mapped to different sites as desired.
In effect you can get SSO from Moodle to Wordpress multi-site. This is very powerful as it combines 2 very powerful software packages with a SSO (Moodle centric).
My scenario is Moodle as the main tool for school management as well as LMS. SSO into Wordpress sites for payments through woocommerce and also for intranet outside of Moodle.
Thanks to Simon Booth for his excellent software
http://projects.oscelot.org/gf/download/frsrelease/959/6037/wordpress-lti-1.2.00.zip
The modifications are very easy( http://projects.oscelot.org/gf/project/wordpress-lti/forum/?action=ForumBrowse&forum_id=2167&_forum_action=ForumMessageBrowse&thread_id=863)