Created
January 29, 2015 01:02
-
-
Save zackkatz/a5f39924d82f976a6c7c to your computer and use it in GitHub Desktop.
Enable custom class for GravityView widgets. Requires GravityView 1.5.4 or higher.
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
<?php | |
/** | |
* Enable custom class for GravityView widgets. Requires GravityView 1.5.4 or higher. | |
* | |
* @param boolean False by default. Return true if you want to enable. | |
* @param GravityView_Widget Current instance of GravityView_Widget | |
*/ | |
add_filter('gravityview/widget/enable_custom_class', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please tell me where to add this code