Filter the arguments used to define the layout grid.
The content number of columns are automatically calculated based on the grid, sidebar primary and sidebar secondary columns.
apply_filters( 'beans_layout_grid_settings', array $args )
Return: (void)
Parameters
Name | Type | Description |
---|---|---|
$argsView Array | array | An array of arguments. |
Using $args parameter array:
Array Key | Type | Default | Description |
---|---|---|---|
'grid' | int | 4. | Total number of columns the grid contains. |
'sidebar_primary' | int | 1. | The number of columns the sidebar primary takes. |
'sidebar_secondary' | int | 1. | The number of columns the sidebar secondary takes. |
'breakpoint' | string | 'medium' | The UIkit grid breakpoint which may be set to 'small', 'medium' or 'large'. |