customize_section_active WordPress Filter Hook

The customize_section_active hook is a Wordpress hook that allows you to customize the appearance of your sections on your website. You can use this hook to change the colors, fonts, and other styling of your sections. This hook is especially useful if you want to make your sections stand out from the rest of your website.

apply_filters( 'customize_section_active', bool $active, WP_Customize_Section $section ) #

Filters response of WP_Customize_Section::active().


Parameters

$active

(bool)Whether the Customizer section is active.

$section

(WP_Customize_Section)WP_Customize_Section instance.


Top ↑

Source

File: wp-includes/class-wp-customize-section.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.