Created
October 1, 2019 08:47
-
-
Save kaskad88/a4c8107c4c6716f998e2e6f1e24861dc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
add_filter( 'wp_dropdown_cats', 'remove_spacing_wp_dropdown_cats', 10, 2 ); | |
function remove_spacing_wp_dropdown_cats( $output, $args ) { | |
if ( $args['name'] === 'jet_ajax_search_categories' ) { | |
$output = str_replace( ' ', '', $output ); | |
} | |
return $output; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment