So I'm working with ThemeTrust's "reveal" theme, and there is an ajaxed in chunk-of-content that I'm really trying to change (grab custom meta fields (images) + insert into a slideshow). As far as I can tell the following piece of code grabs the content from the normal tinymce box and drops it in the #projectHolder
div - but I can't figure out how to piggyback my php code on this request.
function loadProject(projectSlug) {
// Scroll to the top of the projects
jQuery("#projectHolder").load(
MyAjax.ajaxurl,
{
action : 'myajax-submit',
slug : projectSlug
},
function( response ) {
}
);
}
I suppose my answer lies somewhere in the 1500+ lines of wp-admin/admin-ajax.php
but that seems awful daunting...