[wp-trac] [WordPress Trac] #40005: Add some customization ability to WP_TITLE

WordPress Trac noreply at wordpress.org
Wed Mar 1 10:45:30 UTC 2017


#40005: Add some customization ability to WP_TITLE
--------------------------+------------------------------
 Reporter:  tazotodua     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => close
 * component:  General => Themes


Comment:

 > `wp_get_document_title()` has some hooks, but not full ability to modify
 full title thought

 That function has the `pre_get_document_title` filter which allows you to
 short-circuit the complete output.

 See also https://make.wordpress.org/core/2014/10/29/title-tags-in-4-1/ and
 https://make.wordpress.org/core/2015/10/20/document-title-in-4-4/

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40005#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list