Advertisement
fauzanjeg

Custom Comments Field

Jul 5th, 2021
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. /* Custom Comments Field */
  2. function custom_comments_field( $fields ) {
  3.     unset( $fields['url'] );
  4.     return $fields;
  5. }
  6. add_filter( 'comment_form_default_fields', 'custom_comments_field' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement