Automattic\WooCommerce\Internal\Api
QueryDepthRule::maxQueryDepthErrorMessage
Override webonyx's default ("Max query depth should be {max} but got {count}.").
Метод класса: QueryDepthRule{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = QueryDepthRule::maxQueryDepthErrorMessage( $max, $count ): string;
- $max(int) (обязательный)
- The configured maximum depth (unused).
- $count(int) (обязательный)
- The computed query depth (unused).
Код QueryDepthRule::maxQueryDepthErrorMessage() QueryDepthRule::maxQueryDepthErrorMessage WC 11.0.1
public static function maxQueryDepthErrorMessage( int $max, int $count ): string {
return 'Maximum query depth exceeded.';
}