wordpress/wp-content/themes/basic/themify/themify-builder/includes/plugin-compat/armember.php
/**
	 * Show Builder contents only if user has access
	 *
	 * @access public
	 * @return bool
	 */
Show Builder contents only if user has access
@access public
@return bool
Show Builder contents only if user has access @access public @return bool
public static function themify_builder_display( $display, $post_id ) {
		global $arm_pay_per_post_feature;
		if ( ! empty( $arm_pay_per_post_feature->isPayPerPostFeature ) ) {
			$result = $arm_pay_per_post_feature->arm_paid_post_content_check_restriction( '' ); 
			if ( ! empty( $result ) ) {
				$display = false;
			}
		}
		return $display;
	}
public static function themify_builder_display ( $ display , $ post_id ) { global $ arm_pay_per_post_feature ; if ( ! empty ( $ arm_pay_per_post_feature -> isPayPerPostFeature ) ) { $ result = $ arm_pay_per_post_feature -> arm_paid_post_content_check_restriction ( '' ) ; if ( ! empty ( $ result ) ) { $ display = false ; } } return $ display ; }
Show Builder contents only if user has access
 @access public
 @return bool
Show Builder contents only if user has access @access public @return bool
// this function returns a message string if content is restricted, returns original string if not.