get_edit_post_link

Sponsored Link

投稿のための投稿編集リンクを取得します。

WordPressのループまたは外で使用することができます。ページ、投稿、添付ファイル、およびリビジョンで使用できます。

Sponsored Link

Retrieve edit posts link for post.

Can be used within the WordPress loop or outside of it. Can be used with pages, posts, attachments, and revisions.

get_edit_post_linkのファンクションタグ使用方法

<?php get_edit_post_link( $id, $context ); ?> 

get_edit_post_linkのパラメーター

id

(integer) (optional) 投稿IDです。
デフォルト:なし

(integer) (optional) The post ID
Default: None

context

(string) (optional) デフォルトでは表示します。 ‘&’を記述する方法、デフォルトは’&’です。
デフォルト:表示

(string) (optional) default to display. How to write the ‘&’, defaults to ‘&’.
Default: display

変更ログ

Since: 2.3.0

ソースファイル

get_edit_post_link()は、wp-includes/link-template.php内に位置しています。

get_edit_post_link() is located in wp-includes/link-template.php

関連ファンクションタグ

edit_post_link(), edit_comment_link(), edit_tag_link(), edit_bookmark_link()

Sponsored Link