Created
November 21, 2023 18:05
-
-
Save zackkatz/02ead734fd514317fb751c3a1d215d37 to your computer and use it in GitHub Desktop.
GravityEdit - Filter the jQuery UI theme
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 | |
/** | |
* @filter `gravityview-inline-edit/jquery-ui-theme` Modify the jQuery UI theme to use, if jQuery UI editor style is active | |
* | |
* @since 1.0 | |
* | |
* @param string $jquery_ui_theme Name of jQuery UI theme to use. Default: "base" | |
* | |
* @see http://jqueryui.com/themeroller/#themeGallery for examples | |
*/ | |
add_filter( 'gravityview-inline-edit/jquery-ui-theme', function( $old_theme = 'base' ) { | |
return 'dark-hive'; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment