apply_filters( 'findstr_document_language', $language_code string|array, $post WP_Post )
add_filter( 'findstr_document_language', $language_code string|array, $post WP_Post )
Filter the document language.
with this filter you can change the language code of a post.
Parameters
| Name | Type | Description |
|---|---|---|
$language_code | string | | the language code |
$post | WP_Post | the post object |
- Source
Returns:
$language_code the language code
- Type:
- string |
array