Conflict with Ultimate Member and User Role Editor
-
I’m currently using Ultimate Member for frontend login/registration. I’m trying to allow users to delete their own posts on frontend with following code:
<?php if ($post->post_author == $current_user->ID) { ?> <div class="col-sm-12 box-delete" style="margin-top: 20px;"> <a class="option" onclick="return confirm('Are you sure you want to delete <?php the_title();?>')" href="<?php echo get_delete_post_link( $post->ID ) ?>"> <i class="fa fa-trash"></i> <span class="option-text">Delete</span> </a> </div> <?php } ?>
I’ve installed User Role Editor plugin so that I can allow user to
delete_published_posts
, however only works when I deactivate the Ultimate Member plugin. Any idea what issue is and how to resolve?
- The topic ‘Conflict with Ultimate Member and User Role Editor’ is closed to new replies.