[wp-hackers] Help understanding the Custom Fields editor

Jennifer Hodgdon yahgrp at poplarware.com
Tue Oct 7 15:19:15 GMT 2008


Did you get an answer on this or figure it out? If not, a quick 
pointer is that the AJAX related to Custom Fields is set up in the file:
    wp-admin/js/custom-fields.js

The wpList functionality (which generically handles making AJAX/JQuery 
updates to lists of items that are displayed in HTML tables) is 
defined in
    wp-includes/js/wp-lists.js

Hope that helps...
     Jennifer

Casey Bisson wrote:
> 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 writing.
> 
> 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.


-- 
Jennifer Hodgdon * Poplar ProductivityWare
www.poplarware.com

Drupal/WordPress Sites, Themes, Modules/Plugins
Custom Web Programming, Web Databases
PHP, Perl, MySQL, JavaScript, XML, AJAX



More information about the wp-hackers mailing list