Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: bp_ajax_querystring filter not runing

@henrywright

Moderator

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;
}
Skip to toolbar