Support

Account

Home Forums Add-ons Options Page using options page fields in functions.php Reply To: using options page fields in functions.php

  • Hi @thesrpr

    Currently, ACF will work only AFTER the init action. Before this (when the functions.php file is run), the get_field function will not work.

    In the next version of ACF, this will be fixed! Until then, you need to move your logic into a function which is run on or after the init action.

    Thanks
    E