wp-event-manager
wp-event-manager copied to clipboard
Making Organizer Field compoulsary
Please add the following code in the functions.php file at theme side:
// Add your own function to filter the fields add_filter( 'submit_event_form_fields', 'custom_submit_event_form_fields' );
function custom_submit_event_form_fields( $fields ) {
$fields['organizer']['event_organizer_ids']['required'] = true;
$fields['venue']['event_venue_ids']['required'] = true;
// And return the modified fields
return $fields;
}
@Priya-Goenka - What needs to be done here.
@krinaydhanani this is solution for how to customise organize filed mandatory... so please put in document and assign to writer.
https://docs.google.com/document/d/1w4z7PmBY4CLU8VzNQOHh3Xc5PeWctaDmT99wahqM9rU/edit already there on the page https://wp-eventmanager.com/knowledge-base/event-submission-form-field/
I have verified this issue. Now this issue is fixed. It is available on the KB page in the " Editing Event Submission Form Fields" section. So I closed the issue.