wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
_c is deprecated since version 2.9.0!
Alternative: Ver página de detalhe para _x »" href="https://pt.wpseek.com/function/_x/">_x()
Alternative: Ver página de detalhe para _x »" href="https://pt.wpseek.com/function/_x/">_x()
_c › WordPress Function
Desde2.2.0
Obsoleto2.9.0
› _c ( $text, $domain = 'default' )
Parâmetros: (2) |
|
Ver: | |
Retorna: |
|
Definido em: |
|
Codex: |
Retrieve translated string with vertical bar context
Quite a few times, there will be collisions with similar translatable text found in more than two places but with different translated context. In order to use the separate contexts, the _c() function is used and the translatable string uses a pipe ('|') which has the context the string is in. When the translated string is returned, it is everything before the pipe, not including the pipe character. If there is no pipe in the translated text then everything is returned.