WP_Block_Type_Registry::__wakeup()
Метод класса: WP_Block_Type_Registry{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WP_Block_Type_Registry = new WP_Block_Type_Registry(); $WP_Block_Type_Registry->__wakeup();
Код WP_Block_Type_Registry::__wakeup() WP Block Type Registry:: wakeup WP 6.6.2
public function __wakeup() { if ( ! $this->registered_block_types ) { return; } if ( ! is_array( $this->registered_block_types ) ) { throw new UnexpectedValueException(); } foreach ( $this->registered_block_types as $value ) { if ( ! $value instanceof WP_Block_Type ) { throw new UnexpectedValueException(); } } }