Does your plugin use ajax? I haven’t specifically tried hooking a plugin into the ajax portion of the activity stream to know if the method of loading a plugin from the codex will work in an ajax situation.
You should be using the wp_ajax_ hook to run your AJAX functions and using the ajaxurl parameter in JS as the request URL. IF you do that then the WP environment should be loaded. Basically exactly how all ajax is done in bp-default.
Viewing 8 replies - 1 through 8 (of 8 total)
The topic ‘Call to undefined function bp_activity_update_meta()’ is closed to new replies.