@@ -22,12 +22,12 @@ |
||
| 22 | 22 | function setDocumentTitle() |
| 23 | 23 | { |
| 24 | 24 | // prevent yoast overwriting the title |
| 25 | - add_filter('pre_get_document_title', function ($title) { |
|
| 25 | + add_filter('pre_get_document_title', function($title) { |
|
| 26 | 26 | return ''; |
| 27 | 27 | }, 99); |
| 28 | 28 | |
| 29 | 29 | // set custom title and keep the default separator and site name |
| 30 | - add_filter('document_title_parts', function ($title) { |
|
| 30 | + add_filter('document_title_parts', function($title) { |
|
| 31 | 31 | $title['title'] = 'Base Style'; |
| 32 | 32 | return $title; |
| 33 | 33 | }, 99); |