jetpack_is_automated_transfer_site

Determine if this site is an AT site or not looking first at the 'at_options' option.

Description

jetpack_is_automated_transfer_site(); 

As a fallback, check for presence of wpcomsh plugin to determine if a current site has undergone AT.


Usage

  1. if ( !function_exists( 'jetpack_is_automated_transfer_site' ) ) { 
  2. require_once '/functions.global.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = jetpack_is_automated_transfer_site(); 
  7.  

Defined (1)

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

/functions.global.php  
  1. function jetpack_is_automated_transfer_site() { 
  2. $at_options = get_option( 'at_options', array() ); 
  3. return ! empty( $at_options ) || defined( 'WPCOMSH__PLUGIN_FILE' );