Skip to content
LearnDash

Developers

  • Filter By:

LDLMS_Factory_Post::course

LDLMS_Factory_Post::course( integer $course = null,  boolean $bypass = false )

Get a Course.

Contents

  • Description
    • Parameters
    • Return
    • Source

Description #


Parameters #

$course

(integer) (Optional) Either course_id integer or WP_Post instance.

Default value: null

$bypass

(boolean) (Optional) To force reload of instance.

Default value: false


Return #

(new) instance of LDLMS_Model_Course


Source #

File: includes/classes/class-ldlms-factory-post.php

Post navigation

← Previous Method
Next Method →

The Most Trusted Online Course Platform for WordPress.

Get Started Demo

  • Features
  • Dynamic Learning
  • Marketing and Sales
  • Integrations
  • Course Management
  • Resources
  • Blog
  • Webinars
  • Videos
  • Case Studies
  • Add-ons
  • Online Demo
  • Company
  • About LearnDash
  • Brand Assets
  • Careers
  • Affiliates
  • Privacy Policy
  • Terms and Conditions
LearnDash LearnDash® Copyright© 2012-2021. All rights reserved.
  • Twitter
  • Facebook
  • LinkedIn
  • YouTube