apply_filters( "tec_block_{$block_name}_has_block", bool $has_block, WP_Post|null $wp_post, int|null $post_id, Tribe__Editor__Blocks__Abstract $this )

Filters whether the post has this block.


Parameters

$has_block

(bool) Whether the post has this block.

$wp_post

(WP_Post|null) The post object.

$post_id

(int|null) The post ID.

$this

(Tribe__Editor__Blocks__Abstract) The block object.


Top ↑

Source

File: src/Tribe/Editor/Blocks/Abstract.php


Top ↑

Changelog

Changelog
Version Description
5.1.5 Introduced.