| @@ -63,5 +63,17 @@ | ||
| 63 | 63 | */ |
| 64 | 64 | public function set_value( $key, $meta_value, $post_id ) { |
| 65 | 65 | return WPSEO_Meta::set_value( $key, $meta_value, $post_id ); |
| 66 | 66 | } |
| 67 | + | |
| 68 | + /** | |
| 69 | + * Deletes a meta value for a post. | |
| 70 | + * | |
| 71 | + * @param string $key The internal key of the meta value to change (without prefix). | |
| 72 | + * @param int $post_id The ID of the post to delete the meta for. | |
| 73 | + * | |
| 74 | + * @return bool Whether the delete was successful or not. | |
| 75 | + */ | |
| 76 | + public function delete( $key, $post_id ) { | |
| 77 | + return WPSEO_Meta::delete( $key, $post_id ); | |
| 78 | + } | |
| 67 | 79 | } |