Unable to change Field Type
-
Hi,
I am unable to change the event field type. When I add following function, instead of modifying the field type, it creates another field having no title etc:
function changing_URL_field_types ( $fields ) { $fields['event']['organizer_facebook']['type'] = 'url'; return $fields; } add_filter( 'submit_event_form_fields', 'changing_URL_field_types' );
Please let me know where I am going wrong.
PS. I am successfully able to modify other things like placeholder, title etc. This issue is only occurring if I am changing the field type.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Unable to change Field Type’ is closed to new replies.