Joy
(@joyously)
The theme can supply a searchform.php template. If you put one in a child theme, that will be used. If the theme does not have one, WordPress generates it.
Either way, it can also be filtered using the ‘get_search_form’ filter. You can see the get_search_form
function here: https://developer.wordpress.org/reference/functions/get_search_form/
I use Astra (open source theme). This changes some php search settings? thanks
You might try asking in Astra’s dedicated support forum:
https://wordpress.org/support/theme/astra/
If the text uses one of the translation functions to present the text in various languages, you can use the “gettext” filter to watch for that text and change it to something else. This overrides the translation function. Your filter callback has the final say in what appears.
https://developer.wordpress.org/reference/hooks/gettext/