public function restore_post_revision( $post_id, $revision_id ) {
		if ( papi_is_empty( papi_get_entry_type_by_meta_id( $post_id, 'post' ) ) ) {
			return;
		}

		$meta = get_post_meta( $revision_id );

		foreach ( $meta as $key => $value ) {
			if ( $key[0] === '_' && $key !== papi_get_page_type_key() ) {
				continue;
			}

			papi_data_update( $post_id, $key, array_shift( $value ) );
		}
	}