Skip to main content
8 events
when toggle format what by license comment
Sep 24, 2019 at 17:10 vote accept Star Light
Sep 24, 2019 at 16:53 comment added Sally CJ Sorry for the late reply. And yes, basically. But if you're trying to change the document title separator (which defaults to -/hypen), then you should use the document_title_separator hook as in my answer.
Sep 24, 2019 at 16:50 answer added Sally CJ timeline score: 1
Sep 24, 2019 at 8:33 comment added Star Light I see, I can just replace the result of wp_get_document_title() with the pattern ' - ' right. Btw, could you post the answer so I could close the question please?
Sep 24, 2019 at 7:54 history edited Star Light CC BY-SA 4.0
re-format the post
Sep 24, 2019 at 0:55 comment added Sally CJ See wp_get_document_title() which you can use to get the document title, and for changing the title parts, see document_title_separator and document_title_parts.
Sep 22, 2019 at 8:05 review First posts
Sep 22, 2019 at 15:09
Sep 22, 2019 at 8:03 history asked Star Light CC BY-SA 4.0