Created
February 7, 2018 12:13
-
-
Save Pebblo/d663a5e91f4f061f669ab9cf8e2d0dd7 to your computer and use it in GitHub Desktop.
Example of how to use the FHEE__EES_Espresso_Event_Attendees__process_shortcode__order_by filter to change how the attendees are ordered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //Please do not include the opening PHP tag if you already have one | |
function tw_ee_custom_Event_Attendees__process_shortcode__order_by( $order_by_array ){ | |
return array('ATT_fname' => 'ACS'); | |
} | |
add_filter('FHEE__EES_Espresso_Event_Attendees__process_shortcode__order_by','tw_ee_custom_Event_Attendees__process_shortcode__order_by'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment