Changeset 43101 for branches/4.9/src/wp-admin/includes/admin-filters.php
- Timestamp:
- 05/02/2018 02:58:12 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/includes/admin-filters.php
r43092 r43101 136 136 add_filter( 'wp_privacy_personal_data_export_page', 'wp_privacy_process_personal_data_export_page', 10, 6 ); 137 137 add_action( 'wp_privacy_personal_data_export_file', 'wp_privacy_generate_personal_data_export_file', 10 ); 138 139 // Privacy policy text changes check. 140 add_action( 'admin_init', array( 'WP_Privacy_Policy_Content', 'text_change_check' ), 20 ); 141 142 // Show a "postbox" with the text suggestions for a privacy policy. 143 add_action( 'edit_form_after_title', array( 'WP_Privacy_Policy_Content', 'privacy_policy_postbox' ) ); 144 145 // Add the suggested policy text from WordPress. 146 add_action( 'admin_init', array( 'WP_Privacy_Policy_Content', 'add_suggested_content' ), 15 ); 147 148 // Stop checking for text changes after the policy page is updated. 149 add_action( 'post_updated', array( 'WP_Privacy_Policy_Content', '_policy_page_updated' ) ); 150
Note: See TracChangeset
for help on using the changeset viewer.