Make WordPress Core


Ignore:
Timestamp:
01/07/2021 02:15:27 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Miscellaneous docblock corrections and improvements.

See #51800.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php

    r49927 r49942  
    829829
    830830                /**
    831                  * Filters a term item returned from the REST API.
     831                 * Filters the term data for a REST API response.
    832832                 *
    833833                 * The dynamic portion of the hook name, `$this->taxonomy`, refers to the taxonomy slug.
     834                 *
     835                 * Possible filter names include:
     836                 *
     837                 *  - `rest_prepare_category`
     838                 *  - `rest_prepare_post_tag`
    834839                 *
    835840                 * Allows modification of the term data right before it is returned.
Note: See TracChangeset for help on using the changeset viewer.