search_stat_limit

Creates an SQL limit to only search for players eligible for the given stat.

Parameters

  • string $stat — The stat being searched for.

Returns

  • string — The SQL for limiting to search for players with that stat.

Since: 2.0

Source

  • /includes/classes/base/class-stats.php — 2484