Support

Account

Home Forums Backend Issues (wp-admin) Dynamically Load Select Choices with Functions Reply To: Dynamically Load Select Choices with Functions

  • Hi @refreshingdesign

    Your code is showing in incorrect use of the $field variable.

    This variable is not just for choices, it is for many pther things such as name / label etc.

    You need to be modifying the $field[‘choices’], not $field.

    Please let me know if this was not clear in the docs.

    Thanks
    E