Changeset 49672 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 11/19/2020 06:22:02 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r49622 r49672 1667 1667 * 1668 1668 * @param bool $in_same_term Optional. Whether post should be in a same taxonomy term. Default false. 1669 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.1669 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty. 1670 1670 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. 1671 1671 * @return null|string|WP_Post Post object if successful. Null if global $post is not set. Empty string if no … … 1682 1682 * 1683 1683 * @param bool $in_same_term Optional. Whether post should be in a same taxonomy term. Default false. 1684 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.1684 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty. 1685 1685 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. 1686 1686 * @return null|string|WP_Post Post object if successful. Null if global $post is not set. Empty string if no … … 1701 1701 * 1702 1702 * @param bool $in_same_term Optional. Whether post should be in a same taxonomy term. Default false. 1703 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.1703 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty. 1704 1704 * @param bool $previous Optional. Whether to retrieve previous post. Default true 1705 1705 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. … … 1895 1895 * @param string $title Optional. Link title format. Default '%title'. 1896 1896 * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. 1897 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.1897 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty. 1898 1898 * @param bool $previous Optional. Whether to display link to previous or next post. Default true. 1899 1899 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. … … 1954 1954 * @param string $title Optional. Link title format. Default '%title'. 1955 1955 * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. 1956 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.1956 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty. 1957 1957 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. 1958 1958 */ … … 1989 1989 * @param string $title Optional. Link title format. Default '%title'. 1990 1990 * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. 1991 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.1991 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty. 1992 1992 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. 1993 1993 */ … … 2005 2005 * @param string $title Optional. Link title format. Default '%title'. 2006 2006 * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. 2007 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default true.2007 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default true. 2008 2008 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. 2009 2009 */ … … 2022 2022 * @param bool $in_same_term Optional. Whether returned post should be in a same taxonomy term. 2023 2023 * Default false. 2024 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs.2024 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. 2025 2025 * Default empty. 2026 2026 * @param bool $start Optional. Whether to retrieve first or last post. Default true … … 2086 2086 * @param string $link Optional. Link permalink format. Default '%title'. 2087 2087 * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. 2088 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.2088 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty. 2089 2089 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. 2090 2090 * @return string The link URL of the previous post in relation to the current post. … … 2104 2104 * @param string $link Optional. Link permalink format. Default '%title'. 2105 2105 * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. 2106 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.2106 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty. 2107 2107 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. 2108 2108 */ … … 2119 2119 * @param string $link Optional. Link permalink format. Default '%title'. 2120 2120 * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. 2121 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.2121 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty. 2122 2122 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. 2123 2123 * @return string The link URL of the next post in relation to the current post. … … 2137 2137 * @param string $link Optional. Link permalink format. Default '%title' 2138 2138 * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. 2139 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty.2139 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty. 2140 2140 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. 2141 2141 */ … … 2154 2154 * @param string $link Link permalink format. 2155 2155 * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. 2156 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded terms IDs. Default empty.2156 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded terms IDs. Default empty. 2157 2157 * @param bool $previous Optional. Whether to display link to previous or next post. Default true. 2158 2158 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. … … 2219 2219 * @param string $link Link permalink format. 2220 2220 * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. 2221 * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded category IDs. Default empty.2221 * @param int[]|string $excluded_terms Optional. Array or comma-separated list of excluded category IDs. Default empty. 2222 2222 * @param bool $previous Optional. Whether to display link to previous or next post. Default true. 2223 2223 * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. … … 2568 2568 * @type string $next_text Anchor text to display in the next post link. Default '%title'. 2569 2569 * @type bool $in_same_term Whether link should be in a same taxonomy term. Default false. 2570 * @type array|string $excluded_terms Array or comma-separated list of excluded term IDs. Default empty.2570 * @type int[]|string $excluded_terms Array or comma-separated list of excluded term IDs. Default empty. 2571 2571 * @type string $taxonomy Taxonomy, if `$in_same_term` is true. Default 'category'. 2572 2572 * @type string $screen_reader_text Screen reader text for the nav element. Default 'Post navigation'.
Note: See TracChangeset
for help on using the changeset viewer.