Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter jan831

    (@jan831)

    that’s exactly my point. I was working on a script to save the options of my plug-in. At the moment it’s a self-submitting script, as proposed in the codex, with all the necessary checks and everything. But I wanted to find out how it’s done by WP itself, sending all its forms to this 1 page to get the changes processed.

    Any plugin can save options easily, sending them to wp-admin/options.php with the page_options set to which options are on the page and have to be updated in the database. This is how it’s done by _all_ the options-pages of WP itself (reading, writing, general, …)

    it’s just an opportunity to get this checks done in this one page. Then you should only declare the desired type as an extra parameter in the “add_options”-function. No more worries for plugin-developers to check these values in their own script.

Viewing 1 replies (of 1 total)