Support

Home Forums Event Espresso Premium Hide actions for registrations in WP-Admin

Hide actions for registrations in WP-Admin

Posted: March 18, 2018 at 10:10 am

Viewing 3 reply threads


august.lannee

March 18, 2018 at 10:10 am

Is it possible to hide certain actions for registrations in WP-Admin? for example all of the actions related to pending payments?


Tony

  • Support Staff

March 19, 2018 at 4:50 am

Hi there,

Can you be a little more specific?

You can hide actions based on the object type, for example you can prevent users editing registrations etc. But it sounds like you are looking for something more specific than that.

What ‘Pending Payments’ actions are you looking to hide?


august.lannee

March 19, 2018 at 5:25 am

Hi Tony,

Hopefully you can see this image: Event espresso backend

So Event Espresso – Registrations and then the dropdown with ‘Bulk actions’.


Tony

  • Support Staff

March 19, 2018 at 11:28 am

Those bulk actions are filtered through FHEE__Registrations_Admin_Page___set_list_table_views_default__def_reg_status_actions_array so you can add your own filter, check for whatever caps you want the user to have and remove the pending payment items if the user doesn’t have the cap.

For example: https://gist.github.com/Pebblo/6187e5ea6d1877f148633440d95b4eb7

Viewing 3 reply threads

The support post ‘Hide actions for registrations in WP-Admin’ 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