Support

Account

Home Forums General Issues Default values by option page on first load Reply To: Default values by option page on first load

  • @hube2 thanks for your reply. With both methods, then I would have to do this for each field? This is very complex with over 50 fields. 🙁

    Is there a way to make a virtual click by the option page update button? 🙂 Can I use a acf function for this?

    I can not understand this exactly.

    $value = get_field('my_options', 'option');

    Is one of my option fields with a default value.

    $value = 'my-default-value';

    But what is ‘my-default-value’ or the content of this? The value comes from the field. And I look for this directly after the theme setup.