[wp-hackers] Help understanding the Custom Fields editor
casey.bisson at gmail.com
Mon Oct 6 19:51:34 GMT 2008
My jQuery jujitsu my be too weak to understand the answer, but I'm
trying to create something that works very similarly to the existing
Custom Fields feature in the post editor. That is, I want ajaxy add,
update, delete of the fields for data that's part of a plugin I'm
The easiest way, it would seem would be to dissect how the Custom
Fields feature works and leverage as much of that code as possible.
Thing is: I can't figure out how it works.
I can see POST requests going to admin-ajax.php with action=add-meta,
but I can't see how those requests are being generated (in fact, grep
can't find many instances of "add-meta" anywhere in the source). Nor
do I see anything obviously attaching an action to the submit button
for that form.
This contrasts with the jQuery bits related to the permalink editor,
which I can figure out.
Can anybody offer any pointers?
More information about the wp-hackers