Last active
December 16, 2015 03:19
-
-
Save itsananderson/5369180 to your computer and use it in GitHub Desktop.
Change 'gravity-forms' to whatever is shown in the URL for the Gravity Forms page. Example "options-general.php?page=gravity-forms"
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 | |
function hook_my_css() { | |
$screen = get_current_screen(); | |
if ('gravity-forms' == $screen->id ) { | |
wp_enqueue_style( 'my-css', plugins_url( '/my.css', __FILE__ ) ); | |
} | |
} | |
add_action( 'admin_print_scripts', 'hook_my_css' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment