Fatal error: Uncaught Error: Call to undefined function is_checkout() in /home/tcafie/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()'d code:6
Stack trace:
#0 /home/tcafie/public_html/wp-includes/class-wp-hook.php(324): jay_custom_redirect_after_purchase('')
#1 /home/tcafie/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /home/tcafie/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/tcafie/public_html/wp-includes/template-loader.php(13): do_action('template_redire...')
#4 /home/tcafie/public_html/wp-blog-header.php(19): require_once('/home/tcafie/pu...')
#5 /home/tcafie/public_html/index.php(17): require('/home/tcafie/pu...')
#6 {main}
thrown in /home/tcafie/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()'d code on line 6