Function:

mp_core_wp_title()

Purpose:

Filters wp_title to print a neat title tag based on what is being viewed.

Overview:

This filter function is hooked to the ‘wp_title’ WordPress hook which handles the output of the title tag in the header. This makes the title output the name of the site and the name of the page.

Usage:
This function is automatically hooked and activated by the MP Core plugin when the Theme Specific Scripts have been activated.

Parameters:

String $title – The title of the site/page

String #sep – What to use to separate the title of the site from the title of the page.

Returns:

Returns the new ‘title’ of the site/page.