Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2.  
  3. add_filter( 'wpep_course_type_coordinator', function( $coordinator_object, $course_id, $course_type ) {
  4. if( $coordinator_object === false )
  5. return false;
  6.  
  7. $coordinator_object->top_level_request = true;
  8.  
  9. return $coordinator_object;
  10. }, 50, 3 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement