Codex

Function Reference/get alloptions

Contents

Description

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

This is different from wp_load_alloptions() in that this function does not cache its results and will retrieve all options from the database every time it is called.

Usage

<?php get_alloptions() ?>

Parameters

None.

Return Values

(array) 
List of all options.

Examples

Notes

  • Uses: apply_filters() Calls 'pre_option_$optionname' hook with option value as parameter.
  • Uses: apply_filters() Calls 'all_options' on options list.
  • Uses global: (object) $wpdb

Change Log

Since: 1.0.0

Source File

get_alloptions() is located in wp-includes/functions.php.

Related

See also index of Function Reference and index of Template Tags.