This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Retrieves the current permalink. | |
* Filters-out unregistered query variables through WordPress core get_query_var() function. | |
* Make it safe to use in database queries, redirects and HTTP requests through WordPress core esc_url_raw() function. | |
* | |
* @param String $args['relative'] (true|false), Relative path if true. Default to false. | |
* | |
* @return String Relative or absolute path to the current permalink. |