You can put it into dhcpd.conf.local
as @cfusco indicated
Another option is to try it in the dhcp options section of the wui.
Using the unifi link that @cfusco provided I entered the following values.
First option is the definition
Name - unifi (or whatever you want to call it)
Option value - code 43=string
Then add the global definition (or you can limit it to just the Blue or just the Green subnets)
Name - unifi
Option value - 01:04:c0:a8:01:02
The code there was obtained on the unifi website. I entered 192.168.1.2 for the unifi controller IP and pressed the button and in the pfSense section it then shows the equivalent value. This is basically just the hex value of the IP which is taken as a string input.
Here is what ends up in the wui page.
The order is from the bottom upwards and the values are put into the dhcp.conf file in the reverse order.
This what ended up in the dhcp.conf file just before the first subnet entry
deny bootp; #default
authoritative;
ddns-update-style none;
option unifi code 43=string;
option unifi 01:04:c0:a8:01:02;
The option unifi code 43=string is saying to the dhcp server I am defining a name, unifi, that represents code 43 and the value will be provided in string format.
The option unifi 01:04:c0:a8:01:02 then tells the dhcp server that the option named unifi has a string value in hex of 01:04:c0:a8:01:02
This basically follows the same approach as used for the wpad entry as shown in the wiki page
https://wiki.ipfire.org/configuration/network/proxy/extend/wpad#distribution-via-dhcp-option
Entering the value on the wui page will automatically restart the dhcp server after the options have been added, if they are checked as enabled.