WPDev.one
Core Function
View Source on Trac ↗

wp_load_alloptions()

wp_load_alloptions( mixed $force_cache = false )

Loads and caches all autoloaded options, if available or all options.

Parameters 1 required

Name / Type Description
bool

$force_cache Optional. Whether to force an update of the local cache from the persistent cache. Default false.

Required

Return Value

(array)
List of all options.

Function Information

Since Version
2.2.0
Source File
wp-includes/option.php
Advertisement