Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dynamic field in header ? #7

Open
edwood79 opened this issue Aug 10, 2016 · 1 comment
Open

Use dynamic field in header ? #7

edwood79 opened this issue Aug 10, 2016 · 1 comment

Comments

@edwood79
Copy link

Hi Zaus,

It's possible to use dynamic field with your plugin forms-3rd-Party XML post ? I try change the Ip in the header to have the "true" IP of the person who have submitted the form.

@zaus
Copy link
Owner

zaus commented Aug 16, 2016

Not out of the box, unfortunately. Dynamic Fields only works with the post body, while xpost had access to both via the filter ..._service_filter_args. The header handing of xpost does allow shortcodes though, or you can hook to the aforementioned filter to just move a particular field to the header.
I could probably do headers in dynamic fields the same way as xpost (add a field for url-style parsing), but I kind of want to switch out the "proprietary" replacement format with shortcodes if I do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants