How to display the current and parent category in WordPress
Need to show the category hierarchy in your theme? Learn how to get the current category and its parent using get_the_category() and get_category_parents().
A Budapest company that runs a custom PHP application and falls under Hungary’s cybersecurity act does not carry that duty alone. The act pushes part of it onto contractors through the contract. I am Mariusz Szatkowski, a PHP developer based in Gdynia who works for Hungarian clients remotely and by email. This page reads the Hungarian act and the supervisor’s own pages, then shows what lands on the application and on whoever builds it. The legal position of your company is for you and your adviser.

The Hungarian Parliament on the Danube embankment. Photo: Godot13, CC BY-SA 4.0, taken from Wikimedia Commons.
The text is Act LXIX of 2024 on Hungary’s cybersecurity (Magyarország kiberbiztonságáról, short name Kiberbiztonsági tv.). Section 91(1) a) says the act serves compliance with the NIS 2 directive, Directive (EU) 2022/2555. Section 82(1) sets its entry into force at 1 January 2025. I read the consolidated text on net.jogtar.hu, which showed the version valid from 1 October to 31 December 2026 and a next version valid from 1 January 2027. The njt.hu portal did not answer when I tried it, so everything below comes from the net.jogtar.hu text and from sztfh.hu. A later consolidated version can change section numbers or wording.
Section 1(1) lists who is covered. Four groups matter for a company that is not part of the state:
Annex 2 is headed as sectors of particular risk and names, among others, cloud providers, data centre providers and providers of managed ICT and managed ICT security services. Annex 3 covers other risky sectors and includes digital providers: online marketplaces, search engines and social media platforms. A Budapest SaaS company or an online marketplace written in PHP may therefore be an entity itself, and a manufacturer or logistics firm may be a client of the application.
Section 23(1) assigns supervision by group. For entities in section 1(1) a) to c), the national cybersecurity authority designated by Government decree supervises. For entities in section 1(1) d) and e), which are the Annex 2 and 3 entities above, the SZTFH (the Hungarian regulated activities supervisory authority) supervises their electronic information systems. The SZTFH page on cybersecurity supervision says the same.
That split matters for contractors. A state-owned client works under the national authority, and sections 13 and 14 add duties on new systems: classification is submitted for approval before the development contract is signed, and the contract records the security requirements (section 13(3) b) and (4)). A private medium-sized client under the SZTFH does not get that chapter. It gets the general duties in section 6 and the SZTFH obligations below.
I found no separate supplier chapter. Two provisions carry the weight.
Section 6(5) d) applies to the head of the organisation. When the organisation uses a contractor to create, operate, audit, maintain or repair its information system, to handle cybersecurity incidents, or for data processing tied to the system, the head sees to it that the necessary cybersecurity requirements are met as contractual obligations. Section 6(6) adds that the head stays responsible for those tasks even when a contractor does them, except for services the organisation is obliged to take from a central provider.
Section 11(9) gives the person responsible for information system security a right to ask contractors for information about whether the requirements are met. That includes the data needed to support compliance and all documents produced on the system’s security. A PHP contractor should assume that these documents get requested.
The act does not write PHP requirements. It sets duties that a contract turns into engineering tasks. Reading section 6(3) to (5) against a typical application gives this list:
| Provision | What the application or the project needs |
|---|---|
| 6(3) point 1 | an inventory of the information systems and the supporting systems, so the PHP app, its database, queue and hosting appear on one list |
| 6(5) c) | traceability of events in the system, which means an audit log of logins, permission changes and data exports |
| 6(5) e) and f) | fast response to a cyber incident, a report to the competent incident-handling centre and prompt notice to those affected |
| 6(5) h) | tasks done in the shortest possible time |
| 6(8) and (9) | certified ICT products or services where a scheme exists, and where a decree makes them mandatory |
| 11(9) | answers and documents for the security officer, on request |
The act does not give a figure for reporting an incident in these sections, so the contract has to say how fast the contractor tells the client. I draft such a clause only as a technical proposal. The wording belongs to your lawyer.
For the audit log, a small append-only writer is enough to start. It records who did what and when, as one JSON line per event:
<?php
function audit(string $actor, string $action, string $target): void
{
$line = json_encode([
'at' => gmdate('c'),
'actor' => $actor,
'action' => $action,
'target' => $target,
], JSON_UNESCAPED_UNICODE) . "\n";
file_put_contents('/var/log/app/audit.log', $line, FILE_APPEND | LOCK_EX);
}The log path, retention and where the file is shipped are decisions for the client’s security officer, because section 6(5) c) asks for traceability and does not fix a format.
The SZTFH page on supervision and the act give these deadlines. They show what the client is doing in parallel while the application is built:
On 19 October 2026 the SZTFH reported that 2,220 organisations had sent it audit reports by 30 September 2026, and that nearly 90% passed their first audit. Of the audits it counted, 81.1% (1,804 organisations) classified their systems at the basic level. The authority named digital infrastructure and outsourced ICT services among the sectors with the strongest average results.
The act does not list PHP checks, and I will not invent them. This is what the development side can hand over when an auditor asks about section 6 duties:
composer.json and composer.lock. Composer’s install command accepts an --audit option that runs an audit after installation, per the Composer documentation.None of this replaces the audit. It shortens the time the auditor spends asking for it.
Section 8(1) requires an organisation that is not registered in Hungary and operates an information system under the act to designate in writing a representative operating in Hungary. The representative answers for the execution of the act under the rules for the head of the organisation, and the designation does not affect the liability of the organisation or its head. A Vienna or Bratislava group with a Budapest subsidiary should have this settled in the contract with its PHP supplier too, because the supplier needs to know who the contact is.
I need access to the repository and hosting, and a named contact for security questions. Custom PHP work in general is described on the PHP developer page.
If a Budapest company needs a PHP application that has to stand up to a cybersecurity audit, tell me through the contact form what the application does, where it runs and who supervises you. The first written estimate is free, and the legal reading of your duties stays with you and your adviser.
Examples of my work.
autogaz.olsztyn.pl is a website for a workshop in Olsztyn installing car gas systems, with service information and simple contact.
capslock.pl was a WooCommerce store for computer parts, built in 2013 with product catalogue, AB wholesaler integration, external marketplace exports, payments and performance optimisation.
The website project car-mechanic-huntington.co.uk was created with the aim of professionally presenting the services of a car workshop. The primary goal of t...
Describe your project by e-mail. I reply within 24 hours.
Describe your projectNeed to show the category hierarchy in your theme? Learn how to get the current category and its parent using get_the_category() and get_category_parents().
Need to get the URL of the first image or link in an article? Prefer DOMDocument over regex. Ready-made WordPress PHP for developers.
On 1 December 2026 Taylor Otwell shipped the Laravel Rust beta, and Laravel Go followed a day later. What the framework contains, what the 18x benchmark really measures, what happens to Laravel PHP and WordPress, and when a rewrite makes sense.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Stores, checkout flow, and sales logic.
Stability, updates, and post-launch support.
What the monthly care fee covers and what changes it.
Business process automation around WordPress and company systems.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.

How to start as a WordPress developer in 2026. Local environment, theme and plugin development, REST API and headless paths, security and Core Web Vitals. A practitioner playbook that does not waste your first month.

WordPress 7.0 with AI Client against Astro 7 with the Rust compiler and Vite 8. Speed, cost, SEO and security compared, plus the real bill for my own Astro 6 to 7 migration.

A detailed comparison table of EmDash CMS and WordPress across architecture, security, plugins, AI features, content model, hosting, and ecosystem maturity.