Created
March 21, 2012 19:19
-
-
Save gregrickaby/2151610 to your computer and use it in GitHub Desktop.
Genesis Comments Form
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
add_filter( 'genesis_comment_form_args', 'child_comment_form' ); | |
/** | |
* Change "Post Comment" button text. | |
* | |
* @author Greg Rickaby | |
* @since 1.0.0 | |
*/ | |
function child_comment_form($args) { | |
$args = array ( | |
'label_submit' => __( 'Submit', 'genesis' ), | |
); | |
return $args; | |
} |
jaredatch
commented
Mar 21, 2012
This worked. Thank you.
add_filter( 'genesis_comment_form_args', 'child_comment_form' ); /** * Change "Leave Comment" text. * * @author Greg Rickaby * @since 1.0.0 */ function child_comment_form($args) { $args['label_submit'] = 'Submit'; return $args; }
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment