Support

Home Forums Event Espresso Premium How to restrict event to only one set of datetimes

How to restrict event to only one set of datetimes

Posted: March 15, 2017 at 10:27 am


psg_napkin_dev

March 15, 2017 at 10:27 am

Hi,

I’d like to not give my client the option to add additional datetimes. How can I hide the option to add more than one datetime to an event?


Josh

  • Support Staff

March 15, 2017 at 4:16 pm

Hi there,

You can add the following to a custom functions plugin:

add_action('admin_head', 'my_custom_no_button');

function my_custom_no_button() {
  echo '<style>
    #event-and-ticket-form-content .datetime-create-button {
      display: none;
    } 
  </style>';
}


psg_napkin_dev

March 16, 2017 at 12:18 pm

Josh, Thanks so much

The support post ‘How to restrict event to only one set of datetimes’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso