This page redirects to an external site: https://developer.wordpress.org/reference/functions/get_alloptions/
This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php.
Use
any of these functions instead.
Deprecated since WordPress 3.0, use wp_load_alloptions() instead.
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