Codex

Function Reference/get post format link

Contents

Description

Returns a permalink for a post format archive. This can be used anywhere if a post format is provided.

Usage

<?php $format_link get_post_format_link($format); ?>

Parameters

$format
(string) (Required) name of the post format.
Default: none


Changelog

Source File

get_post_format_link() is located in wp-includes/post.php.

Post Formats: set_post_format(), get_post_format(), has_post_format()

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