wp-content/themes/twentyseventeen/inc/template-tags.php:120Displays an accessibility-friendly link to edit a post or page.
$post_idintoptional0 function twentyseventeen_edit_link( $post_id = 0 ) { edit_post_link( sprintf( /* translators: %s: Post title. Only visible to screen readers. */ __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ), get_the_title( $post_id ) ), '<span class="edit-link">', '</span>', $post_id ); }Introduced in Twenty Seventeen 4.1 Added <code>$post_id</code> parameter.. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$post_id added.verified against sourcesrc/wp-content/themes/twentyseventeen/inc/template-tags.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.