WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get category link

This page was moved to https://developer.wordpress.org/reference/functions/get_category_link/ except for the above languages.

<a href="<?php echo esc_url( $category_link ); ?>" title="Category Name">Category Name</a>

Notes

Change Log

Since: 1.0.0

Source File

get_category_link() is located in wp-includes/category-template.php.

Related

See also index of Function Reference and index of Template Tags.