delete_site_meta_by_key( string $meta_key )
Deletes everything from site meta matching meta key.
Description Description
Parameters Parameters
- $meta_key
-
(string) (Required) Metadata key to search for when deleting.
Return Return
(bool) Whether the site meta key was deleted from the database.
Source Source
File: wp-includes/ms-site.php
function delete_site_meta_by_key( $meta_key ) { return delete_metadata( 'blog', null, $meta_key, '', true ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |