Question related to Limit Posts Per User

[ad_1]

Hi I’m using Limit Posts Per User on gd_place = 6 & Limit Posts Per User on gd_event = 6

I have also added the following code which changes the message displayed on the front end when the user is unable to add more posts:

/* Change alert message when user tries to add a more than 6 shops */
add_filter('geodir_user_posts_limit_message','_my_custom_limit_message',10,5);
function _my_custom_limit_message($message, $posts_limit, $posts_count, $posts_limits, $params ){
    $message = "You have reached the limit of posts you can add at this time. If you want to add a new post please contact our Customer Support Team!";
    return $message;
}

Question 1: Does the limit applies to admin user also, or the remaining users (I’m also using Custom Roles) ?

Question 2: Does the Limit counter still continues when a post is transferred to a user? (For example. Let’s say user A has 4 posts, and user B has transfer 2 post to user A. Will the user A has 4 or 6 posts)?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer