Support

Account

Home Forums Front-end Issues Insert field at hook-position using function.php Reply To: Insert field at hook-position using function.php

  • Hi there,

    Thanks for sharing these findings.

    It is likely that you are calling the get_field() function before ACF is loaded. You can workaround this by making use of get_post_meta() native function to achieve the same result.
    https://developer.wordpress.org/reference/functions/get_post_meta/

    I hope this info helps.