Ticket #9571: 9571.4.diff
File 9571.4.diff, 781 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/link-template.php
1564 1564 $order = $previous ? 'DESC' : 'ASC'; 1565 1565 1566 1566 /** 1567 * Filter the excluded term ids 1568 * 1569 * The dynamic portion of the hook name, `$adjacent`, refers to the type 1570 * of adjacency, 'next' or 'previous'. 1571 * 1572 * @since 4.4.0 1573 * 1574 * @param string $excluded_terms Array of excluded term IDs. 1575 */ 1576 $excluded_terms = apply_filters( "get_{$adjacent}_post_excluded", $excluded_terms ); 1577 1578 /** 1567 1579 * Filter the JOIN clause in the SQL for an adjacent post query. 1568 1580 * 1569 1581 * The dynamic portion of the hook name, `$adjacent`, refers to the type