Empty_Breakpoints->get_next( string $slug )

Description

public

Return the next (larger) breakpoint.

Availability

  • Backend
  • Empty Page Builder
  • Frontend

Since

2.0

Parameters

string $slug
The breakpoint slug you want to return the next breakpoint for.

Return value

object
Returns either false if no larger breakpoint is found or a breakpoint object containing the slug, title and an array break with value and unit values.