FYI, I was able to get this to work by add a filter to ‘document_title_parts’ rather than ‘wp_title’, like so:
add_filter( 'document_title_parts', 'tweak_custom_title' );
FYI, I was able to get this to work by add a filter to ‘document_title_parts’ rather than ‘wp_title’, like so:
add_filter( 'document_title_parts', 'tweak_custom_title' );