Return Taxonomy Terms for Custom Fields

Under the SSO > Advanced > Custom Meta tab, you can specify custom field names (aka post/user/term meta) that WPSSO Core will use to retrieve values for some custom options in the Social and Search Optimization metabox. If those values are term names instead of post meta, you can use the WordPress ‘get_post_metadata’ filter to provide those names to WPSSO Core as post meta.

As an example, we can enter “_productbrand” for the Product Brand Custom Field value, and use the following filter to provide term names for that custom field (aka post meta).