LLMS_Admin_Post_Table_Instructors::__construct()
Constructor
Contents
Return Return
(void)
Source Source
File: includes/admin/post-types/post-tables/class.llms.admin.post.table.instructors.php
public function __construct() {
foreach ( $this->post_types as $post_type ) {
add_filter( 'manage_' . $post_type . '_posts_columns', array( $this, 'add_columns' ), 10, 1 );
add_action( 'manage_' . $post_type . '_posts_custom_column', array( $this, 'manage_columns' ), 10, 2 );
add_filter( 'views_edit-' . $post_type, array( $this, 'get_views' ), 777, 1 );
}
add_action( 'pre_get_posts', array( $this, 'pre_get_posts' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |