Un motore di ricerca WordPress per sviluppatori e autori di temi



delete_site_meta_by_key ›

Da5.1.0
Deprecaton/a
delete_site_meta_by_key ( $meta_key )
Parametri:
  • (string) $meta_key Metadata key to search for when deleting.
    Richiesto:
Ritorna:
  • (bool) Whether the site meta key was deleted from the database.
Definito a:
Codex:

Deletes everything from site meta matching meta key.



Sorgenti

function delete_site_meta_by_key( $meta_key ) {
	return delete_metadata( 'blog', null, $meta_key, '', true );
}