Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbohacek committed Feb 12, 2023
1 parent f1691b7 commit abbbc38
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions includes/newonbotwiki.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,6 @@ public function post_update( $new_status, $old_status, $post ) {
}

} elseif ( $post->post_type === 'resource' ){
log_this(array(
'$post_id' => $post_id
));


$post_terms = wp_get_post_terms( $post_id, 'resource_type' );
$term = $post_terms[0];
$resource_type = strtolower( $term->name );
Expand Down

0 comments on commit abbbc38

Please sign in to comment.