mc_order_location_fields - joedolson/my-calendar GitHub Wiki
Filter available custom fields & set display order.
Auto-generated Example
add_filter(
'mc_order_location_fields',
function(
array $fields,
string
) {
// Your code here.
return $fields;
},
10,
2
);
Parameters
array$fieldsArray of custom fields data.string$context Whether we're currently editing a location or an event. Other variable names:$context
Returns
array
Files
apply_filters( 'mc_order_location_fields', $fields, $context )