Docs: Correct function name in add_settings_field() DocBlock.

See #52628.

git-svn-id: https://develop.svn.wordpress.org/trunk@50434 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-02-25 12:01:00 +00:00
parent 274bc8b0ec
commit dae8858b4a

View File

@ -1592,7 +1592,7 @@ function add_settings_section( $id, $title, $callback, $page ) {
* *
* Part of the Settings API. Use this to define a settings field that will show * Part of the Settings API. Use this to define a settings field that will show
* as part of a settings section inside a settings page. The fields are shown using * as part of a settings section inside a settings page. The fields are shown using
* do_settings_fields() in do_settings-sections() * do_settings_fields() in do_settings_sections().
* *
* The $callback argument should be the name of a function that echoes out the * The $callback argument should be the name of a function that echoes out the
* HTML input tags for this setting field. Use get_option() to retrieve existing * HTML input tags for this setting field. Use get_option() to retrieve existing