[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/includes/ -> admin.php (source)

   1  <?php
   2  /**
   3   * Core Administration API
   4   *
   5   * @package WordPress
   6   * @subpackage Administration
   7   * @since 2.3.0
   8   */
   9  
  10  if ( ! defined( 'WP_ADMIN' ) ) {
  11      /*
  12       * This file is being included from a file other than wp-admin/admin.php, so
  13       * some setup was skipped. Make sure the admin message catalog is loaded since
  14       * load_default_textdomain() will not have done so in this context.
  15       */
  16      $admin_locale = get_locale();
  17      load_textdomain( 'default', WP_LANG_DIR . '/admin-' . $admin_locale . '.mo', $admin_locale );
  18      unset( $admin_locale );
  19  }
  20  
  21  /** WordPress Administration Hooks */
  22  require_once  ABSPATH . 'wp-admin/includes/admin-filters.php';
  23  
  24  /** WordPress Bookmark Administration API */
  25  require_once  ABSPATH . 'wp-admin/includes/bookmark.php';
  26  
  27  /** WordPress Comment Administration API */
  28  require_once  ABSPATH . 'wp-admin/includes/comment.php';
  29  
  30  /** WordPress Administration File API */
  31  require_once  ABSPATH . 'wp-admin/includes/file.php';
  32  
  33  /** WordPress Image Administration API */
  34  require_once  ABSPATH . 'wp-admin/includes/image.php';
  35  
  36  /** WordPress Media Administration API */
  37  require_once  ABSPATH . 'wp-admin/includes/media.php';
  38  
  39  /** WordPress Import Administration API */
  40  require_once  ABSPATH . 'wp-admin/includes/import.php';
  41  
  42  /** WordPress Misc Administration API */
  43  require_once  ABSPATH . 'wp-admin/includes/misc.php';
  44  
  45  /** WordPress Misc Administration API */
  46  require_once  ABSPATH . 'wp-admin/includes/class-wp-privacy-policy-content.php';
  47  
  48  /** WordPress Options Administration API */
  49  require_once  ABSPATH . 'wp-admin/includes/options.php';
  50  
  51  /** WordPress Plugin Administration API */
  52  require_once  ABSPATH . 'wp-admin/includes/plugin.php';
  53  
  54  /** WordPress Post Administration API */
  55  require_once  ABSPATH . 'wp-admin/includes/post.php';
  56  
  57  /** WordPress Administration Screen API */
  58  require_once  ABSPATH . 'wp-admin/includes/class-wp-screen.php';
  59  require_once  ABSPATH . 'wp-admin/includes/screen.php';
  60  
  61  /** WordPress Taxonomy Administration API */
  62  require_once  ABSPATH . 'wp-admin/includes/taxonomy.php';
  63  
  64  /** WordPress Template Administration API */
  65  require_once  ABSPATH . 'wp-admin/includes/template.php';
  66  
  67  /** WordPress List Table Administration API and base class */
  68  require_once  ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
  69  require_once  ABSPATH . 'wp-admin/includes/class-wp-list-table-compat.php';
  70  require_once  ABSPATH . 'wp-admin/includes/list-table.php';
  71  
  72  /** WordPress Theme Administration API */
  73  require_once  ABSPATH . 'wp-admin/includes/theme.php';
  74  
  75  /** WordPress Privacy Functions */
  76  require_once  ABSPATH . 'wp-admin/includes/privacy-tools.php';
  77  
  78  /** WordPress Privacy List Table classes. */
  79  // Previously in wp-admin/includes/user.php. Need to be loaded for backward compatibility.
  80  require_once  ABSPATH . 'wp-admin/includes/class-wp-privacy-requests-table.php';
  81  require_once  ABSPATH . 'wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php';
  82  require_once  ABSPATH . 'wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php';
  83  
  84  /** WordPress User Administration API */
  85  require_once  ABSPATH . 'wp-admin/includes/user.php';
  86  
  87  /** WordPress Site Icon API */
  88  require_once  ABSPATH . 'wp-admin/includes/class-wp-site-icon.php';
  89  
  90  /** WordPress Update Administration API */
  91  require_once  ABSPATH . 'wp-admin/includes/update.php';
  92  
  93  /** WordPress Deprecated Administration API */
  94  require_once  ABSPATH . 'wp-admin/includes/deprecated.php';
  95  
  96  /** WordPress Multisite support API */
  97  if ( is_multisite() ) {
  98      require_once  ABSPATH . 'wp-admin/includes/ms-admin-filters.php';
  99      require_once  ABSPATH . 'wp-admin/includes/ms.php';
 100      require_once  ABSPATH . 'wp-admin/includes/ms-deprecated.php';
 101  }


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref