Skip to content

Container visibility issues with condition post_term #1303

@r61boff

Description

@r61boff

Version

  • Carbon Fields: 3.6.9
  • WordPress: 6.8.2 (and earlier)
  • PHP: 8.0

Expected Behavior

If cpt sbmoffer has term sbmpriority with term_id 6, container with meta is showing

Actual Behavior

Container is hidden

Container definition

Container::make( 'post_meta', 'TEST')
	->where( 'post_type', '=', 'sbmoffer' )
	->where( 'post_term', '=', array(
		'field' => 'term_id',
		'value' => 6,
		'taxonomy' => 'sbmpriority',
	) )
	

	->add_fields( array(
		// Field::make( 'separator', 'testsep', 'Фильтры да/нет' )
	) )

Same trouble and there

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions