LLMS_Blocks_Post_Instructors::__construct()
Constructor.
Contents
Return Return
(void)
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-post-instructors.php
public function __construct() {
add_action( 'init', array( $this, 'register_meta' ) );
add_action( 'save_post_course', array( $this, 'maybe_set_default_instructor' ), 50, 3 );
add_action( 'save_post_llms_membership', array( $this, 'maybe_set_default_instructor' ), 50, 3 );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |