Plugin Tag: dynamic function for custom fields