Skip to content

Instantly share code, notes, and snippets.

@Pebblo Pebblo/example.php Secret
Last active Jan 7, 2019

Embed
What would you like to do?
A function to change the default 'limit' value of the [ESPRESSO_EVENT_ATTENDEES] shortcode
<?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
You can’t perform that action at this time.