Clanbite Social Kit

insert_post_media_rows( int $social_post_id, array $attachment_ids ): void

Link attachment rows to a social post (validated by caller).

public static

Class: Kernowdev\ClanbiteSocialKit\Social\Data_Access

Parameters

$social_post_id (int) Required

Social post ID.

$attachment_ids (int[]) Required

Attachment IDs in order.

Returns

void

Defined in inc/Social/Data_Access.php