APP_Media_Manager::set_attachment_parent( int $attach_id, int $parent_id, string $parent_type )
Set parent id and type to the attachment meta.
Package
Description Description
Parameters Parameters
- $attach_id
(int) (Required) Attachment ID.
- $parent_id
(int) (Required) Parent object ID.
- $parent_type
(string) (Required) Parent type.