Created
May 27, 2019 00:31
-
-
Save bitwombat/46848f42667548c31702c07c10347792 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Woo 3.3 removed the ability to crop the shop_single image in the settings. | |
* So we set its size here. | |
* | |
* If we don't put this as a high priority in the init hook, the calls in | |
* Woo happen before these filters are defined, removing ability to affect it. | |
* | |
* Init separately here to avoid unintended consequences of doing all hook setting at | |
a high priority. | |
*/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment