WordPress.org

Make WordPress Core

Ticket #9571: 9571.4.diff

File 9571.4.diff, 781 bytes (added by MikeHansenMe, 4 years ago)

Updated the docs

  • src/wp-includes/link-template.php

     
    15641564        $order = $previous ? 'DESC' : 'ASC';
    15651565
    15661566        /**
     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        /**
    15671579         * Filter the JOIN clause in the SQL for an adjacent post query.
    15681580         *
    15691581         * The dynamic portion of the hook name, `$adjacent`, refers to the type