Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Links in new topic

@oaz

Participant

here is all the code I have (line 614 to 626) :

function custom_bbp_has_replies($args) {
$args[‘order’] = ‘DESC’; // ‘ASC’ (Ascending, Default), ‘DESC’ (Descending)

return $args;
}
add_filter(‘bbp_before_has_replies_parse_args’, ‘custom_bbp_has_replies’ );

function custom_bbp_show_lead_topic( $show_lead ) {
$show_lead[] = ‘true’;

return $show_lead;
}
add_filter(‘bbp_show_lead_topic’, ‘custom_bbp_show_lead_topic’ );

The errors :

Notice: Use of undefined constant ‘custom_bbp_has_replies’ – assumed ‘‘custom_bbp_has_replies’’ in /home/acania/public_html/demo/wp-content/themes/woffice-child-theme/functions.php on line 619

Notice: Use of undefined constant ‘bbp_show_lead_topic’ – assumed ‘‘bbp_show_lead_topic’’ in /home/acania/public_html/demo/wp-content/themes/woffice-child-theme/functions.php on line 626

Notice: Use of undefined constant ‘custom_bbp_show_lead_topic’ – assumed ‘‘custom_bbp_show_lead_topic’’ in /home/acania/public_html/demo/wp-content/themes/woffice-child-theme/functions.php on line 626

In fact answers are not inverted anymore…

Skip to toolbar