WP_Customize_Control::active_callback

Advertisement

Summery Summery

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

Syntax Syntax

WP_Customize_Control::active_callback()

Description Description

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

Return Return

(true) Always true.

Source Source

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

	public function active_callback() {
		return true;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.