0

I'm trying to get the data from meta tag using node_load and for some reason when is using the default field, which is Token it gives me this ugly array.

ugly array

Instead of title and description that contain the strings.

Do you know how I can translate the Token into the actual text?

1

I was running a very out-dated Metatag version. Once I update to the latest version I was able to run metatags_get_entity_metatags and get all the meta tag the way it supposes too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.