Support

Home Forums Ticketing Add-on Free Tickets for certain delegates

Free Tickets for certain delegates

Posted: June 15, 2015 at 3:15 am


MIGS

June 15, 2015 at 3:15 am

Hi there,

We will be needing to register free delegates manually such as speakers and sponsors etc… I tried creating a new ticket but it showed up on the registration page as “The Free is available to members only. On Sale”.

Can this be hidden for anyone who isn’t logged in? User capability needs to restricted to internal but I am not sure how this can be done.

Also, we need to create different categories for reporting purposes.

Any ideas please?

Thanks,

Gabriel


Lorenzo Orlando Caum

  • Support Staff

June 15, 2015 at 8:04 am

Hi Gabriel,

Try this sample coding:

add_action('wp_head', 'ee_hide_members_only_tickets');
function ee_hide_members_only_tickets() {
   if ( !is_user_logged_in() && is_espresso_event() ) {
   ?>
      
   

It can be added to your child theme’s functions.php file (do not include the opening php tag) or a site specific plugin:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

--
Lorenzo

The support post ‘Free Tickets for certain delegates’ 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