add_settings_field Wordpress function


Add a new field to a section of a settings page



(string) $id Slug-name to identify the field. Used in the 'id' attribute of tags.
(string) $title Formatted title of the field. Shown as the label for the field during output.
(string) $callback Function that fills the field with the desired form inputs. The function should echo its output.
(string) $page The slug-name of the settings page on which to show the section (general, reading, writing, ...).
(string) $section The slug-name of the section of the settings page in which to show the box (default, ...).
(array) $args Additional arguments

Return Type:

Define At:


Wordpress Reference URL:

0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×