Change title slug or seprator in wordpress

I have added add_theme_support( ‘title-tag’ ); function in theme setup in i my functions.php now it shows title as following
eg.
title-wordpress

I want it to be changed as follows

title | wordpress

Thanks in advance

Read more here: Change title slug or seprator in wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *