Code Duplication    Length = 4-4 lines in 2 locations

classes/PodsMeta.php 2 locations

@@ 1162-1165 (lines=4) @@
1159
			}
1160
		}
1161
1162
		if ( $is_new_item ) {
1163
			do_action( 'pods_meta_create_pre_post', $data, $pod, $id, $groups, $post, $post->post_type );
1164
			do_action( "pods_meta_create_pre_post_{$post->post_type}", $data, $pod, $id, $groups, $post );
1165
		}
1166
1167
		do_action( 'pods_meta_save_pre_post', $data, $pod, $id, $groups, $post, $post->post_type, $is_new_item );
1168
		do_action( "pods_meta_save_pre_post_{$post->post_type}", $data, $pod, $id, $groups, $post, $is_new_item );
@@ 1186-1189 (lines=4) @@
1183
1184
		pods_no_conflict_off( 'post' );
1185
1186
		if ( $is_new_item ) {
1187
			do_action( 'pods_meta_create_post', $data, $pod, $id, $groups, $post, $post->post_type );
1188
			do_action( "pods_meta_create_post_{$post->post_type}", $data, $pod, $id, $groups, $post );
1189
		}
1190
1191
		do_action( 'pods_meta_save_post', $data, $pod, $id, $groups, $post, $post->post_type, $is_new_item );
1192
		do_action( "pods_meta_save_post_{$post->post_type}", $data, $pod, $id, $groups, $post, $is_new_item );