apply_filters( 'mc_location_fields', Array ) → {array}
Return custom fields for use in My Calendar locations. Fields should format like:
'title' => 'Location Type',
'sanitize_callback' => 'sanitize_text_field',
'display_callback' => 'esc_html',
'input_type' => 'select',
'input_values' => array( 'Virtual', 'Private Home', 'Concert Hall', 'Outdoor Venue' ),
);```
Parameters:
Name | Type | Description |
---|---|---|
Array |
array | of custom fields. |
- Source:
Returns:
- Type
- array