41 lines
1.1 KiB
PHP
41 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* Deprecated compatibility toggles retained only as hard-off stubs.
|
|
*
|
|
* The rebuild now treats Zibll-style mainline pages as the only product target.
|
|
* Historical message center / PM entry points / compat template pickers stay on
|
|
* disk for legacy routing safety, but no longer participate in product-facing
|
|
* navigation or configuration decisions.
|
|
*
|
|
* @package AKSRT
|
|
*/
|
|
|
|
defined('ABSPATH') || exit;
|
|
|
|
if (!function_exists('aksrt_get_messages_url')) {
|
|
/**
|
|
* Legacy message center URL stub.
|
|
*/
|
|
function aksrt_get_messages_url(): string {
|
|
return home_url('/messages/');
|
|
}
|
|
}
|
|
|
|
if (!function_exists('aksrt_pm_frontend_enabled')) {
|
|
/**
|
|
* Private-message entry is disabled in the rebuilt mainline.
|
|
*/
|
|
function aksrt_pm_frontend_enabled(): bool {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
if (!function_exists('aksrt_show_compat_page_templates')) {
|
|
/**
|
|
* Compat-only page templates are hidden from the rebuilt product surface.
|
|
*/
|
|
function aksrt_show_compat_page_templates(): bool {
|
|
return false;
|
|
}
|
|
}
|