Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mgibbs189
Forked from mattradford/fSelect-numDisplayed
Created April 21, 2018 00:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgibbs189/c782ebba585237a94c2d901183033df5 to your computer and use it in GitHub Desktop.
Save mgibbs189/c782ebba585237a94c2d901183033df5 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