首页 WordPress函数大全 do_accordion_sections()

do_accordion_sections()

2020-05-01 / 4849阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

do_accordion_sections( string|object $screen, string $context, mixed $object )

Meta Box Accordion Template Function.

描述

Largely made up of abstracted code from do_meta_boxes(), this function serves to build meta boxes as list items for display as a collapsible accordion.

参数

$screen

(string|object)
(Required)
The screen identifier.

$context

(string)
(Required)
The meta box context.

$object

(mixed)
(Required)
gets passed to the section callback function as first parameter.

返回

(int) number of meta boxes as accordion sections.

大家谈论
    我的见解