WordPress.org

Ready to get started?Download WordPress

Forums

How To disable Comment Replay link (2 posts)

  1. sreerajr
    Member
    Posted 1 year ago #

    I want To disable comment_reply_link from wp_list_comments After User submit a comment then enable it. I am using The following code but its Not Working Please help me...

    <?php global $current_user,$post;
    $args = array('user_id' => $current_user->ID,'post_id' => $post->ID);
    $usercomment = get_comments($args);
    if(count($usercomment) >= 1){ ?>
                 	<?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) );
    } ?>
  2. sreerajr
    Member
    Posted 1 year ago #

    please Help Me

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags