Overview of Restrictions in WooCommerce

With WooCommmerce Restrictions, you can protect Posts, Pages, Tags, Categories, Role-Based Capabilities, Custom Capabilities, and/or specific URIs matching a list of patterns you configure. You can then sell access using simple Products, variable Products, or grouped Products. If you're running WooCommerce Subscriptions, you can also sell access to Restrictions using simple or variable Subscriptions. Each […]

Is it compatible with syntax highlighters?

Yes. It is compatible with most syntax highlighters. Compatible Syntax Highlighters WP Syntax Highlight Pro (by WP Sharks™ — highly recommended) Syntax Highlighter Evolved WP Code Highlight.js Or any other that uses a JavaScript-based syntax highlighter like Highlight.js. Incompatible Syntax Highlighters WP Syntax Or any other that uses GeSHi, or another server-side highlighter. Stick to […]

Is it compatible with WooCommerce?

Yes. The same <pre>, <code>, <samp> `backtick`, and ```fenced``` code block preservation that occurs for Posts/Pages, also applies to WooCommerce product descriptions (both short & long descriptions). The same is also true for any custom post types introduced by other plugins you're running.

Which content filters are bypassed?

All of them. More precisely, content is tokenized ahead of time at filter priority -1000 (i.e., before all others in WP core and before most anything else in other plugins), and then the tokenized content is restored at filter priority 1000 (after all others are done). In other words, no content filters will be applied […]

Example Use Cases

WordPress Shortcode Developer The ⟨Pre⟩-serve plugin can be handy if you're a WordPress developer working on shortcodes of your own. For instance, with this plugin installed you can publish code samples (in WordPress) without needing to worry about the [shortcodes /] that you're writing about being parsed by your own site, and without needing to […]

General Overview

This plugin automatically pulls `backticks`, <pre>, <code>, and <samp> tags (and their contents) out of the content-filter equation in WordPress, making it easier to write code samples for others, which might include [shortcodes], HTML &entities;, CSS, JavaScript, or otherwise contain data that could be corrupted by default filters in WordPress, such as wpautop. This task […]