How To Hide Custom Fields Behind Leaky Paywall

If the content that you are hiding behind Leaky Paywall has custom fields, you will need to add an additional function to hide those values.

First add this function to your theme or functionality plugin.

Then, use that function in your theme file to hide/show the custom fields.

if ( !is_restricted_zeen101_post( $post->ID ) ) {
  // output custom fields here