public function delete()
	{
		if ( ! $this->is_loaded() ) return false;

		$error = wp_delete_post( $this->attributes['ID'], $this->forceDelete );

		return $error !== false;
	}
public function delete()
	{
		if ( ! $this->is_loaded() ) return false;

		$error = wp_delete_post( $this->attributes['ID'], $this->forceDelete );

		return $error !== false;
	}
public function delete ( ) { if ( ! $ this -> is_loaded ( ) ) return false ; $ error = wp_delete_post ( $ this -> attributes [ 'ID' ] , $ this -> forceDelete ) ; return $ error !== false ; }
Deletes current model in the db.

@return mixed.
Deletes current model in the db .