Empty_Breakpoints->get_previous( string $slug )

Description

public

Return the previous (smaller) breakpoint.

Availability

  • Backend
  • Empty Page Builder
  • Frontend

Since

2.0

Parameters

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

Return value

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