@mushlih
Yoast is dedicated to keeping you and your site up to date with the latest SEO changes. Recently, Google has consistently replaced the pipe ( |?) and tilde ( ~ ) separators in search results. Therefore, Yoast SEO 17.1 removed these choices from our plugins and reverted the separator to the em dash ( —?). You can change the default separator with the steps here: How to change the title separator in Yoast SEO
While we strongly encourage you to select one from the list as they are trusted to work in search results, we can certainly understand that you may prefer to use these or other separators. Yoast SEO includes filters that allow you or your developer to customize many of the features in our plugin, including the separator choices. The filter?wpseo_separator_options can be used to customize your choices. Typically code snippets are added to your theme’s functions.php file. If you’re not familiar with using code snippets, we’d like to refer you to the WordPress documentation on how to use a filter. An example code snippet can be found here:
https://gist.github.com/amboutwe/6ed67899af7eb17fec4ece326d10c4af
Unfortunately, there’s a difference between the support we can offer and the level of programming needed to change (core) features of our plugin. Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code,?we cannot advise you on how to make such changes. And even though we cannot be of any assistance, you’re completely free to change anything in the plugin to better suit your needs.
We highly recommend checking out?Code Poet?or?Codeable.io?for available freelance WordPress developers and?Human Made?for development & consultancy.`