Title: filter to set &quot;Inline all CSS?&quot;
Last modified: August 24, 2016

---

# filter to set "Inline all CSS?"

 *  Resolved [mjg2](https://wordpress.org/support/users/mjg2/)
 * (@mjg2)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/filter-to-set-inline-all-css/)
 * Hi Frank,
 * I see the list of filters for the AO API here: [https://github.com/futtta/autoptimize/](https://github.com/futtta/autoptimize/)
   and was curious if there was an option or if one might be added to hook into 
   the admin setting of “Inline all CSS?”
 * I’d like to potentially use this for my mobile them in WP-Touch to get a better
   mobile page score. Most of the traffic we have from mobile are just for a page
   or two on our blog so I think it would fit well. However, I don’t want this to
   happen on our desktop theme, so having a way to change this via a filter and 
   our own conditional logic would be great.
 * Thanks,
    – Joe
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/filter-to-set-inline-all-css/#post-6014398)
 * There is, in the upcoming 1.9.3 (due to arrive later this week); `autoptimize_filter_css_inline`
 * If you download the zip-[file from the github-repo](https://github.com/futtta/autoptimize),
   you can use it immediately.
 * have fun!
    frank

Viewing 1 replies (of 1 total)

The topic ‘filter to set "Inline all CSS?"’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/filter-to-set-inline-all-css/#post-6014398)
 * Status: resolved