Thread Starter
Dusan
(@afrofever23)
I understand.
So basically, I can put print_r() in functions.php after my initial code and then I will see variable value at the end of the blog post text or not? I am curious where I would see print_r() value?
Thanks a lot for the answer. Appreciate it really.
Thread Starter
Dusan
(@afrofever23)
Thanks for the explanation. I understand your input but I don’t want to corrupt GA code.
I will reformulate my question.
How WordPress get those Word count under Post page and how can I rewrite the function to get that same number?
Thanks a lot guys!
Thread Starter
Dusan
(@afrofever23)
OK, but where do I need to put the line in WordPress interface to see the total number of words in $content?
Thread Starter
Dusan
(@afrofever23)
Thanks for the answer.
Where can I see data from str_word_count() to compare it? I am not too familiar with php honestly.
When you say wc -w you mean Word count under edit post area?