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