[wp-hackers] how to do a single-instance widget with the new API

Andrew Nacin wp at andrewnacin.com
Wed Mar 17 17:08:43 UTC 2010

Before getting into multiple widget instances, I'd start with:

define('DOING_AJAX', true);
include(WP_CONTENT_DIR . '/../wp-admin/includes/admin.php');

Is not the right way to do it.

More information about the wp-hackers mailing list