Created
October 30, 2019 19:32
-
-
Save afragen/6308b23ea75033731eb5b0a86d666fb0 to your computer and use it in GitHub Desktop.
Set the Category Colors options hash to pre-defined hash
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
<?php | |
/** | |
* Plugin Name: Set Category Colors Options Hash | |
* Author: Andy Fragen | |
* Author URI: https://github.com/afragen | |
* Version: 0.1 | |
* Requires PHP: 5.3 | |
*/ | |
add_filter( 'teccc_set_options_hash', function(){ | |
return 'wpml_category_colors_css'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment