Module::get_settings_sections()

Returns the available settings sections for the module.

Description

See also

Return

(array) Associative array of <code>$section_slug => $section_args</code> pairs.

Source

File: src/modules/form-settings/module.php

	protected function get_settings_sections() {
		$prefix = $this->manager()->get_prefix();

		$sections = array();

		/**
		 * Filters the settings sections in the form settings tab.
		 *
		 * @since 1.0.0
		 *
		 * @param array $fields Array of `$section_slug => $section_data` pairs.
		 */
		return apply_filters( "{$prefix}form_settings_settings_sections", $sections );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.