Support

Account

Home Forums General Issues get_field('my_field_name', $post->ID) returning string on author.php Reply To: get_field('my_field_name', $post->ID) returning string on author.php

  • Add this line:

    if( !$query->is_main_query() ) return;

    at the beginning of you filter, solved it for me