• Resolved Bert O

    (@websitehelperberto)


    What is the user meta key for ‘Twitter profile name’? I need to pull this in dynamically.

Viewing 1 replies (of 1 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    You can find the user-meta stored by TSF here:
    https://tsf.fyi/kb/article/108#tsf-user
    By default, it’s 'autodescription-user-settings'.

    TSF stores the user-meta as an array, so you cannot directly access it: you need to unpack the array first. That array’s index-key you’re looking for is twitter_page.

    Two functions that do this for you exist:

    the_seo_framework()->get_current_author_option( 'twitter_page' ); // get for current post author
    the_seo_framework()->get_author_option( 42, 'twitter_page' ); // Get for author ID 42

    I hope this helps 🙂 Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘What is the user meta key for twitter’ is closed to new replies.