insert_post_media_rows( int $social_post_id, array $attachment_ids ): voidLink attachment rows to a social post (validated by caller).
public static
Class: Kernowdev\ClanbiteSocialKit\Social\Data_Access
Parameters
$social_post_id(int) RequiredSocial post ID.
$attachment_ids(int[]) RequiredAttachment IDs in order.
Returns
void
Defined in inc/Social/Data_Access.php