Admin

The Admin package provides plain PHP admin pages for managing T2 blocks and extensions within WordPress, registered under a top-level "T2" menu.

Last modified: September 15, 2026

link Structure

link Features

link Hooks

link admin/src/admin.php

T2 Admin Menu Page Title.
This filter allows you to change the title of the T2 admin menu page.

apply_filters( 't2/admin/menu_page/title', string $title )
Parameter Type Description
$title string The title of the T2 admin menu page.

T2 Admin Menu Page Icon.
This filter allows you to change the icon of the T2 admin menu page.

apply_filters( 't2/admin/menu_page/icon', string $icon )
Parameter Type Description
$icon string The base64 encoded SVG icon.