Returns the available settings fields for the submodule.
Description
See also
Return
(array) Associative array of <code>$field_slug => $field_args</code> pairs.
Source
File: src/modules/actions/api-action.php
public function get_settings_fields() { $authentication_fields = $this->get_authentication_fields(); foreach ( $authentication_fields as $field_slug => $field_args ) { $authentication_fields[ $field_slug ]['section'] = 'authentication'; } return array_merge( parent::get_settings_fields(), $authentication_fields ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |