Require minimum word count to published post
$num = 100; //set this to the minimum number of words
$content = $post->post_content;
if (str_word_count($content) < $num)
wp_die( __('Error: your post is below the minimum word count.') );
If you need more help don’t delay to ask me. I am here ready to give easy guideline. Just comment or send message me. I will beck you asap. Message Now .
Don’t forget to bookmark and share this code with others new learner like you.