wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



unregister_block_pattern › WordPress Function

Od5.5.0
Przestarzałyn/a
› unregister_block_pattern ( $pattern_name )
Parametry:
  • (string) $pattern_name Block pattern name including namespace.
    Wymagane: Tak
Powrót:
  • (bool) True if the pattern was unregistered with success and false otherwise.
Zdefiniowane na:
Codex:

Unregisters a block pattern.



Źródło

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