Code Duplication    Length = 3-3 lines in 4 locations

includes/general.php 4 locations

@@ 669-671 (lines=3) @@
666
		if ( !file_exists( $tags[ 'view' ] ) ) {
667
			$return = pods_view( $tags[ 'view' ], null, (int) $tags[ 'expires' ], $tags[ 'cache_mode' ] );
668
669
			if ( $tags[ 'shortcodes' ] && defined( 'PODS_SHORTCODE_ALLOW_SUB_SHORTCODES' ) && PODS_SHORTCODE_ALLOW_SUB_SHORTCODES ) {
670
				$return = do_shortcode( $return );
671
			}
672
		}
673
674
		return $return;
@@ 847-849 (lines=3) @@
844
        else
845
            $return = $pod->helper( $tags[ 'helper' ], $pod->field( $tags[ 'field' ] ), $tags[ 'field' ] );
846
847
		if ( $tags[ 'shortcodes' ] && defined( 'PODS_SHORTCODE_ALLOW_SUB_SHORTCODES' ) && PODS_SHORTCODE_ALLOW_SUB_SHORTCODES ) {
848
			$return = do_shortcode( $return );
849
		}
850
851
		return $return;
852
    }
@@ 861-863 (lines=3) @@
858
859
        $return = Pods_Pages::content( true, $pods_page );
860
861
		if ( $tags[ 'shortcodes' ] && defined( 'PODS_SHORTCODE_ALLOW_SUB_SHORTCODES' ) && PODS_SHORTCODE_ALLOW_SUB_SHORTCODES ) {
862
			$return = do_shortcode( $return );
863
		}
864
865
		return $return;
866
    }
@@ 886-888 (lines=3) @@
883
884
	$return = ob_get_clean();
885
886
	if ( $tags[ 'shortcodes' ] && defined( 'PODS_SHORTCODE_ALLOW_SUB_SHORTCODES' ) && PODS_SHORTCODE_ALLOW_SUB_SHORTCODES ) {
887
		$return = do_shortcode( $return );
888
	}
889
890
	return $return;
891
}