Home Forums General Issues make ACF-fields seo friendly


make ACF-fields seo friendly

  • I have a question, I want to make my ACF fields ( textarea wysiwyg ) SEO – friendly .
    Can anyone tell me how I might find all ACF-Fields in a post which have a specific type (textarea or WYSIWYG)?
    And it can thus lead to performance problems when I use this function globally?

  • You can call acf_get_fields() using the field_group key, for example: $fields = get_fields('group_5570c274a5741');

    This will return a multidimensional array. You could then look through the array to find all fields of a specific type.

    I doubt this would cause any performance issues. This information is cached by ACF so that they will not be re-queried.

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

The topic ‘make ACF-fields seo friendly’ is closed to new replies.