Plugin tag: dynamic function for custom fields