Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Filter examples for the Estimated Read Time plugin for ClassicPress. These code snips can be added to a functionality plugin or the functions.php file.
<?php
// Define reading speed of your audience. 200 WPM is average; adjust to suit.
add_filter('codepotent_estimated_read_time_speed', 'codepotent_estimated_read_time_speed');
function codepotent_estimated_read_time_speed($reading_speed) {
return 125;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.