Code Duplication    Length = 3-3 lines in 4 locations

includes/general.php 4 locations

@@ 730-732 (lines=3) @@
727
		if ( !file_exists( $tags[ 'view' ] ) ) {
728
			$return = pods_view( $tags[ 'view' ], null, (int) $tags[ 'expires' ], $tags[ 'cache_mode' ] );
729
730
			if ( $tags[ 'shortcodes' ] && defined( 'PODS_SHORTCODE_ALLOW_SUB_SHORTCODES' ) && PODS_SHORTCODE_ALLOW_SUB_SHORTCODES ) {
731
				$return = do_shortcode( $return );
732
			}
733
		}
734
735
		return $return;
@@ 908-910 (lines=3) @@
905
        else
906
            $return = $pod->helper( $tags[ 'helper' ], $pod->field( $tags[ 'field' ] ), $tags[ 'field' ] );
907
908
		if ( $tags[ 'shortcodes' ] && defined( 'PODS_SHORTCODE_ALLOW_SUB_SHORTCODES' ) && PODS_SHORTCODE_ALLOW_SUB_SHORTCODES ) {
909
			$return = do_shortcode( $return );
910
		}
911
912
		return $return;
913
    }
@@ 922-924 (lines=3) @@
919
920
        $return = Pods_Pages::content( true, $pods_page );
921
922
		if ( $tags[ 'shortcodes' ] && defined( 'PODS_SHORTCODE_ALLOW_SUB_SHORTCODES' ) && PODS_SHORTCODE_ALLOW_SUB_SHORTCODES ) {
923
			$return = do_shortcode( $return );
924
		}
925
926
		return $return;
927
    }
@@ 947-949 (lines=3) @@
944
945
	$return = ob_get_clean();
946
947
	if ( $tags[ 'shortcodes' ] && defined( 'PODS_SHORTCODE_ALLOW_SUB_SHORTCODES' ) && PODS_SHORTCODE_ALLOW_SUB_SHORTCODES ) {
948
		$return = do_shortcode( $return );
949
	}
950
951
	return $return;
952
}