do_settings_sections()输出所有的设置项目单元

目录

描述

Prints out all settings sections added to a particular settings page.

do_settings_sections() 描述

用法

<?php do_settings_sections$page ); ?>

do_settings_sections() 用法

参数

$page

(string) (必填) The slug name of the page whose settings sections you want to output. This should match the page name used in add_settings_section().

默认值: None

do_settings_sections() 参数

注意

This will output the section titles wrapped in h3 tags and the settings fields wrapped in tables.

do_settings_sections() 注意

源文件

do_settings_sections() 函数的代码位于 wp-admin/includes/template.php.

do_settings_sections() 源文件

相关