How to get the suscribers count?

Solved4.19K viewsCore
1

Hi!!

I’m making changes in my home page. I can get the comments number writing the following:

<?php comments_popup_link('<i class="fa fa-comments"></i>'); ap_question_the_answer_count(); ?>

But I can’t get the suscribers count!! I tried:

ap_question_get_the_subscriber_count();
ap_question_the_subscriber_count();

But not luck. Any way to do it?

Thanks.

Subscriber for what question, tags or category ?

I need the Suscribers of the questions, like this one, I can see an icon wit an envelope:

Suscribers: 2 suscribers.

Can I a get that number?

1

Try this:

$question_id = ap_question_get_the_ID() // if in loop, else question_id()
ap_subscribers_count($question_id);

Thanks a lot!!!

You are my Hero!!!

Works perfectly.