-
-
Save Pebblo/ed0af384f64095609855f18995083e38 to your computer and use it in GitHub Desktop.
A function to change the default 'limit' value of the [ESPRESSO_EVENT_ATTENDEES] shortcode
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 alread have one | |
add_filter('EES_Espresso_Event_Attendees__process_shortcode__default_shortcode_atts', 'tw_espresso_event_attendees_shortcode_atts'); | |
function tw_espresso_event_attendees_shortcode_atts( $attrs ) { | |
$attrs['limit'] = 250; | |
return $attrs; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment