Hi,
I've a requirement to customize the blog approve process in EasyBlog.
Currently moderators can see list of pending posts and open the blog in composer and when clicked on "approve and publish", the blog is being published. I need to add some custom code there.
Can you please point me where exactly the functions "approve()" and "publish()" get called after clicking the button in composer.
From Composer/actions.php, I could not figure out which function will be called.
<a class="btn btn-success eb-composer-primary-button eb-composer-approve-post-button" data-eb-composer-approve-post-button>
<i class="fa eb-loader-o size-sm color-white eb-composer-loader hide"></i>
<i class="fa fa-send"></i> <?php echo JText::_('COM_EASYBLOG_APPROVE_AND_PUBLISH_POST'); ?>
</a>
Thanks for your help.
Prakash.