edit_post_link

Advertisement

Summery Summery

Filters the post edit link anchor tag.

Syntax Syntax

apply_filters( 'edit_post_link', string $link, int $post_id, string $text )

Parameters Parameters

$link

Anchor tag for the edit link.

$post_id

Post ID.

$text

Anchor text.

Source Source

File: wp-includes/link-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Advertisement

Leave a Reply