Skip to content

Instantly share code, notes, and snippets.

@New0
Created February 5, 2018 12:39
Show Gist options
  • Save New0/0e959f85b5185c9490df77b0327c54fd to your computer and use it in GitHub Desktop.
Save New0/0e959f85b5185c9490df77b0327c54fd to your computer and use it in GitHub Desktop.
Hide Caldera Forms Submit button text
/*
* Hide Submit button text
* Zip this in custom plugin or theme's functions.php file
*/
add_action( 'wp_footer', function() {
echo '<script>
var btn = jQuery(".caldera-grid .btn");
if (btn.length > 0) {
jQuery(btn).val("");
}
</script>';
}, 10 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment