[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

/wp-admin/ -> privacy-policy-guide.php (source)

   1  <?php
   2  /**
   3   * Privacy Policy Guide Screen.
   4   *
   5   * @package WordPress
   6   * @subpackage Administration
   7   */
   8  
   9  /** WordPress Administration Bootstrap */
  10  require_once( dirname( __FILE__ ) . '/admin.php' );
  11  
  12  if ( ! current_user_can( 'manage_privacy_options' ) ) {
  13      wp_die( __( 'Sorry, you are not allowed to manage privacy on this site.' ) );
  14  }
  15  
  16  if ( ! class_exists( 'WP_Privacy_Policy_Content' ) ) {
  17      include_once ( ABSPATH . 'wp-admin/includes/class-wp-privacy-policy-content.php' );
  18  }
  19  
  20  $title = __( 'Privacy Policy Guide' );
  21  
  22  wp_enqueue_script( 'privacy-tools' );
  23  
  24  require_once ( ABSPATH . 'wp-admin/admin-header.php' );
  25  
  26  ?>
  27  <div class="wrap">
  28      <h1><?php echo esc_html( $title ); ?></h1>
  29  
  30      <div class="wp-privacy-policy-guide">
  31          <?php WP_Privacy_Policy_Content::privacy_policy_guide(); ?>
  32      </div>
  33  </div>
  34  <?php
  35  
  36  include ( ABSPATH . 'wp-admin/admin-footer.php' );


Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7