Created
August 13, 2016 22:40
-
-
Save mgratch/5406e2681f4d82e071278d5301b5a065 to your computer and use it in GitHub Desktop.
use this to hide action hooks for https://docs.woocommerce.com/wc-apidocs/hook-docs.html
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
$.each($("table").find("td:nth-child(2)"),function(index,value){ | |
if("action" === $(value).text()){ | |
$(value).parents("tr").fadeOut(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment