Removing a existing field from event submission form

Removing a some social fields for events

This tutorial shows how to remove existing fields from event submission form.In this example, we have explained you that how you can remove some social fields from organizer section.

 

Remove the field from the frontend event submission form

Open up your theme functions.php field and create a function to remove a existing fields from the event submission form. First hook it in:

Then write the function:

This will remove existing fields like linkedin, Facebook, xing and pinterest from the bottom of the frontend’s event submission form.

Remove the field from the backend event submission form

Again in theme functions.php, hook in your custom function:

Then write your custom function:

This will remove existing fields like linkedin, Facebook, xing and pinterest from the bottom of the backend’s event submission form.

Note, the field name is prepended with a ‘_’. This is because Event Manager makes your new fields hidden meta by prepending theme with an underscore. This is normal.