try this in function but no luck >,<
// define the bbp_after_has_replies_parse_args callback
function filter_bbp_after_has_replies_parse_args( $bbp_has_replies_query ) {
// make filter magic happen here...
$bbp_has_replies_query['order'] = 'date';
return $bbp_has_replies_query;
};
// add the filter
add_filter( 'bbp_after_has_replies_parse_args', 'filter_bbp_after_has_replies_parse_args', 10, 1 );
-
This reply was modified 6 years, 10 months ago by markgar.