arie_cristianD

fix duplicate gdpr on comment

Nov 1st, 2026
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.16 KB | None | 0 0
  1. add_action(
  2.     'init',
  3.     function () {
  4.         if ( is_user_logged_in() ) {
  5.             remove_filter( 'comment_form_default_fields', 'jnews_coment_custom_fields' );
  6.         }
  7.     }
  8. );
  9.  
Advertisement
Add Comment
Please, Sign In to add comment