wphooks.info - year_link

year_link

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/link-template.php:
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
	}

	/**
	 * Filters the year archive permalink.
	 *
	 * @since 1.5.0
	 *
	 * @param string $yearlink Permalink for the year archive.
	 * @param int    $year     Year for the archive.
	 */
	return apply_filters( 'year_link', $yearlink, $year );
}

/**
 * Retrieves the permalink for the month archives with year.
 *
 * @since 1.0.0
 *
 * @global WP_Rewrite $wp_rewrite
 *