Hook into custom learning path page

Home Forums Legacy Support Support queries Other issues Hook into custom learning path page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #177606
    dantwah
    Spectator
    Hi! I would like to know if there are any hooks on the custom learning path page (single) i would like to add some stuff and scripts. Preferably a hook that loads before the page content (only on the learning path page) kind regards
    #177810
    Anshuman Sahu
    Keymaster
    its simple , simply follow this code :     add_action('wp_head',function (){ if(is_singular('learningpath')){ //enqueu your scripts here } });
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Hook into custom learning path page’ is closed to new replies.