没有什么
get_permalink() 是原始函数,用于获取帖子的永久链接URL。
get_the_permalink() 是在3.9中引入的,因此permalink函数与其他与post相关的模板标记一致,例如get_the_title(), get_the_content(), 都以get_the_.
用于响应这些函数结果的等效函数相同,但没有get_, 例如the_title(), 但在相当于get_permalink() 不是permalink(), 它是the_permalink(), 因此,缺乏get_the_permalink() 是不一致的。
使用函数仅调用get_permalink(), 由于向后兼容的原因,它仍然存在,因此结果将完全相同。