Hi Folks,
I am working with the Sensei plugin and I can't for the life of me figure out where the hook is for the progress meter displayed within the course loop.
The following do_action code displays and outputs the progress bar inside of the content-course.php template.
<?php /** * Fires just after the course content in the content-course.php file. * * @since 1.9 * * @param integer $course_id * * @hooked Sensei()->course->the_course_free_lesson_preview - 20 */ do_action('sensei_course_content_inside_after', get_the_ID() ); ?>
I have tried inside of my functions file
remove_action('sensei_course_content_inside_after', get_the_ID() );
Doesn't work.
I have tried referencing the docs and this is all I have found.
https://github.com/Automattic/sensei/search?utf8=%E2%9C%93&q=sensei_course_content_inside_after
Thanks
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 244 تاريخ : يکشنبه 20 تير 1395 ساعت: 19:51