// --- TEMP FIX: remove Author Cats license banner from front-end output ---
add_action('template_redirect', function () {
if (is_admin()) return;
ob_start(function ($html) {
// Remove any block that contains the Author Cats dashboard link
$html = preg_replace(
'#<[^>]+>\s*Your\s+license\s+is\s+expired.*?authorcats\.com/dashboard.*?[^>]+>#is',
'',
$html
);
// Fallback: if the above misses, at least remove the link itself
$html = preg_replace(
'#]+href=["\']https?://authorcats\.com/dashboard/["\'][^>]*>.*?#is',
'',
$html
);
return $html;
});
}, 0);
Tanya Birdhttps://validator.w3.org/feed/docs/rss2.htmlThe Companion series bundleRoman HeartsA Legate’s Pledge #3A Charioteer’s Promise #2A Gladiator’s Oath #1The Rebel’s Queen #6The Captain’s Prize #5The King’s Obsession #4The Majestic Impostor #3The Common Girl #2The Royal Companion #1Defender of Crowns #3Defender of Hearts #2Defender of Walls #1The Rebel’s Queen #6The Captain’s Prize #5The King’s Obsession #4The Majestic Impostor #3The Common Girl #2The Royal Companion #1The Companion seriesAboutDefender of Crowns #3Defender of Hearts #2Defender of Walls #1PromotionsFor Better or for CurseKingdom of Walls refreshKingdom of Chains #1Kingdom of Chains #1Mafioso’s MuseThe Common Girl up sell pageBorder of BonesCourt of BladesBlogFor Better or for CurseRomance audiobook giveaway on SpotifyCourt of BladesFor Better or For Curse #1Breathing WaterBorder of Bones #3Shards of You and MeMafioso’s MuseCourt of Blades #2Border of Bones #3Court of Blades #2ChewyContactBorder of BonesHome