常用函数-form_option()

0条评论

说明

过滤选项格式后重复选项值。

用法

<?php form_option( $option ) ?>

参数

$option

(字符串)(必需)选项名称。

默认值:None

$default

(混合)(可选)无值可返回时返回的默认值(如选项不在数据库中时)

默认值:false

返回的值

(无)

该选项不返回值

示例

注释

函数历史

始见于1.5.0版本

源文件

form_option()位于wp-includes/functions.php中

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 自动断行和分段。

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.