Created
April 12, 2016 11:41
-
-
Save mgibbs189/eeab2e4823cf0f2a41001f6ebb5da269 to your computer and use it in GitHub Desktop.
FacetWP - wp js hooks
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
(function($) { | |
$(function() { | |
wp.hooks.addFilter('facetwp/set_options/date_range', function(args) { | |
// do something | |
args.format = 'yyyy-mm-dd'; | |
return args; | |
}); | |
}); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment