Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




translate_with_context [ WordPress Function ]

translate_with_context ( $text, $domain = 'default' )
Parameters:
  • (string) $text Text to translate
  • (string) $domain Domain to retrieve the translated text
Uses:
See:
Returns:
  • (string) Translated text
Defined at:



Translates $text like translate(), but assumes that the text contains a context after its last vertical bar.

Source


<?php
function translate_with_context$text$domain 'default' ) {
    
_deprecated_function__FUNCTION__'2.9''_x()' );
    return 
before_last_bartranslate$text$domain ) );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics