@serjuc11111
In modern, there is only 1 function for this, you might track those functions in bender if they are included in core or are defined in functions.php (or similar function theme file).
- if it is in core, you should be able to use it
- if it is not in core, you should be able to copy it into your function file