Make WordPress Core

Changeset 36091


Ignore:
Timestamp:
12/26/2015 12:37:14 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Docs: Clarify that get_post_types() accepts 'not' as its $operator parameter.

Props barryceelen.
Fixes #35225.

File:
1 edited

Legend:

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

    r36069 r36091  
    865865 * @param string       $operator Optional. The logical operation to perform. 'or' means only one
    866866 *                               element from the array needs to match; 'and' means all elements
    867  *                               must match. Accepts 'or' or 'and'. Default 'and'.
     867 *                               must match; 'not' means no elements may match. Default 'and'.
    868868 * @return array A list of post type names or objects.
    869869 */
Note: See TracChangeset for help on using the changeset viewer.