edd_get_registered_settings_types( $filtered_tab = false,  $filtered_section = false )

Flattens the set of registered settings and their type so we can easily sanitize all the settings in a much cleaner set of logic in edd_settings_sanitize


Description Description


Parameters Parameters

$filtered_tab

(Optional) bool|string A tab to filter setting types by.

Default value: false

$filtered_section

(Optional) bool|string A section to filter setting types by.

Default value: false


Top ↑

Return Return

(array) Key is the setting ID, value is the type of setting it is registered as


Top ↑

Source Source

File: includes/admin/settings/register-settings.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.8 - Added the ability to filter setting types by tab and section
2.6.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.