method_get_breakpoint_class_prefixes()
method_get_breakpoint_class_prefixes()
Gets the Bootstrap CSS class prefixes for each responsive range.
Description
Returns the mapping used to build responsive Bootstrap grid classes (e.g., col-md-8, col-xl-6). The mobile range has no prefix (uses default Bootstrap columns).
Parameters
None.
Return
(array) Associative array:
PHP
array(
'mobile' => '', // No prefix — default columns
'tablet' => 'md',
'base' => 'xl',
'wide' => 'xxl',
)Source
File: lib/helper-functions.php
Notes
- Used by Advanced Grid Column to generate responsive column classes.
- Passed to the editor via
methodGlobalData.breakpointPrefixes.
Changelog
File: lib/helper-functions.php
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |