Title: &#8216;postprocessor&#8217; option usage
Last modified: September 26, 2019

---

# ‘postprocessor’ option usage

 *  Resolved [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/postprocessor-options-usage/)
 * Hi,
    I encounter an issue trying to access this option programmatically, i couldn’t
   figured out a way.
 * The ‘postprocessor’ is being used within Minify class, there is a comment right
   above it which say:
 * > // do any post-processing (esp. for editing build URIs)
 * Which is great, just want i need, i callback function so i can change the minified
   content before is being saved on the server.
 * But how to i set this option programmatically?! Apparently there’s no way to 
   do that. The Minify class is being invoked in Minify_MinifiedFileRequestHandler
   and the options array is being created at function process() through $serve_options
   variable.
 * There is an invocation on the same function on `$this->_config->get_array( 'minify.
   options' )` but i either don’t see a way to add a default option to ‘minify.options’
 * Thanks for your help !

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/postprocessor-options-usage/#post-11971739)
 * Hello [@tdgu](https://wordpress.org/support/users/tdgu/),
 * Thank you for your inquiry and I am happy to assist you with this.
    One of the
   ways to modify minify.options value is in your W3 Total Cache configuration file(
   wp-content/w3tc-config/master.php file). I hope this helps and please let us 
   know if there is anything else we can help you with.
 *  Thread Starter [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/postprocessor-options-usage/#post-11972220)
 * Hi [@vmarko](https://wordpress.org/support/users/vmarko/),
    Thanks for your response.
   This isn’t actually a solution for me, as i intend to use that in a custom plugin,
   so i don’t have access on the client wp-content/w3tc-config/master.php file. 
   Is there any other way do that programmatically?
 * Thanks for your help !
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/postprocessor-options-usage/#post-11972354)
 * Hello [@tdgu](https://wordpress.org/support/users/tdgu/),
 * Unfortunately, this cannot be done in a current version of the plugin. However,
   we’ve added an issue in our [GitHub](https://github.com/W3EDGE/w3-total-cache/issues/56)
   public repository for this and this will be added for future release. Please 
   make sure to checkout the GitHub issue regularly so you can be up to date with
   this.
    Thank you for bringing this to our attention and thank you for your patience.
 *  Thread Starter [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/postprocessor-options-usage/#post-11972420)
 * Hi [@vmarko](https://wordpress.org/support/users/vmarko/),
    Hopefully this will
   be implement sometime soon.
 * Thanks for your help !
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/postprocessor-options-usage/#post-11972469)
 * Hello [@tdgu](https://wordpress.org/support/users/tdgu/),
    You are most welcome.
   We would really appreciate if you could take a minute and post a review [here](https://wordpress.org/support/plugin/w3-total-cache/reviews/).
   This will help us to continue offering a top-notch product to users. Thank you
   for your help!
 *  Thread Starter [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/postprocessor-options-usage/#post-12051117)
 * Hi,
    Checking with the status of this implementation, as the [issue](https://github.com/W3EDGE/w3-total-cache/issues/56)
   has not changed since you created.
 * Thanks
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/postprocessor-options-usage/#post-12407065)
 * Hello [@tdgu](https://wordpress.org/support/users/tdgu/)
 * Sorry for the late reply!
    This issue was fixed in 0.12.0 Release. Also, there
   is a new 0.13.0 release with more fixes. Thank you for your patience!

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

The topic ‘‘postprocessor’ option usage’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 7 replies
 * 1 participant
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/postprocessor-options-usage/#post-12407065)
 * Status: resolved