Module::get_settings_fields()

Returns the available settings fields for the module.

Description

See also

Return

(array) Associative array of <code>$field_slug => $field_args</code> pairs.

Source

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

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

		$fields = array();

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

Changelog

Changelog
Version Description
1.0.0 Introduced.