Try our new AI assistant by clicking the chat icon in the lower right corner.
The 10.05.00 release adds a new boolean flag to all custom fields. A custom field can either be public or not public (private). The default value for all custom fields is not public, so you have to explicity set a field to be public.
Public means that its value can be read using the runtime_XXX functions which don’t require any authentication. The data they return is public for anyone to view. Examples include:
These functions have the ability to return custom fields for products/categories.
For example, you may have a custom product field for internal cost that you track with each product. You would likely not want this custom field to be public. Alternatively, the Meta Fields module stores its data into a public custom field so its data is always available in the runtime_XXX functions.
A new “public” tag is now available within the XXXField_Add functions.