Hooks Help

Where do I add the hook for this? It is three functions deep.
tainacan_the_metadata > tainacan_get_the_metadata > >get_metadata_as_html.
I would like to pull the session data and the link associated, like this:
image
and put it here:

The function in question:
image

I would like to pass

array(
							'metadata'	=> 'session'
};

to it. I guess I am having trouble finding hooks.

Hi @eeszarek, maybe this one?

Could you explain in more details what you are trying to achieve? Maybe there is a way vie theme but there are several filters in the _as_html functions. In this case, the $item_metadatum object should contain information from the current item, the metadata and its value.

1 Like