get_edit_post_link

Advertisement

Summery Summery

Filters the post edit link.

Syntax Syntax

apply_filters( 'get_edit_post_link', string $link, int $post_id, string $context )

Parameters Parameters

$link

The edit link.

$post_id

Post ID.

$context

The link context. If set to 'display' then ampersands are encoded.

Source Source

File: wp-includes/link-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Advertisement

Leave a Reply