Code Duplication    Length = 4-4 lines in 2 locations

classes/PodsMeta.php 2 locations

@@ 1168-1171 (lines=4) @@
1165
			}
1166
		}
1167
1168
		if ( $is_new_item ) {
1169
			do_action( 'pods_meta_create_pre_post', $data, $pod, $id, $groups, $post, $post->post_type );
1170
			do_action( "pods_meta_create_pre_post_{$post->post_type}", $data, $pod, $id, $groups, $post );
1171
		}
1172
1173
		do_action( 'pods_meta_save_pre_post', $data, $pod, $id, $groups, $post, $post->post_type, $is_new_item );
1174
		do_action( "pods_meta_save_pre_post_{$post->post_type}", $data, $pod, $id, $groups, $post, $is_new_item );
@@ 1192-1195 (lines=4) @@
1189
1190
		pods_no_conflict_off( 'post' );
1191
1192
		if ( $is_new_item ) {
1193
			do_action( 'pods_meta_create_post', $data, $pod, $id, $groups, $post, $post->post_type );
1194
			do_action( "pods_meta_create_post_{$post->post_type}", $data, $pod, $id, $groups, $post );
1195
		}
1196
1197
		do_action( 'pods_meta_save_post', $data, $pod, $id, $groups, $post, $post->post_type, $is_new_item );
1198
		do_action( "pods_meta_save_post_{$post->post_type}", $data, $pod, $id, $groups, $post, $is_new_item );