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]
@TianRB
Copy link

TianRB commented Dec 16, 2021

Is there an additional step required for this to work? Docs seem to be incomplete, adding this shortcode to any page seems to have no effect whatsoever

@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