daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 433 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3.  
  4. /**
  5.  * Add Default Previuos / Next lesson pagination to the lesson template of Lifter LMS
  6.  */
  7. add_action( 'wp', 'add_lifter_lesson_navigation' );
  8. function add_lifter_lesson_navigation(){
  9.     if ( class_exists( 'LifterLMS' ) ) {
  10.         if ( is_lesson() ) {
  11.             add_action( 'lifterlms_single_lesson_after_summary', 'lifterlms_template_lesson_navigation', 20 );
  12.         }
  13.     }
  14. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top