[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Noop functions for load-scripts.php and load-styles.php.
   4   *
   5   * @package WordPress
   6   * @subpackage Administration
   7   * @since 4.4.0
   8   */
   9  
  10  /**
  11   * @ignore
  12   */
  13  function __() {}
  14  
  15  /**
  16   * @ignore
  17   */
  18  function _x() {}
  19  
  20  /**
  21   * @ignore
  22   */
  23  function add_filter() {}
  24  
  25  /**
  26   * @ignore
  27   */
  28  function has_filter() {
  29      return false;
  30  }
  31  
  32  /**
  33   * @ignore
  34   */
  35  function esc_attr() {}
  36  
  37  /**
  38   * @ignore
  39   */
  40  function apply_filters() {}
  41  
  42  /**
  43   * @ignore
  44   */
  45  function get_option() {}
  46  
  47  /**
  48   * @ignore
  49   */
  50  function is_lighttpd_before_150() {}
  51  
  52  /**
  53   * @ignore
  54   */
  55  function add_action() {}
  56  
  57  /**
  58   * @ignore
  59   */
  60  function did_action() {}
  61  
  62  /**
  63   * @ignore
  64   */
  65  function do_action_ref_array() {}
  66  
  67  /**
  68   * @ignore
  69   */
  70  function get_bloginfo() {}
  71  
  72  /**
  73   * @ignore
  74   */
  75  function is_admin() {
  76      return true;
  77  }
  78  
  79  /**
  80   * @ignore
  81   */
  82  function site_url() {}
  83  
  84  /**
  85   * @ignore
  86   */
  87  function admin_url() {}
  88  
  89  /**
  90   * @ignore
  91   */
  92  function home_url() {}
  93  
  94  /**
  95   * @ignore
  96   */
  97  function includes_url() {}
  98  
  99  /**
 100   * @ignore
 101   */
 102  function wp_guess_url() {}
 103  
 104  function get_file( $path ) {
 105  
 106      $path = realpath( $path );
 107  
 108      if ( ! $path || ! @is_file( $path ) ) {
 109          return '';
 110      }
 111  
 112      return @file_get_contents( $path );
 113  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref