Title: When does &#8220;the_seo_framework_robots_meta_array&#8221; run?
Last modified: February 23, 2022

---

# When does “the_seo_framework_robots_meta_array” run?

 *  Resolved [boybawang](https://wordpress.org/support/users/boybawang/)
 * (@boybawang)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/when-does-the_seo_framework_robots_meta_array-run/)
 * Hello –
 * A while back I created [this support topic](https://wordpress.org/support/topic/filter-for-setting-index-and-follow-options-on-category/)
   regarding programmatically removing the ‘noindex’ attribute for certain categories.
 * I’m a bit confused about how to implement that. When exactly does that filter
   get applied? Upon post creation?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [boybawang](https://wordpress.org/support/users/boybawang/)
 * (@boybawang)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/when-does-the_seo_framework_robots_meta_array-run/#post-15396929)
 * **EDIT from above:**
 * Rather than unsetting the **noindex** directive for certain categories, how can
   I unset the directive for a specific page? For example, the default directive
   for a post type is **noindex**, but there are certain pages for that post type
   I’d like to have indexed.
    -  This reply was modified 4 years, 3 months ago by [boybawang](https://wordpress.org/support/users/boybawang/).
    -  This reply was modified 4 years, 3 months ago by [boybawang](https://wordpress.org/support/users/boybawang/).
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/when-does-the_seo_framework_robots_meta_array-run/#post-15402621)
 * Hello!
 * That filter gets applied whenever the robots-metadata is requested: During post/
   term creating, post/term display, sitemap creation, SEOBar, etc. The data of 
   the filter is not stored anywhere on the server. The filter works retroactively
   for all pages of your website and can be fine-tuned by reading the second and
   third parameters.
 * You cannot override that filter in its current state. In fact, I recommend not
   using the filter at all — instead, rely solely on the interface.
 * Via the interface at “SEO Settings -> Robots Meta Settings -> Indexing”, you 
   can deindex post types, categories, tags, etc. globally. Then, when you edit 
   a specific post or term, you can select “index” to override the global setting.
 *  Thread Starter [boybawang](https://wordpress.org/support/users/boybawang/)
 * (@boybawang)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/when-does-the_seo_framework_robots_meta_array-run/#post-15404206)
 * Hi [@cybr](https://wordpress.org/support/users/cybr/) – Thanks for the info. 
   I realize I can override manually via the interface, but was hoping to do this
   programmatically. That’s OK, as this really isn’t that big of a deal.
 * I’ll go ahead and close this out. Thanks for an awesome plugin!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘When does “the_seo_framework_robots_meta_array” run?’ is closed to new
replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [hook](https://wordpress.org/support/topic-tag/hook/)

 * 3 replies
 * 2 participants
 * Last reply from: [boybawang](https://wordpress.org/support/users/boybawang/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/when-does-the_seo_framework_robots_meta_array-run/#post-15404206)
 * Status: resolved