Support

Account

Home Forums General Issues What does “Load Terms” in Field Group taxonomies do?

Solved

What does “Load Terms” in Field Group taxonomies do?

  • When you add a custom taxonomy to a field group, two options are unselected by default:

    Save Terms. I’ve discovered through trial and error that you must have this selected in order to access a “list of terms” in my platform of choice (GenerateBlocks Pro and GeneratePress Pro).

    Load Terms. Can’t figure out what this one does. Documentation is no help. I’m sure it’s fairly simple, perhaps even obvious. But can you set me straight?

  • Save/Load Terms

    Save terms causes the terms to be added to the post using wp_set_post_terms().

    Load terms means that the values of the field are loaded from the relationship created by the above or when editing a post and adding terms through the WP taxonomy input (like post categories)

    The two settings work together, but there are cases where you might want to use one and not the other.

  • Thanks John. I know this isn’t a critical issue, so will mark this solved.

    I’ve determined that Save Terms is required in order for my block editor to reference the terms. So that will be required for me.

    I’ve tested scenarios, enabling and disabling Load Terms, and haven’t run into any issues. So I’ll leave that disabled in the interest of simplicity.

    If there are any videos, blogs, forum posts, etc., that go into the uses cases, I’d be happy to have those to read some more. I believe I understand the use case that a taxonomy is just an object that’s available as a global resource, and this Save Terms lets you define which scenarios (post type and field group) where it’s appropriate. Still a bit foggy on Load Terms.

    Thanks again!

  • I have honestly never run into a case where I would use one setting and not the other. Either both on or both off. It depends on if the post needs the terms set or if there is some other use for selecting terms. Again, I have never run into the latter.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.