Changeset 42980 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 04/16/2018 08:52:18 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r42828 r42980 4274 4274 return apply_filters( 'parent_theme_file_path', $path, $file ); 4275 4275 } 4276 4277 /** 4278 * Retrieves the URL to the privacy policy page. 4279 * 4280 * @since 4.9.6 4281 * 4282 * @return string The URL to the privacy policy page. Empty string if it doesn't exist. 4283 */ 4284 function get_privacy_policy_url() { 4285 $policy_page_id = (int) get_option( 'wp_page_for_privacy_policy' ); 4286 4287 if ( empty( $policy_page_id ) ) { 4288 return ''; 4289 } 4290 4291 return get_permalink( $policy_page_id ); 4292 }
Note: See TracChangeset
for help on using the changeset viewer.