get_alloptions

Retrieve all autoload options, or all options if no autoloaded ones exist.

Description

(array) get_alloptions(); 

Returns (array)

List of all options.


Usage

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

Defined (1)

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

/wp-includes/deprecated.php  
  1. function get_alloptions() { 
  2. _deprecated_function( __FUNCTION__, '3.0.0', 'wp_load_alloptions()' ); 
  3. return wp_load_alloptions();