HEX
Server: Apache
System: Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64
User: server (1002)
PHP: 8.3.20
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /home/muoapartman/www/wp-content/plugins/getwid/includes/blocks/anchor.php
<?php

namespace Getwid\Blocks;

class Anchor extends \Getwid\Blocks\AbstractBlock {

	protected static $blockName = 'getwid/anchor';

	public function __construct() {

		parent::__construct( self::$blockName );

		register_block_type(
			'getwid/anchor'
		);

	}

	public function getLabel() {
		return __('Anchor', 'getwid');
	}
}

getwid()->blocksManager()->addBlock(
	new \Getwid\Blocks\Anchor()
);