| 1 | <?php |
| 2 | /** |
| 3 | * Privacy Policy Screen. |
| 4 | * |
| 5 | * @package WordPress |
| 6 | * @subpackage Administration |
| 7 | */ |
| 8 | |
| 9 | /** WordPress Administration Bootstrap */ |
| 10 | require_once( dirname( __FILE__ ) . '/admin.php' ); |
| 11 | |
| 12 | $title = __('Privacy Policy'); |
| 13 | |
| 14 | get_current_screen()->add_help_tab( array( |
| 15 | 'id' => 'privacypolicy', |
| 16 | 'title' => __('Privacy Policy'), |
| 17 | 'content' => '<p>' . __('This page will show all of the information gathered by WordPress and/or compatible plugins to assist you on making your Privacy Policy page.' ) . '</p>', |
| 18 | ) ); |
| 19 | |
| 20 | get_current_screen()->set_help_sidebar( |
| 21 | '<p><strong>' . __('For more information:') . '</strong></p>' . |
| 22 | '<p>' . __('<a href="#">Documentation on GDPR</a>') . '</p>' |
| 23 | ); |
| 24 | |
| 25 | require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 26 | |
| 27 | ?> |
| 28 | <div class="wrap"> |
| 29 | <h1><?php echo esc_html( $title ); ?></h1> |
| 30 | </div> |
| 31 | <?php |
| 32 | include( ABSPATH . 'wp-admin/admin-footer.php' ); |