public function filter_post_word_count( $word_count, $post ) {$array = array ('ä' => 'ae','ä' => 'ae','à ' => 'Ae','Ä' => 'Ae','ö' => 'oe','ö' => 'oe','à ' => 'Oe','Ö' => 'Oe','ü' => 'ue','ü' => 'ue','à ' => 'Ue','Ü' => 'Ue','à ' => 'ss','ß' => 'ss' ); $content = strip_tags( ( $this->config[ 'add_title' ] ? $post->content_out . " {$post->title}" : $post->content_out )); $content = strtr ( $content, $array); return str_word_count($content);}