Created
September 19, 2016 15:27
-
-
Save isaumya/3380ac23de1c0b91ed697e0ecaac049b to your computer and use it in GitHub Desktop.
Changing the default loading icon for editing comments for general users in Simple Comment Editing WordPress Plugin
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 | |
/** | |
* Changing the default loading icon for editing comments for general users | |
* @plugin_name: Simple Comment Editing | |
* @plugin_uri: https://wordpress.org/plugins/simple-comment-editing/ | |
*/ | |
add_filter( 'sce_loading_img', function( $default_url ) { | |
return get_stylesheet_directory_uri() . '/assets/images/spinner.gif'; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment