Home › Forums › Support › Change the text 404 error › Reply To: Change the text 404 error
October 18, 2015 at 10:14 am
#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/