Filter the calculated word count for the current field on the frontend.
This filter must be used with its PHP counterpart to handle filtering the word count on the frontend.
gform.addFilter( 'gpppw_word_count', 'my_custom_function' );
Pay Per Character
Change Pay Per Word’s behavior to charge per character instead of per word. This snippet must be paired with its PHP counterpart.
Split Words on Specific Characters
In this example, Pay Per Word splits words on periods, underscores, and asterisks. This snippet must be paired with its PHP counterpart.
This filter is available since Gravity Forms Pay Per Word 1.0.6.