team_horizontal_gradient

Returns a horizontal gradient based on a team’s color.

Parameters

  • string $team_color — The team color to apply the gradient.

Returns

  • string — The styling for the gradient.

Since: 2.0

Source

  • /includes/classes/base/class-display.php — 157