Changeset 43003 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 04/25/2018 06:10:00 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r42980 r43003 2017 2017 2018 2018 /** 2019 * Helper function for adding plugin specific information to the postbox shown when editing the privacy policy. 2019 * Helper function for adding content to the postbox shown when editing the privacy policy. 2020 * 2021 * Plugins and themes should suggest text for inclusion in the site's privacy policy. 2022 * The suggested text should contain information about any functionality that affects user privacy, 2023 * and will be shown in the Suggested Privacy Policy Content postbox. 2024 * 2025 * A plugin or theme can use this function multiple times as long as it will help to better present 2026 * the suggested policy content. For example modular plugins such as WooCommerse or Jetpack 2027 * can add or remove suggested content depending on the modules/extensions that are enabled. 2020 2028 * 2021 2029 * Intended for use with the `'admin_init'` action. … … 2023 2031 * @since 4.9.6 2024 2032 * 2025 * @param string $plugin_name The plugin'as name. Will be shown in the privacy policy metabox.2026 * @param string $policy_text The content that should appear in the site's privacypolicy.2033 * @param string $plugin_name The name of the plugin or theme that is suggesting content for the site's privacy policy. 2034 * @param string $policy_text The suggested content for inclusion in the policy. 2027 2035 * For more information see the Plugins Handbook https://developer.wordpress.org/plugins/. 2028 2036 */
Note: See TracChangeset
for help on using the changeset viewer.