Code Duplication    Length = 4-4 lines in 2 locations

classes/PodsMeta.php 2 locations

@@ 1222-1225 (lines=4) @@
1219
			}
1220
		}
1221
1222
		if ( $is_new_item ) {
1223
			do_action( 'pods_meta_create_pre_post', $data, $pod, $id, $groups, $post, $post->post_type );
1224
			do_action( "pods_meta_create_pre_post_{$post->post_type}", $data, $pod, $id, $groups, $post );
1225
		}
1226
1227
		do_action( 'pods_meta_save_pre_post', $data, $pod, $id, $groups, $post, $post->post_type, $is_new_item );
1228
		do_action( "pods_meta_save_pre_post_{$post->post_type}", $data, $pod, $id, $groups, $post, $is_new_item );
@@ 1246-1249 (lines=4) @@
1243
1244
		pods_no_conflict_off( 'post' );
1245
1246
		if ( $is_new_item ) {
1247
			do_action( 'pods_meta_create_post', $data, $pod, $id, $groups, $post, $post->post_type );
1248
			do_action( "pods_meta_create_post_{$post->post_type}", $data, $pod, $id, $groups, $post );
1249
		}
1250
1251
		do_action( 'pods_meta_save_post', $data, $pod, $id, $groups, $post, $post->post_type, $is_new_item );
1252
		do_action( "pods_meta_save_post_{$post->post_type}", $data, $pod, $id, $groups, $post, $is_new_item );