wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



unregister_block_pattern › WordPress Function

Seit5.5.0
Veraltetn/v
unregister_block_pattern ( $pattern_name )
Parameter:
  • (string) $pattern_name Block pattern name including namespace.
    Erforderlich: Ja
Gibt zurück:
  • (bool) True if the pattern was unregistered with success and false otherwise.
Definiert in:
Codex:

Unregisters a block pattern.



Quellcode

function unregister_block_pattern( $pattern_name ) {
	return WP_Block_Patterns_Registry::get_instance()->unregister( $pattern_name );
}