Support » Plugin: Admin Page Framework » programmatically alter field values

  • Resolved James Revillini

    (@jrevillini)



    I’d like to be able to set a field value via PHP.

    For example, I have a form where the user uploads a text file. Upon submitting the form, I do some processing on the text file, converting it into WP objects and such, and then I delete the uploaded file and I want to remove the path info from the upload field.

    You have getOption to get the stored data, but no publicly exposed setOption.

    https://wordpress.org/plugins/admin-page-framework/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘programmatically alter field values’ is closed to new replies.