_ipad_meta

The WordPress Core ipad meta function.

Description

_ipad_meta(); 

Usage

  1. if ( !function_exists( '_ipad_meta' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/misc.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = _ipad_meta(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/misc.php  
  1. function _ipad_meta() { 
  2. if ( wp_is_mobile() ) { 
  3. ?> 
  4. <meta name="viewport" id="viewport-meta" content="width=device-width, initial-scale=1"> 
  5. <?php