Created
January 8, 2020 13:36
-
-
Save premanshup/bf29e918546ef93fa63910fa2359baab to your computer and use it in GitHub Desktop.
Remove website URL from Astra Theme comment 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( 'astra_comment_form_default_fields_markup', 'astra_remove_website_url_comment' ); | |
function astra_remove_website_url_comment( $fields ) { | |
if ( isset( $fields['url'] ) ) { | |
unset( $fields['url'] ); | |
return $fields; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment