public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/classes/unitfrontend.php
/**
		 * Message to return if a user is not allowed to access course.
		 *
		 * @return String The message to return if the user is not allowed to access course.
		 */
Message to return if a user is not allowed to access course.
@return String The message to return if the user is not allowed to access course.
Message to return if a user is not allowed to access course . @return String The message to return if the user is not allowed to access course .
public function message_user_cannotAccessCourse() {
			$newContent = self::message_createMessage_error( sprintf( __( '%s', 'wp-couresware' ), $this->parentData->course_message_unit_no_access ) );
			return apply_filters( 'wpcw_front_unit_content_noaccess', $newContent, $this->parentData, $this->unitPost );
		}
public function message_user_cannotAccessCourse ( ) { $ newContent = self :: message_createMessage_error ( sprintf ( __ ( '%s' , 'wp-couresware' ) , $ this -> parentData -> course_message_unit_no_access ) ) ; return apply_filters ( 'wpcw_front_unit_content_noaccess' , $ newContent , $ this -> parentData , $ this -> unitPost ) ; }
Message to return if a user is not allowed to access course.
Message to return if a user is not allowed to access course .
// Return no access error without content // Modify the content if needed.