SFWD_CPT_Instance

Extends functionality of SWFD_CPT instance


Description Description


Source Source

File: includes/class-ld-cpt-instance.php


			


Top ↑

Methods Methods

  • __construct — Sets up properties for CPT to be used in plugins
  • content_filter_control — Function to dynamically control the 'the_content' filtering for this post_type instance.
  • get_archive_content — Get Archive content
  • pre_posts — Amend $wp_query based on what content user is viewing
  • template_content — Generate output for courses, lessons, topics, quizzes Filter callback for 'the_content' (wp core filter)
  • template_redirect_access — Show course completion/quiz completion Action callback from 'template_redirect' (wp core action)

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.