@bekee you can use the add_filter
function to add to the total word count that’s calculated.
A basic example adding 3000 words to the count could look like this.
add_filter( 'rtwp_filter_wordcount', 'up_the_count' );
function up_the_count( $count ) {
return $count + 3000;
}
Now that’s not very useful on account of it just inflating the total. But if you wanted to add an ACF WYSIWYG to the word count you could do return something like.
return $count + count( preg_split( '/\s+/', get_field( 'acf_wysiwyg', $post->ID ) ) );
Hopefully that helps.