Code Duplication    Length = 4-4 lines in 2 locations

classes/PodsMeta.php 2 locations

@@ 1292-1295 (lines=4) @@
1289
				}
1290
			}
1291
1292
			if ( $is_new_item ) {
1293
				do_action( 'pods_meta_create_pre_post', $data, $pod, $id, $groups, $post, $post->post_type );
1294
				do_action( "pods_meta_create_pre_post_{$post->post_type}", $data, $pod, $id, $groups, $post );
1295
			}
1296
1297
			do_action( 'pods_meta_save_pre_post', $data, $pod, $id, $groups, $post, $post->post_type, $is_new_item );
1298
			do_action( "pods_meta_save_pre_post_{$post->post_type}", $data, $pod, $id, $groups, $post, $is_new_item );
@@ 1319-1322 (lines=4) @@
1316
		}
1317
1318
		if ( false !== $nonced && ! empty( $groups ) ) {
1319
			if ( $is_new_item ) {
1320
				do_action( 'pods_meta_create_post', $data, $pod, $id, $groups, $post, $post->post_type );
1321
				do_action( "pods_meta_create_post_{$post->post_type}", $data, $pod, $id, $groups, $post );
1322
			}
1323
1324
			do_action( 'pods_meta_save_post', $data, $pod, $id, $groups, $post, $post->post_type, $is_new_item );
1325
			do_action( "pods_meta_save_post_{$post->post_type}", $data, $pod, $id, $groups, $post, $is_new_item );