Getting meta programmatically

#384749
  • Resolved Dovid Levine
    Rank Math free

    Hi again,

    I am making good progress on my free WPGraphQL for Rank Math plugin, but I’m struggling a bit to figure out all the various meta keys used to store a post/term/user/etc data. Is there a list of the keys in use, or should I just keep searching the codebase for ...::get_meta(?

    Similarly, for items not stored in the meta (e.g. the generated head), what is the best way to fetch them programmatically for a given post/page/term/user/etc (i.e. not when set as a global).

    Thanks!

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    We don’t have a list of all the meta keys used within our plugin available for external developers.

    Regarding the generated head you can see the methods we use to retrieve that in our Headless support in the file seo-by-rank-math/includes/rest/class-headless.php

    Hope this helps clarify your doubts.

    Don’t hesitate to get in touch if you have any other questions.​​

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.