diff --git a/plugins/faustwp/includes/replacement/callbacks.php b/plugins/faustwp/includes/replacement/callbacks.php index 6f72e8857..d288fa3ed 100644 --- a/plugins/faustwp/includes/replacement/callbacks.php +++ b/plugins/faustwp/includes/replacement/callbacks.php @@ -279,7 +279,10 @@ function post_link( $link ) { * @return string */ function term_link( $term_link ) { - if ( ! is_rewrites_enabled() ) { + if ( + ! is_rewrites_enabled() + || ( function_exists( 'is_graphql_request' ) && is_graphql_request() ) + ) { return $term_link; }