Support » Plugin: SEO Writing Assistant SEMrush Custom Fields » How do i actually use this with ACF?

  • Resolved spunkster


    The documentation seems non-existent.

    i read this but am unsure what i’m supposed to do with it:

    apply_filters( ‘semrush_seo_writing_assistant_post_types’, array $post_types )

    assuming this goes in my functions.php… but do i just put it in like that? how is this going to pick up my acf fields? if i need to put more information into it (ie. $post_types?) where would i find that information…. a couple of examples would go a long way to helping people like me who aren’t developers.

Viewing 1 replies (of 1 total)
  • Plugin Author Enrico Sorcinelli


    Hi spunkster,

    sorry for the delay of the response.
    I just updated the plugin (1.1.0) adding ACF support.
    After having updated the plugin, the only thing you have to do is to add a line like the following:


    in your wp-config.php file in order to automatically activate the check also for custom field without having to write additional JavaScript code.

    Then on your ACF group settings, foreach text/textarea/select/radio and checkbox field you will able to add it for SEMrush check (see the plugin screenshot).

    The filter you mentioned is only needed if you have posts with post_type other than ‘post’, ‘page’ or ‘product’.


    – Enrico

Viewing 1 replies (of 1 total)
  • The topic ‘How do i actually use this with ACF?’ is closed to new replies.