wp-includes/class-wp-customize-section.php
<?php /** * WordPress Customize Section classes * * @package WordPress * @subpackage Customize * @since 3.4.0 */ #[AllowDynamicProperties] /* class WP_Customize_Section */ /* function WP_Customize_Section::__construct() – Constructor. */ /* function WP_Customize_Section::active() – Check whether section is active to current Customizer preview. */ /* function WP_Customize_Section::active_callback() – Default callback used when invoking WP_Customize_Section::active(). */ /* function WP_Customize_Section::json() – Gather the parameters passed to client JavaScript via JSON. */ /* function WP_Customize_Section::check_capabilities() – Checks required user capabilities and whether the theme has the feature support required by the section. */ /* function WP_Customize_Section::get_content() – Get the section’s content for insertion into the Customizer pane. */ /* function WP_Customize_Section::maybe_render() – Check capabilities and render the section. */ /* function WP_Customize_Section::render() – Render the section UI in a subclass. */ /* function WP_Customize_Section::print_template() – Render the section’s JS template. */ /* function WP_Customize_Section::render_template() – An Underscore (JS) template for rendering this section. */ /** WP_Customize_Themes_Section class */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-themes-section.php'; /** WP_Customize_Sidebar_Section class */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-sidebar-section.php'; /** WP_Customize_Nav_Menu_Section class */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-section.php';