je-dynamic-visibility-condition
OfficialAdd custom JetEngine visibility conditions.
System Documentation
What problem does it solve?
This Skill solves the challenge of extending JetEngine Dynamic Visibility with custom condition logic that works consistently across editor UI and rendering contexts.
Core Features & Use Cases
- JetEngine Dynamic Visibility extension contract: Registers a custom condition by hooking jet-engine/modules/dynamic-visibility/conditions/register and providing a class that extends \Jet_Engine\Modules\Dynamic_Visibility\Conditions\Base.
- Correct show/hide semantics: Ensures check() returns the proper boolean based on the user’s intent in $args['type'] ('show' vs 'hide') so the UI behaves as expected.
- Context-aware value resolution: Uses get_current_value($args) to read WP_Post/WP_User/WP_Term/WP_Comment and listing macros correctly instead of relying on raw meta reads.
- UI behavior controls: Guides proper configuration of get_id(), get_name(), get_group(), is_for_fields(), need_value_detect(), need_type_detect(), and get_custom_controls() so the condition appears in the right place in the dropdown and shows the right inputs.
Quick Start
Tell the AI: create a JetEngine Dynamic Visibility custom condition class extending \Jet_Engine\Modules\Dynamic_Visibility\Conditions\Base, implement get_id()/get_name()/check() with correct $args['type'] inversion and use get_current_value($args) for listing-aware meta, then register it on jet-engine/modules/dynamic-visibility/conditions/register from your companion plugin.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: je-dynamic-visibility-condition Download link: https://github.com/vikingokft/wp-agent-skills/archive/main.zip#je-dynamic-visibility-condition Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.