WooCommerce Code Reference

ImageAttachment
in package

ImageAttachment class.

Table of Contents

$id  : int
Attachment ID.
$object_id  : int
Object attached to.
__construct()  : mixed
Constructor.
update_alt_text()  : mixed
Update attachment alt text.
update_name()  : mixed
Update attachment name.
upload_image_from_src()  : mixed
Upload an attachment file.

Properties

Methods