Trying to change Title Separator to Mach rest o the site
My rest of the site has title seoarator '|'. But WP foro has '-'.
I tried to change it with this code but failed.
add_filter ('document_title_separator', 'wpse_set_document_title_separator') ;
return ('|') ;
Any help please?
Please note that the title and all other SEO components are being generated by wpForo SEO functions. The function you use belongs to WordPress SEO plugin. wpForo SEO doesn't have hooks for changing separators. We'll add in future releases.