Get number of group duplicates given field name. The function returns 1
if there are no duplicates (just the original group), 2 if there is one
duplicate and so on.
public static GetFieldGroupDuplicates ( integer $postId, $fieldName ) : number | ||
$postId | integer | post id |
return | number | of groups |