Disable RankMath ContentAI WordPress Function
What it does?
- Skips Rank Math Content AI – Filters out the
hasContentAI
test, preventing Rank Math from loading its Content AI suggestions in the post editor. - Adds a “Show More / Less” Toggle – Enqueues an inline jQuery snippet that wraps WooCommerce’s long description in a collapsible container.
- Clicking the button expands or collapses text, swaps the label, and—when collapsing—smooth-scrolls the page back to the description’s top.
- Button labels (“Show more” / “Show less”) are fully translatable through WordPress i18n.
Why it’s useful?
-
Faster, Cleaner Editor – Removing Content AI cuts API calls and UI clutter, making Rank Math’s analysis panel simpler and snappier.
-
User-Friendly Product Pages – Visitors aren’t overwhelmed by long blocks of text; they see a concise summary first and can dive deeper only if interested—especially valuable on mobile.
-
Polished Interaction – Smooth scrolling and dynamic label changes create a refined browsing experience that keeps shoppers engaged.
-
Localization-Ready – All front-end text respects your site’s language, preserving consistency across multilingual stores
Reviews
Clear filtersThere are no reviews yet.