{$adjacent}_post_link

{$adjacent}_post_link

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('{$adjacent}_post_link') is found 1 times:

  • /wp-includes/link-template.php line 2388
    	 * @param string         $link     Link permalink format.
    	 * @param WP_Post|string $post     The adjacent post. Empty string if no corresponding post exists.
    	 * @param string         $adjacent Whether the post is previous or next.
    	 */
    	return apply_filters( "{$adjacent}_post_link", $output, $format, $link, $post, $adjacent );
    }
    
    /**
     * Displays the adjacent post link.
     *
     * Can be either next post link or previous.