Code Duplication    Length = 4-4 lines in 2 locations

classes/PodsMeta.php 2 locations

@@ 1205-1208 (lines=4) @@
1202
			}
1203
		}
1204
1205
		if ( $is_new_item ) {
1206
			do_action( 'pods_meta_create_pre_post', $data, $pod, $id, $groups, $post, $post->post_type );
1207
			do_action( "pods_meta_create_pre_post_{$post->post_type}", $data, $pod, $id, $groups, $post );
1208
		}
1209
1210
		do_action( 'pods_meta_save_pre_post', $data, $pod, $id, $groups, $post, $post->post_type, $is_new_item );
1211
		do_action( "pods_meta_save_pre_post_{$post->post_type}", $data, $pod, $id, $groups, $post, $is_new_item );
@@ 1229-1232 (lines=4) @@
1226
1227
		pods_no_conflict_off( 'post' );
1228
1229
		if ( $is_new_item ) {
1230
			do_action( 'pods_meta_create_post', $data, $pod, $id, $groups, $post, $post->post_type );
1231
			do_action( "pods_meta_create_post_{$post->post_type}", $data, $pod, $id, $groups, $post );
1232
		}
1233
1234
		do_action( 'pods_meta_save_post', $data, $pod, $id, $groups, $post, $post->post_type, $is_new_item );
1235
		do_action( "pods_meta_save_post_{$post->post_type}", $data, $pod, $id, $groups, $post, $is_new_item );