Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Genesis Comments Form
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

This comment has been minimized.

Copy link

commented Mar 21, 2012

function child_comment_form($args) {
    $args['label_submit'] => 'submit';
    return $args;
}
@gregrickaby

This comment has been minimized.

Copy link
Owner Author

commented Mar 22, 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
You can’t perform that action at this time.