Created
February 9, 2023 00:29
-
-
Save tripflex/26a6a4271498f683e05b9294f124545d to your computer and use it in GitHub Desktop.
Custom Singular "Job" Value when using Search and Filtering Result Replacement
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_job_singular', 'smyles_sf_job_singular'); | |
function smyles_sf_job_singular( $singular ){ | |
return __('job today'); | |
} | |
add_filter('search_and_filtering_job_plural', 'smyles_sf_job_plural'); | |
function smyles_sf_job_plural( $singular ){ | |
return __('jobs today'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment