Created
February 20, 2024 21:15
-
-
Save tripflex/e34638d44edf2980490cf134caf17398 to your computer and use it in GitHub Desktop.
Disable translatepress/translation of S&F fields from backend
This file contains 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
<?php | |
add_filter( 'search_and_filtering_fields_translate_fields', 'smyles_skip_translate_fields' ); | |
function smyles_skip_translate_fields( $fields ){ | |
return array(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment