• Resolved brucensmith

    (@brucensmith)


    What are the steps to “Modify the prompt text using a filter”?

    What part of the admin panel do I go to? What checkboxes do I change? What code do I add?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    Hi @brucensmith,

    You can modify the prompt text (and other strings) on the document_feedback_strings filter. Here’s an example:

    
    add_filter(
    	'document_feedback_strings',
    	function( $strings ) {
    		$strings['prompt'] = "What did you think of the answer?";
    		return $strings;
    	}
    );
    

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘What are the steps to “Modify the prompt text using a filter”?’ is closed to new replies.