edit_post_link

edit_post_link

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('edit_post_link') is found 1 times:

  • /wp-includes/link-template.php line 1542
    	 * @param string $link    Anchor tag for the edit link.
    	 * @param int    $post_id Post ID.
    	 * @param string $text    Anchor text.
    	 */
    	echo $before . apply_filters( 'edit_post_link', $link, $post->ID, $text ) . $after;
    }
    
    /**
     * Retrieves the delete posts link for post.
     *
     * Can be used within the WordPress loop or outside of it, with any post type.
    

See this hook used in plugins: