Reply To: Change the text 404 error

Home Forums Support Change the text 404 error Reply To: Change the text 404 error

Home Forums Support Change the text 404 error Reply To: Change the text 404 error

#145415
Tom
Lead Developer
Lead Developer

That’s correct, you would use this function:

add_filter( 'generate_404_text','generate_custom_404_text' );
function generate_custom_404_text()
{
      return 'Your 404 text in here';
}

And add is using these instructions: https://generatepress.com/knowledgebase/adding-php-functions/