Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Limit the number of tags loaded from the CRM to 1000
// Limit number of tags loaded. More than 1000 tags can cause slowness in the interfaces
add_filter( 'wpf_set_setting_available_tags', function( $tags ) {
return array_slice( $tags, 0, 1000 );
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment