What is the difference between get_page_link and get_permalink functions?
When i explored the WordPress core for this answer i found that get_permalink() function internally calls get_page_link() function for getting permalink of page and it calls get_post_permalink() function to get permalink of post. Therefore either you use get_permalink() function or get_page_link() function, you will get same result. The difference between these two is get_page_link() function … Read more