Retrieves the id and type of a custom field given field name for the current post.
public static GetInfoByName ( string $customFieldName, $post_id ) : array | ||
$customFieldName | string | |
return | array | with custom field id and custom field type |