Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Plugin Name: Event Question Fix
- Plugin URI:
- Description: This Plugin corrects issues for event espresso where a new event editor cannot see all of the questions for events.
- Version:
- Author:
- Author URI:
- License:
- License URI:
- */
- //remove r&P question group filter so any event editor has all the questions:
- add_filter('espresso_get_question_groups_for_event_where', 'espresso_get_question_groups_for_event_where_custom', 9);
- function espresso_get_question_groups_for_event_where_custom() {
- remove_filter('espresso_get_question_groups_for_event_where', 'espresso_rp_basic_get_question_groups_for_event_where', 10);
- return '';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement