Search by

humble-guys / humble-core

humbleguys

Internal WordPress application framework for Humble Guys projects.

Package info

github.com/HumbleGuys/humble-core

pkg:composer/humble-guys/humble-core

Statistics

Installs: 1 796

Dependents: 11

Suggesters: 0

Stars: 3

Open Issues: 0

0.2.2 2026-09-28 12:36 UTC

README

humble-core

WordPress 404 routes

Register a custom not-found page using Route::wp('404', $handler). When no WordPress route matches, the router sets the main query to 404, sends the 404 status and no-cache headers, and resolves this registered route. If no 404 route is registered, it returns a plain Not Found response with status 404.

Controller and rendering exceptions still go through the server-error handler.