Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter(
- 'comment_form_default_fields',
- function ( $fields ) {
- if ( isset( $fields['cookies'] ) && isset( $fields['url'] ) ) {
- unset( $fields['url'] );
- $fields['cookies'] = str_replace(
- 'Save my name, email, and website in this browser for the next time I comment.',
- 'Save my name and email in this browser for the next time I comment.',
- $fields['cookies']
- );
- }
- return $fields;
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment