LLMS_Student::get_events( array $args = array() )
Retrieve postmeta events related to the student
Parameters Parameters
- $args
-
(array) (Optional) default args, see LLMS_Query_User_Postmeta
Default value: array()
Return Return
(array)
Source Source
File: includes/models/model.llms.student.php
public function get_events( $args = array() ) { $query = new LLMS_Query_User_Postmeta( wp_parse_args( $args, array( 'types' => 'all', 'per_page' => 10, 'user_id' => $this->get_id(), ) ) ); return $query->get_metas(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.15.0 | Introduced. |