Title: get_privacy_policy()
Last modified: July 19, 2018

---

# get_privacy_policy()

 *  Resolved [Sander Dijkstra](https://wordpress.org/support/users/sanderonline/)
 * (@sanderonline)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/get_privacy_policy/)
 * Since WordPress has introduced the option to set a page as a privacy policy under
   settings, wouldn’t it be logical to create a function to build the privacy policy
   into the themes?
 * Like for example get_privacy_policy() to get the url of the privacy policy page
   to stick this into the footers of new themes.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 1 month ago](https://wordpress.org/support/topic/get_privacy_policy/#post-10506814)
 * `echo esc_url( get_permalink( get_option( 'wp_page_for_privacy_policy' ) );`
 *  Thread Starter [Sander Dijkstra](https://wordpress.org/support/users/sanderonline/)
 * (@sanderonline)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/get_privacy_policy/#post-10506820)
 * You’re a hero! 🙂
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 1 month ago](https://wordpress.org/support/topic/get_privacy_policy/#post-10506824)
 * I know how to Google. 🙂
 *  Thread Starter [Sander Dijkstra](https://wordpress.org/support/users/sanderonline/)
 * (@sanderonline)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/get_privacy_policy/#post-10506830)
 * Fair enough! Thanks Steve 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘get_privacy_policy()’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 4 replies
 * 2 participants
 * Last reply from: [Sander Dijkstra](https://wordpress.org/support/users/sanderonline/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/get_privacy_policy/#post-10506830)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
