Created
March 9, 2018 16:45
-
-
Save woogists/69cb6aa8eb2bf8610ebb3bd4592b3f23 to your computer and use it in GitHub Desktop.
[WooCommerce Brands] order the brands on the front end as it is showcased on the Admin Panel
This file contains 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
add_filter( 'woocommerce_sortable_taxonomies','wt_sort_brands' ); | |
function wt_sort_brands( $sortable ) { | |
$sortable[] = 'product_brand'; | |
return $sortable; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
{{SHA-box}}
{{Infobox encryption method
| name = SHA-1
| image =
| caption =
| designers = [[National Security
Agency]]
| publish date = 1993 (SHA-0),<br /
| digest size = 160 bits
| block size = 512 bits
| structure = [[Merkle–Damgård
construction]]
| rounds = 80
| cryptanalysis = A 2018 attack by geomach