I added a button "New Post" in the blog category to add posts to this category. (http://onlytest.ru/1-categories-blog)
But I set a condition that it appeared only for those who can create command blogs.

<?php if ($this->acl->get('create_team_blog')) { ?>
<a href="/blog/composer?category=&lt;?php_echo_$category-=&gt;id;_?=&gt;=" class="btn btn-primary">
<?php echo JText::_('COM_EASYBLOG_NEW_POST'); ?></a>
<?php } ?>

How to write a condition that whether there was a check the user has the right to create posts in this category of the blog.

This section can only be seen by users with a valid subscription.
If you have a valid subscription, please login now

Support is

It is currently off working hours and most of us aren't around.

Rest assured that we will get back to your issues as soon as the day starts tomorrow!

Your time
Stack Ideas time