LLMS_Admin_Reviews::generate_column_data( string $column, int $post_id )
This function entered the information into the course section of the llms_review post page. It takes the column that is being worked on, as well as the comment ID, then echoes the content required.
Contents
Parameters Parameters
- $column
-
(string) (Required) Type of column being worked on
- $post_id
-
(int) (Required) ID of comment
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.reviews.php
public function generate_column_data( $column, $post_id ) { switch ( $column ) { case 'course': echo ( wp_get_post_parent_id( $post_id ) != 0 ) ? get_the_title( wp_get_post_parent_id( $post_id ) ) : ''; break; } }
Expand full source code Collapse full source code View on GitHub