首页 WordPress函数大全 get_media_items()

get_media_items()

2020-05-01 / 4677阅 / 悠然

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

get_media_items( int $post_id, array $errors )

Retrieve HTML for media items of post gallery.

描述

The HTML markup retrieved will be created for the progress of SWF Upload component. Will also create link for showing and hiding the form to modify the image attachment.

参数

$post_id

(int)
(Optional)
Post ID.

$errors

(array)
(Optional)
Errors for attachment, if any.

返回

(string)

大家谈论
    我的见解