Title: Visiblix Block Rules
Author: Mayur Paneliya
Published: <strong>30 ກໍລະກົດ 2026</strong>
Last modified: 16 ສິງຫາ 2026

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/visiblix-block-rules/assets/banner-772x250.png?rev=3628977)

![](https://ps.w.org/visiblix-block-rules/assets/icon-256x256.png?rev=3628977)

# Visiblix Block Rules

 ໂດຍ [Mayur Paneliya](https://profiles.wordpress.org/mayurptl1994/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/visiblix-block-rules.1.0.0.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/visiblix-block-rules/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/visiblix-block-rules/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/visiblix-block-rules/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/visiblix-block-rules/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/visiblix-block-rules/)

## ຄຳອະທິບາຍ

**Visiblix Block Rules** adds a Visibility Conditions panel to every Gutenberg block.
Build AND/OR rules, then show or hide content automatically on the frontend – securely,
without injecting tracking scripts.

#### Features

 * Works with any Gutenberg block
 * Login status and user roles
 * Device (desktop / tablet / mobile) and browser
 * Date and time ranges plus recurring schedules
 * Country detection via CDN headers (no remote geo API)
 * URL parameters and custom fields
 * WooCommerce purchase history
 * Membership levels (MemberPress, Restrict Content Pro, WooCommerce Memberships)
 * Allow-listed PHP callbacks for advanced logic
 * Export / import condition sets as JSON
 * REST API (`viblx/v1`)
 * Request-aware caching with safe fingerprints
 * Admin Dashboard, Settings, Help Center, and Developers docs
 * Fully translatable (text domain: `visiblix-block-rules`)

#### How to use

 1. Activate the plugin.
 2. Open **Block Visibility** in the WordPress admin menu.
 3. Edit any post or page in the block editor.
 4. Select a block and open **Visibility Conditions** in the sidebar.
 5. Enable conditions, choose Show or Hide, set AND/OR logic, and add rules.
 6. Update the post and preview on the frontend.

#### Privacy

Visiblix Block Rules does not phone home. Country rules read local CDN request headers
only.

#### Frequently used hooks

 * `viblx_register_conditions` – register custom condition types
 * `viblx_php_callbacks` – allow-list PHP callback conditions
 * `viblx_evaluation_context` – extend evaluation context
 * `viblx_should_render` – override final visibility

See **Block Visibility > Developers** in wp-admin for full hook documentation with
examples.

#### Developer notes

 * Namespace: `VisiblixBlockRules\`
 * Global helper: `viblx()`
 * REST namespace: `viblx/v1`
 * Conditions attribute: `viblxConditions` on every block

#### Credits

Built by Mayur Paneliya. Uses the WordPress Block API, Settings API, and REST API.

#### License

GPLv2 or later.

## ພາບໜ້າຈໍ

[⌊Dashboard overview with welcome steps and quick links⌉⌊Dashboard overview with
welcome steps and quick links⌉[

Dashboard overview with welcome steps and quick links

[⌊Settings - caching, editor indicators, and enabled condition types⌉⌊Settings -
caching, editor indicators, and enabled condition types⌉[

Settings – caching, editor indicators, and enabled condition types

[[

[[

## ການຕິດຕັ້ງ

 1. Upload the `visiblix-block-rules` folder to `/wp-content/plugins/`, or install 
    via **Plugins > Add New**.
 2. Activate **Visiblix Block Rules**.
 3. Open **Block Visibility** in the admin menu.
 4. Edit any post, select a block, and configure **Visibility Conditions**.

## ຄຳຖາມທີ່ພົບເລື້ອຍ

### Does this work with all blocks?

Yes. Conditions are added to every registered block type via the Block API.

### Will hidden blocks disappear in the editor?

No. Rules apply on the frontend so editors can always manage content. An optional
dashed outline highlights conditional blocks in the editor.

### Does country detection call an external service?

No. The plugin only reads local CDN headers such as Cloudflare `CF-IPCountry`. You
can override detection with the `viblx_detect_country` filter.

### Is any visitor data sent off-site?

No. There is no telemetry.

### Why is WooCommerce marked Unavailable?

The WooCommerce Purchase condition requires WooCommerce to be installed and active.

### How do I add a custom PHP rule?

Register an allow-listed callable with the `viblx_php_callbacks` filter, then choose**
PHP Callback** in the block sidebar.

## ການຣີວິວ

![](https://secure.gravatar.com/avatar/0aa9afafac05b42ebdc8b5b7e62f5c285084fd7dd84486afe28aad02faff1576?
s=60&d=retro&r=g)

### 󠀁[Easy to use](https://wordpress.org/support/topic/easy-to-use-5386/)󠁿

 [tusharmalvi](https://profiles.wordpress.org/tusharmalvi/) 31 ກໍລະກົດ 2026

I’ve used this plugin on my site, and it works really well. It offers a wide range
of conditions to hide specific page content blocks. It’s easy to use, simple to 
manage, and does exactly what I need.

 [ ອ່ານການຣີວິວທັງໝົດ 1 ລາຍການ ](https://wordpress.org/support/plugin/visiblix-block-rules/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Visiblix Block Rules” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມ
ໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Mayur Paneliya ](https://profiles.wordpress.org/mayurptl1994/)

[ແປ “Visiblix Block Rules” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/visiblix-block-rules)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/visiblix-block-rules/), 
ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/visiblix-block-rules/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/visiblix-block-rules/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/visiblix-block-rules/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.0.0

 * Initial release
 * Conditional visibility for all Gutenberg blocks
 * Admin Dashboard, Settings, Help Center, Developers
 * REST API, caching, export/import, multilingual support

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.0.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **2 ອາທິດ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **ໜ້ອຍກວ່າ 10**
 *  ເວີຊັນ WordPress ** 6.0 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **7.1**
 *  ເວີຊັນ PHP ** 7.4 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/visiblix-block-rules/)
 * ແທັກ
 * [blocks](https://lo.wordpress.org/plugins/tags/blocks/)[conditions](https://lo.wordpress.org/plugins/tags/conditions/)
   [gutenberg](https://lo.wordpress.org/plugins/tags/gutenberg/)[visibility](https://lo.wordpress.org/plugins/tags/visibility/)
   [woocommerce](https://lo.wordpress.org/plugins/tags/woocommerce/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/visiblix-block-rules/advanced/)

## ການໃຫ້ຄະແນນ

 4 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/visiblix-block-rules/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/visiblix-block-rules/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/visiblix-block-rules/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/visiblix-block-rules/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/visiblix-block-rules/reviews/?filter=1)

[ການທົບທວນຂອງທ່ານ](https://wordpress.org/support/plugin/visiblix-block-rules/reviews/#new-post)

[ເບິ່ງທັງໝົດ ການຣີວິວ](https://wordpress.org/support/plugin/visiblix-block-rules/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Mayur Paneliya ](https://profiles.wordpress.org/mayurptl1994/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/visiblix-block-rules/)