| 开发者 | mayurptl1994 |
|---|---|
| 更新时间 | 2026年8月16日 23:48 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
viblx/v1)visiblix-block-rules)viblx_register_conditions - register custom condition typesviblx_php_callbacks - allow-list PHP callback conditionsviblx_evaluation_context - extend evaluation contextviblx_should_render - override final visibilityVisiblixBlockRules\viblx()viblx/v1viblxConditions on every blockvisiblix-block-rules folder to /wp-content/plugins/, or install via Plugins > Add New.Yes. Conditions are added to every registered block type via the Block API.
No. Rules apply on the frontend so editors can always manage content. An optional dashed outline highlights conditional blocks in the editor.
No. The plugin only reads local CDN headers such as Cloudflare CF-IPCountry. You can override detection with the viblx_detect_country filter.
No. There is no telemetry.
The WooCommerce Purchase condition requires WooCommerce to be installed and active.
Register an allow-listed callable with the viblx_php_callbacks filter, then choose PHP Callback in the block sidebar.