Support

Home Forums Event Espresso Premium Barcode Shortcode

Barcode Shortcode

Posted: August 4, 2017 at 5:57 am

Viewing 1 reply thread


youngjc345

August 4, 2017 at 5:57 am

Is it possible to have a user only able to view/check-in attendees for their own event using the [ESPRESSO_BARCODE_SCANNER] on the front-end? Currently, it shows all events to all users and not just event authors.


Josh

  • Support Staff

August 8, 2017 at 12:37 pm

Yes you can. There’s a filter hook that allows setting the front end scanner to use the same capability checks as the admin side barcode scanner.

Here’s a link to a code example:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-barcode-scanner/jf_eea_barcode_scanner_front_end_only_authored_events.php

You can add the above to a functions plugin.

Viewing 1 reply thread

The support post ‘Barcode Shortcode’ 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