HI!
Today I’m developing a plug-in that should change the value of RT_WP_nginx_helper_cache_path. However, I am noticing that even if I give maximum priority to the definition of this constant, the one set on the Nginx_helper class is always the one that set the value.
This would be due to the fact that the plug-in I am developing has the name that starts for S, while nginx-helper starts with N, so it is loaded before and I cannot configure the wanted value unless I set it up in the wp-config.php.
At this point I would like to ask if it was possible to add a filter:
HI! Today I’m developing a plug-in that should change the value of RT_WP_nginx_helper_cache_path. However, I am noticing that even if I give maximum priority to the definition of this constant, the one set on the Nginx_helper class is always the one that set the value.
This would be due to the fact that the plug-in I am developing has the name that starts for S, while nginx-helper starts with N, so it is loaded before and I cannot configure the wanted value unless I set it up in the wp-config.php.
At this point I would like to ask if it was possible to add a filter:
class-nginx-helper.php line 87
In this way it would be much easier to set a custom value of RT_WP_NGINX_HELPER_CACHE_PATH.
Thank you!