ACF\Blocks

Bindings::__constructpublicACF 1.0

Block Bindings constructor.

Method of the class: Bindings{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Bindings = new Bindings();
$Bindings->__construct();

Bindings::__construct() code ACF 6.8.8

public function __construct() {
	// Final check we're on WP 6.5 or newer.
	if ( ! function_exists( 'register_block_bindings_source' ) ) {
		return;
	}

	add_action( 'acf/init', array( $this, 'register_binding_sources' ) );
}