std is not working with settings pages fields

Support MB Settings Page std is not working with settings pages fieldsResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38122
    Alaan TVAlaan TV
    Participant

    When I'm using the std with the Settings Page fields to set a default value for the field, it seems not to work. I'm always getting a blank field.

    I tested this with the text and number field types.

    #38124
    Long NguyenLong Nguyen
    Moderator

    Hi,

    If the field group with custom fields has been saved value to the database before, the setting std will not work. You can create a new field group and a custom field then re-check this issue.

    Please read more about the default value on this documentation https://docs.metabox.io/creating-fields-with-code/#why-does-not-my-default-value-work

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.