WP_Customize_Panel::active_callback(): bool

Default callback used when invoking WP_Customize_Panel::active().


Description

Subclasses can override this with their specific logic, or they may provide an ‘active_callback’ argument to the constructor.


Top ↑

Return

bool Always true.


Top ↑

Source

File: wp-includes/class-wp-customize-panel.php. View all references

public function active_callback() {
	return true;
}

Top ↑

Changelog

Changelog
Version Description
4.1.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.