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.


Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.