Returns the available settings sub-tabs for the module.
Description
See also
Return
(array) Associative array of <code>$subtab_slug => $subtab_args</code> pairs.
Source
File: src/modules/form-settings/module.php
protected function get_settings_subtabs() { $prefix = $this->manager()->get_prefix(); $subtabs = array(); /** * Filters the settings subtabs in the form settings tab. * * @since 1.0.0 * * @param array $fields Array of `$subtab_slug => $subtab_data` pairs. */ return apply_filters( "{$prefix}form_settings_settings_subtabs", $subtabs ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |