I am a new comer to Wordpress plug ins, and editing another person's to include functionality. I have to retrieve the tags for the publish.

The get post function has already been being used within the wordpress plugin and returns category information. Regrettably there is nothing came back for tags.

The get the tags function seems to become most suitable however it only runs within the Wordpress loop. My understanding is the fact that plug ins run outdoors the loop.

I've not found other things within the API reference.

How can you really retrieve the tags for any publish?

Do this

get_the_tags($post->ID)

http://wordpress.org/support/topic/191245

A few solutions behind that link.