Skip to content

Instantly share code, notes, and snippets.

@tivnet
Last active December 16, 2021 19:08
Show Gist options
  • Save tivnet/343297d89241693e1ce284b8f813797a to your computer and use it in GitHub Desktop.
Save tivnet/343297d89241693e1ce284b8f813797a to your computer and use it in GitHub Desktop.
Paywall for WooCommerce: shortcode [woopaywall_show_after_purchase]
[woopaywall_show_after_purchase]
The content placed here is hidden until paid.
For example, you can hide a YouTube video here:
[video src="https://www.youtube.com/watch?v=z6e_W6L6sTg"]
[/woopaywall_show_after_purchase]
@tivnet
Copy link
Author

tivnet commented Dec 16, 2021

This works with the Paywall for WooCommerce extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment