Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 WPGraphQL 上获取自定义字段数据
我添加了一个自定义字段来上传类别的特色图片。现在我想在 WPGraphQL Query 上获得这个值。
试试这个获取类别的所有值。
get_option( "taxonomy_".$term_id );