alloptions WordPress Filter Hook
The alloptions hook is a great way to get all the options for your WordPress site in one place. This hook gives you the ability to grab all the options from the database and store them in an array. You can then use this array to do whatever you want with the options.
apply_filters( 'alloptions', array $alloptions ) #
Filters all options after retrieving them.
Parameters
- $alloptions
(array)Array with all options.
Source
File: wp-includes/option.php
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |