public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/functions.php
/**
 * Given the ID of a tag, fetch the full details.
 *
 * @since 1.0.0
 *
 * @param integer $tagID The ID of the tag to get.
 *
 * @return object The details of the tag to return.
 */
Given the ID of a tag, fetch the full details.

@param integer $tagID The ID of the tag to get.

@return object The details of the tag to return.
Given the ID of a tag fetch the full details . @param integer $tagID The ID of the tag to get . @return object The details of the tag to return .
function WPCW_questions_tags_getTagDetails( $tagID ) {
	global $wpdb, $wpcwdb;
	$wpdb->show_errors();
	return $wpdb->get_row( $wpdb->prepare( "
		SELECT *
		FROM $wpcwdb->question_tags
		WHERE question_tag_id = %d
	", $tagID ) );
}
function WPCW_questions_tags_getTagDetails ( $ tagID ) { global $ wpdb , $ wpcwdb ; $ wpdb -> show_errors ( ) ; return $ wpdb -> get_row ( $ wpdb -> prepare ( " 
		SELECT *
		FROM  $ wpcwdb -> question_tags 
		WHERE question_tag_id = %d
	 " , $ tagID ) ) ; }
Given the ID of a tag, fetch the full details.
Given the ID of a tag fetch the full details .