feat(wpmc S5): TitleFilter hooks the_title + single_cat_title do_shortcode
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace WPMultiCity;
|
||||
|
||||
final class TitleFilter
|
||||
{
|
||||
public static function register(): void
|
||||
{
|
||||
\add_filter('the_title', 'do_shortcode', 9999);
|
||||
\add_filter('single_cat_title', 'do_shortcode', 9999);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user