Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
hello
I know these codes to open the profile in the same tab when I click on the username and member picture.
add_filter("wpdiscuz_author_link_attributes", function ($attrs) {
$attrs["target"] = "";
return $attrs;
});
add_filter('wpdiscuz_avatar_link_attributes', function ($attr) {
if (isset($attr['target'])) {
$attr['target'] = '';
}
return $attr;
});
it used to work. not working now. why?
thank you
We've just checked the code it works fine. Please make sure the codes exists on the active theme functions.php file, then delete all kind of caches and check again.
wpDiscuz also has a built-in caches system Please delete this cache as well. It's located in the Dashboard > wpDiscuz > Settings > General Settings tab.