|
|
ID, CourseModel::COURSE_CATEGORY );
if ( count( $terms ) ) {
echo esc_html( implode( ', ', array_column( $terms, 'name' ) ) . ' ' );
} else {
echo '...';
}
?>
|
get_tutor_avatar( $author_details, 'sm' ),
tutor_utils()->allowed_avatar_tags()
)
?>
|
get_course_price( $post->ID );
if ( null == $price ) {
esc_html_e( 'Free', 'tutor' );
} else {
echo $price; //phpcs:ignore
}
// Alert class for course status.
//phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
$status = ( 'publish' === $post->post_status ? 'select-success' : ( 'pending' === $post->post_status ? 'select-warning' : ( 'trash' === $post->post_status ? 'select-danger' : ( 'private' === $post->post_status ? 'select-default' : 'select-default' ) ) ) );
?>
|
post_date, get_option( 'date_format' ) ) ); ?>
post_date, get_option( 'time_format' ) ) ); ?>
|
ID ); ?>
ID ); ?>
ID ); ?>
|