Im using APA style in Biblatex and I want to know how I could remove the parantheses around year. I found code for this with authoryear, but nothing for APA. This is my code:
\usepackage[backend=biber,style=apa,natbib=true]{biblatex}
\DeclareLanguageMapping{english}{english-apa} %get year
\usepackage{xpatch}
\addbibresource{example.bib}
...begin document...
\printbibliography[heading=bibintoc]
\xpatchbibmacro{date+extradate}{%
\printtext[parens]%
}{%
\setunit*{\addcomma\space}%
\printtext%
}{}{}
\printbibliography
\enddocument
PS: its for the thesis so I only added what I think is the relevant parts. Let me know if more is needed!

apastyle isn't really designed to be modified. Is there a reason why you're using it as opposed toauthoryear(perhaps with some minor modifications)? You might want to check out thebiblatex-extstyles which allow easier modification of the basic styles. – Alan Munn Aug 07 '19 at 16:40