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.


Top ↑

Source

File: wp-includes/option.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More