next_tag( 'td' ) && $vertical_align ) { $td->add_class( "align-v-{$vertical_align}" ); } return $td; } /** * Register the block. */ public function block_registration() { $defaults = new \Tableberg\Defaults(); register_block_type( TABLEBERG_DIR_PATH . 'build/cell/block.json', array( 'attributes' => $defaults->get_default_attributes( 'tableberg/cell' ), 'render_callback' => array( $this, 'render_tableberg_cell_block' ), ) ); } }