Filter hook for checkbox values
-
I try to build a form, where in one of the fields the user can select one of several values provided by the post surrounding the form (e.g. a selection of posts of a custom post type or a special category)
For customizing of admin mails I successfully provided a filter hook in lib_aux.php to insert custom values. Where can I put a filter hook to gain the same result for checkbox/radiobuttons values?
example:
In form setting radiobutton is set to ‘myfieldname{rbotions}’ and the filter does a string replace to set it to ‘myfieldname#option1|value1#option2|value2#option3’
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Filter hook for checkbox values’ is closed to new replies.