do_meta_boxes
最后更新于:2021-11-26 08:33:20
do_action( ‘do_meta_boxes’, string $post_type, string $context, GC_Post|object|string $post )
Fires after meta boxes have been added.
参数
- $post_type
-
(string)
Post type of the post on Edit Post screen, ‘link’ on Edit Link screen, ‘dashboard’ on Dashboard screen. - $context
-
(string)
Meta box context. Possible values include ‘normal’, ‘advanced’, ‘side’. - $post
-
(GC_Post|object|string)
Post object on Edit Post screen, link object on Edit Link screen, an empty string on Dashboard screen.
源文件
文件: gc-admin/includes/meta-boxes.php