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 customer portal, a booking system or a back office tool written in PHP usually holds names, e-mail addresses and order history. When something goes wrong, for example a leaked export, a stolen administrator password or a plugin vulnerability that exposed a table, the company has a short window to decide whether the Belgian Data Protection Authority must be told. The authority is the Gegevensbeschermingsautoriteit (GBA), in French the Autorite de protection des donnees.

Photo: Martinvl, CC BY-SA 4.0, Wikimedia Commons.
This page reads the GBA’s own breach notification page for a developer: which rules it states, and which parts of a PHP application make them easier or harder to follow. It is not legal advice. Your lawyer or data protection officer decides whether a given incident is notifiable.
The GBA’s page on gegevensinbreuk states the following:
The GBA’s homepage for professionals links the same topic from its actions section and points to the web portal login and a portal FAQ. The page also lists the EDPB guidelines on breach notification as supporting material. They are published as Guidelines 9/2022 on personal data breach notification under GDPR, final version 2.0, dated 4 April 2023.
The legal basis is Article 33 of Regulation (EU) 2016/679 (EUR-Lex). Its paragraph 2 makes a processor notify the controller without undue delay after becoming aware of a breach. Paragraph 3 lists what a notification contains: the nature of the breach, the contact point, the likely consequences and the measures taken. Paragraph 4 allows information to follow in phases. Paragraph 5 requires the controller to document every breach. This text was read from a public copy of the regulation, so check the wording on EUR-Lex before relying on it in a contract.
The GBA page sets language rules that surprise teams working in English:
A Ghent company that works with an English speaking development team should settle in advance who writes the Dutch text of the report, and in which format technical evidence such as log extracts reaches that person. The development team supplies facts in a form that can be pasted into an attachment. The controller signs off the wording.
The 72 hour clock starts at awareness, and the GBA portal asks the controller to describe the breach. Both are easier when the application already keeps a record. Four things help:
A register needs no package. A migration and a model are enough, and a person fills it in. The table keeps the awareness time apart from the notification time, because the difference between them is the number a regulator asks about.
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('data_breaches', function (Blueprint $table) {
$table->id();
$table->timestamp('aware_at');
$table->timestamp('notified_at')->nullable();
$table->text('facts');
$table->text('effects');
$table->text('remedial_action');
$table->text('delay_reason')->nullable();
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('data_breaches');
}
};The delay_reason column exists because a report made after 72 hours has to explain the delay. A small method on the model shows the deadline to the person working the incident:
<?php
namespace App\Models;
use Carbon\CarbonImmutable;
use Illuminate\Database\Eloquent\Model;
class DataBreach extends Model
{
protected $guarded = [];
protected $casts = [
'aware_at' => 'immutable_datetime',
'notified_at' => 'immutable_datetime',
];
public function notificationDeadline(): CarbonImmutable
{
return $this->aware_at->addHours(72);
}
public function isLate(): bool
{
$filedAt = $this->notified_at ?? CarbonImmutable::now();
return $filedAt->greaterThan($this->notificationDeadline());
}
}The register does not decide whether a breach is notifiable, and it does not file anything with the GBA. It keeps the facts in one place, so the person who files has them at hand and the 72 hours are not spent on reconstruction.
Because e-mail is not an option, the filing person needs portal access before an incident, not during one. Two details from the GBA page matter for planning:
Neither detail changes the 72 hour expectation. They are a reason to create the company account early and to keep the fact sheet ready.
When a PHP developer or an agency hosts, maintains or has access to an application that holds personal data, the developer acts as a processor. Article 33(2) then requires the processor to inform the controller without undue delay after becoming aware of a breach. In a written processing agreement the useful additions are practical: who is contacted, through which channel, what facts are in the first message and who confirms receipt.
A developer’s first message should contain facts only: when the problem was noticed, which system, what is known about the data, and what has already been contained. The controller decides about the report and writes it in one of the three accepted languages.
The work is done remotely. For the WordPress side of a Ghent project see WordPress developer in Ghent, for ongoing updates WordPress maintenance in Ghent, and for the general overview the PHP developer page. To start, describe the application and the data it holds through the contact page.
| Question | Why it matters |
|---|---|
| Is there a log of security events with timestamps? | The 72 hour clock starts at awareness, and the log shows when. |
| Is there a breach register? | Every breach is documented, including those not reported. |
| Which tables hold personal data? | It answers which people are affected. |
| Who files in the GBA portal, and is the account ready? | E-mail notifications are not handled. |
| Who writes the Dutch, French or German text? | Other languages make the notification inadmissible. |
| How does a processor reach the controller? | The processor must report without undue delay. |
Examples of my work.
Effective e-Publishing is an innovative project focused on digital content creation, import, publishing, and distribution. This platform is designed for effe...
satyr.pl was a Polish satirical and adult-humour website from 2000-2015, built around WordPress publishing, multimedia, comments, ratings and performance work.
The merkam.eu website was designed for a manufacturer of kitchen countertops made from granite, conglomerate, and marble. The site's purpose is to showcase the product offering, gallery of completed projects, and generate inquiries from clients interested in modern kitchen solutions.
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.