I have this code snippet :
$nieuwetitel = the_title();
echo str_replace('Bijenkorf', 'test', $nieuwetitel);
the_title()
outputs the following: Bijenkorf – Acne Studios Adriana €360
Using the code mentioned above, I would like to change 'Bijenkorf' to 'test', however this does not seem to work.
In the end I would like to create a list of things to exclude from the_title()
(Bijenkorf is one of them).