Layout_CPT_Sidebar_Container
Source
File: includes/modules/post_type_enhancements/customizer/layout_cpt_sidebar_container.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Constructor for the class.
- add_to_container_styles — Filters the container styles to allow for custom post type support.
- add_to_sidebar_controls — Filters the sidebar controls to add additional controls for supported post types.
- filter_sidebar_setup — Filter the setup for the sidebar to allow for custom post types.
- init — Initialize the module
- push_at_to_associative_array — Utility method to push before a specific key if we need to keep a specific order.
- sidebar_full_width_defaults_filter — Filter allowed sidebar full widths.
- sidebar_layout_alignment_defaults_filter — Filter allowed sidebar full layout defaults.
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |