Make WordPress Core

Changeset 35298


Ignore:
Timestamp:
10/20/2015 06:13:13 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Update the hook doc for the pre_get_document_title filter to explain what value is filterable rather than why the value is filterable :-)

The hook was introduced in [35294].

See #31078. See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r35294 r35298  
    794794
    795795    /**
    796      * Allows to short-circuit the title generation.
     796     * Filter the document title before it is generated.
     797     *
     798     * Passing a non-empty value will short-circuit wp_get_document_title(),
     799     * returning that value instead.
    797800     *
    798801     * @since 4.4.0
Note: See TracChangeset for help on using the changeset viewer.