Skip to content

Instantly share code, notes, and snippets.

@mattradford
Created March 15, 2018 09:24
Show Gist options
  • Save mattradford/96f653ff2425d9cfa25e95d795276601 to your computer and use it in GitHub Desktop.
Save mattradford/96f653ff2425d9cfa25e95d795276601 to your computer and use it in GitHub Desktop.
Change FacetWP fSelect number of choices at which text changes to "{n} selected"
add_filter( 'facetwp_render_output', function( $output ) {
$output['settings']['location']['numDisplayed'] = 1;
return $output;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment