Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Make custom_menu_order filter run later than WooCommerce #151
See the issue for a description of the bug.
The bug was happening because WooCommerce was setting the
This workaround causes our filter function to be run later than WooCommerce's function, meaning that
I've also submitted a patch to WooCommerce which should cause this not to happen for other plugins.
WooCommerce was setting the filter to return false for users who could not manage WooCommerce. This was causing the custom menu ordering for Sensei Certificates to stop working for non-admin users (i.e. Teachers).