Sidebars — functions
3 public functions. 0 are 🔌 pluggable (function_exists()-guarded, so a theme/child can override them).
| Function | Summary |
|---|---|
fw_ext_sidebars_get_current_position | Returns string (position-id) if DB has preset for current page else return false |
fw_ext_sidebars_get_current_preset | Returns array if DB has preset for current page else return null |
fw_ext_sidebars_show | Returns the rendered sidebar HTML for the given sidebar color, or a warning message. |
fw_ext_sidebars_get_current_position
fw_ext_sidebars_get_current_position()
Returns string (position-id) if DB has preset for current page else return false
Source: framework/extensions/sidebars/helpers.php:20
fw_ext_sidebars_get_current_preset
fw_ext_sidebars_get_current_preset()
Returns array if DB has preset for current page else return null
Source: framework/extensions/sidebars/helpers.php:28
fw_ext_sidebars_show
fw_ext_sidebars_show($color)
Returns the rendered sidebar HTML for the given sidebar color, or a warning message.
Source: framework/extensions/sidebars/helpers.php:11
← Back to Functions overview