Changeset 49670 for trunk/src/wp-includes/class-wp-rewrite.php
- Timestamp:
- 11/19/2020 04:13:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-rewrite.php
r49184 r49670 841 841 * @param string $permalink_structure The permalink structure. 842 842 * @param int $ep_mask Optional. Endpoint mask defining what endpoints are added to the structure. 843 * Accepts `EP_NONE`, `EP_PERMALINK`, `EP_ATTACHMENT`, `EP_DATE`, `EP_YEAR`, 844 * `EP_MONTH`, `EP_DAY`, `EP_ROOT`, `EP_COMMENTS`, `EP_SEARCH`, `EP_CATEGORIES`, 845 * `EP_TAGS`, `EP_AUTHORS`, `EP_PAGES`, `EP_ALL_ARCHIVES`, and `EP_ALL`. 843 * Accepts a mask of: 844 * - `EP_ALL` 845 * - `EP_NONE` 846 * - `EP_ALL_ARCHIVES` 847 * - `EP_ATTACHMENT` 848 * - `EP_AUTHORS` 849 * - `EP_CATEGORIES` 850 * - `EP_COMMENTS` 851 * - `EP_DATE` 852 * - `EP_DAY` 853 * - `EP_MONTH` 854 * - `EP_PAGES` 855 * - `EP_PERMALINK` 856 * - `EP_ROOT` 857 * - `EP_SEARCH` 858 * - `EP_TAGS` 859 * - `EP_YEAR` 846 860 * Default `EP_NONE`. 847 861 * @param bool $paged Optional. Whether archive pagination rules should be added for the structure. … … 1683 1697 * @param string $name Name of the endpoint. 1684 1698 * @param int $places Endpoint mask describing the places the endpoint should be added. 1699 * Accepts a mask of: 1700 * - `EP_ALL` 1701 * - `EP_NONE` 1702 * - `EP_ALL_ARCHIVES` 1703 * - `EP_ATTACHMENT` 1704 * - `EP_AUTHORS` 1705 * - `EP_CATEGORIES` 1706 * - `EP_COMMENTS` 1707 * - `EP_DATE` 1708 * - `EP_DAY` 1709 * - `EP_MONTH` 1710 * - `EP_PAGES` 1711 * - `EP_PERMALINK` 1712 * - `EP_ROOT` 1713 * - `EP_SEARCH` 1714 * - `EP_TAGS` 1715 * - `EP_YEAR` 1685 1716 * @param string|bool $query_var Optional. Name of the corresponding query variable. Pass `false` to 1686 1717 * skip registering a query_var for this endpoint. Defaults to the … … 1726 1757 * Default true. 1727 1758 * @type int $ep_mask The endpoint mask defining which endpoints are added to the structure. 1728 * Accepts `EP_NONE`, `EP_PERMALINK`, `EP_ATTACHMENT`, `EP_DATE`, `EP_YEAR`, 1729 * `EP_MONTH`, `EP_DAY`, `EP_ROOT`, `EP_COMMENTS`, `EP_SEARCH`, `EP_CATEGORIES`, 1730 * `EP_TAGS`, `EP_AUTHORS`, `EP_PAGES`, `EP_ALL_ARCHIVES`, and `EP_ALL`. 1759 * Accepts a mask of: 1760 * - `EP_ALL` 1761 * - `EP_NONE` 1762 * - `EP_ALL_ARCHIVES` 1763 * - `EP_ATTACHMENT` 1764 * - `EP_AUTHORS` 1765 * - `EP_CATEGORIES` 1766 * - `EP_COMMENTS` 1767 * - `EP_DATE` 1768 * - `EP_DAY` 1769 * - `EP_MONTH` 1770 * - `EP_PAGES` 1771 * - `EP_PERMALINK` 1772 * - `EP_ROOT` 1773 * - `EP_SEARCH` 1774 * - `EP_TAGS` 1775 * - `EP_YEAR` 1731 1776 * Default `EP_NONE`. 1732 1777 * @type bool $paged Whether archive pagination rules should be added for the structure.
Note: See TracChangeset
for help on using the changeset viewer.