spl_autoload_functions

Retrieves the registered autoloader functions.

Description

(array) spl_autoload_functions(); 

Returns (array)

List of autoloader functions.


Usage

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

Defined (1)

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

/wp-includes/compat.php  
  1. function spl_autoload_functions() { 
  2. return $GLOBALS['_wp_spl_autoloaders'];