Changeset 42828 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 03/11/2018 05:31:04 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r42736 r42828 1683 1683 $adjacent = $previous ? 'previous' : 'next'; 1684 1684 1685 /** 1686 * Filters the IDs of terms excluded from adjacent post queries. 1687 * 1688 * The dynamic portion of the hook name, `$adjacent`, refers to the type 1689 * of adjacency, 'next' or 'previous'. 1690 * 1691 * @since 4.4.0 1692 * 1693 * @param string $excluded_terms Array of excluded term IDs. 1694 */ 1695 $excluded_terms = apply_filters( "get_{$adjacent}_post_excluded_terms", $excluded_terms ); 1696 1685 1697 if ( $in_same_term || ! empty( $excluded_terms ) ) { 1686 1698 if ( ! empty( $excluded_terms ) && ! is_array( $excluded_terms ) ) { … … 1715 1727 $where .= ' AND tt.term_id IN (' . implode( ',', $term_array ) . ')'; 1716 1728 } 1717 1718 /**1719 * Filters the IDs of terms excluded from adjacent post queries.1720 *1721 * The dynamic portion of the hook name, `$adjacent`, refers to the type1722 * of adjacency, 'next' or 'previous'.1723 *1724 * @since 4.4.01725 *1726 * @param string $excluded_terms Array of excluded term IDs.1727 */1728 $excluded_terms = apply_filters( "get_{$adjacent}_post_excluded_terms", $excluded_terms );1729 1729 1730 1730 if ( ! empty( $excluded_terms ) ) {
Note: See TracChangeset
for help on using the changeset viewer.