get_privacy_policy_url

Advertisement

Summery Summery

Retrieves the URL to the privacy policy page.

Syntax Syntax

get_privacy_policy_url()

Return Return

(string) The URL to the privacy policy page. Empty string if it doesn't exist.

Source Source

File: wp-includes/link-template.php

		$path = get_template_directory() . '/' . $file;
	}

	/**
	 * Filters the path to a file in the parent theme.
	 *
	 * @since 4.7.0
	 *
	 * @param string $path The file path.
	 * @param string $file The requested file to search for.
	 */
	return apply_filters( 'parent_theme_file_path', $path, $file );
}

/**
 * Retrieves the URL to the privacy policy page.
 *
 * @since 4.9.6
 *

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.6 Introduced.

Advertisement

Leave a Reply