Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,910
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,183
-
Inside your plugin try adding:
add_action( 'init', function() {
add_filter( 'bp_ajax_querystring', 'your_function', 10, 2 );
}
Of course, also define your function:
function your_function( $ajax_querystring, $object ) {
// Code here.
return $ajax_querystring;
}