Since: 2.0
save_comment_meta
Save a comment meta
Function Definition
public function save_comment_meta ( $id, $comment_meta = null, $strict = false )
Source File: /pods/classes/PodsAPI.php
Parameters
Parameter | Type | Details |
---|---|---|
$id | (int) | Comment ID |
$comment_meta | (array) | (optional) All meta to be saved (set value to null to delete) |
$strict | (bool) | (optional) Whether to delete previously saved meta not in $comment_meta |
Returns
(int) Comment ID