# Output Rank Math Focus Keywords as Meta Keywords

> Prints a meta keywords tag built from each post's Rank Math focus keywords, for internal search tools and older engines that still read it.

- Type: PHP
- Runs: Frontend only
- Category: [Plugin Integrations](https://wpide.com/library/category/integrations/)
- Tags: rank-math, meta, keywords
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/rankmath-show-meta-keywords/

## Code

```php
add_filter( 'rank_math/frontend/show_keywords', '__return_true' );
```

## Notes

Google ignores meta keywords, and competitors can read them.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Output Rank Math Focus Keywords as Meta Keywords" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
