Class WPGlobus_Core
Class WPGlobus_Core
Methods summary
public static
string
|
#
text_filter( string $text = '', string $language = '', string $return =
The main filter function. Default behavior: extracts text in one language from multi-lingual strings. |
public static
boolean
|
|
public static
|
#
translate_wp_post( WP_Post|mixed & $post, string $language = '', string $return =
Keeps only one language in all textual fields of the |
public static
|
#
translate_term( string|object & $term, string $language = '' )
Translate a term (category, post_tag, etc.) Term can be an object (default for the @see wp_get_object_terms() filter) or a string (for example, when wp_get_object_terms is called with the 'fields'=>'names' argument) |