Returns the available settings sub-tabs.
Description
See also
Return
(array) Associative array of <code>$subtab_slug => $subtab_args</code> pairs.
Source
File: src/db-objects/forms/form-settings-page.php
protected function get_subtabs() { $subtabs = array( 'general' => array( 'tab' => 'general_settings', 'title' => _x( 'General', 'form settings', 'torro-forms' ), ), ); /** * Filters the form settings sub-tabs. * * @since 1.0.0 * * @param array $tabs Associative array of `$subtab_slug => $subtab_args` pairs. */ return apply_filters( "{$this->manager->get_prefix()}settings_subtabs", $subtabs ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |