WordPress Expert Question: What if there is no hook for your plugin?
As this person is new to WordPress and might not know, I was wondering if there is a way to do this without hacking the core code.
While searching for a solution, I found the following online. It seems this person was able to do it for his situation, but I don't know if it would work in all situations.
It is not possible to add the enctype into the form declaration via WordPress as there is no hook or action to do this. So the only alternative (rather than hack the source code) is to add the attribute using JavaScript, and as we have JQuery already loaded we can utilise that. |
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."