classes/PodsMeta.php
public function save_post_detect_new( $new_status, $old_status, $post ) {

		if ( $post ) {
			self::$old_post_status[ $post->post_type ] = $old_status;
		}

	}
public function save_post_detect_new( $new_status, $old_status, $post ) {

		if ( $post ) {
			self::$old_post_status[ $post->post_type ] = $old_status;
		}

	}
public function save_post_detect_new ( $ new_status , $ old_status , $ post ) { if ( $ post ) { self :: $ old_post_status [ $ post -> post_type ] = $ old_status ; } }
Handle integration with the transition_post_status hook

@see wp_transition_post_status

@param string  $new_status
@param string  $old_status
@param WP_Post $post
Handle integration with the transition_post_status hook