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.


Parameters Parameters

$column

(string) (Required) Type of column being worked on

$post_id

(int) (Required) ID of comment


Top ↑

Return Return

(void)


Top ↑

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;
		}
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.